Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.029/5.029, allocations: 0.5623 GB / 0.5769 GB, free: 3.305 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002342/0.002342, allocations: 355.5 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.923/3.923, allocations: 410.7 MB / 1.112 GB, free: 5.992 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001799/0.001799, allocations: 185.8 kB / 1.225 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0008404/0.0008407, allocations: 16 kB / 1.348 GB, free: 8.301 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5895/0.5904, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow): time 0.01224/0.6026, allocations: 11.67 MB / 1.472 GB, free: 272.6 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.1511/0.7537, allocations: 144.7 MB / 1.613 GB, free: 128 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003061/0.7568, allocations: 55.69 kB / 1.613 GB, free: 128 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.006108/0.763, allocations: 1.913 MB / 1.615 GB, free: 126 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.005613/0.7686, allocations: 1.45 MB / 1.617 GB, free: 124.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.006281/0.7749, allocations: 1.706 MB / 1.618 GB, free: 122.9 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.006636/0.7816, allocations: 6.092 MB / 1.624 GB, free: 116.8 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002409/0.7841, allocations: 1.382 MB / 1.626 GB, free: 115.4 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002846/0.7869, allocations: 1.692 MB / 1.627 GB, free: 113.7 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002715/0.7897, allocations: 1.727 MB / 1.629 GB, free: 112 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0007062/0.7904, allocations: 116 kB / 1.629 GB, free: 111.9 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004833/0.7953, allocations: 2.227 MB / 1.631 GB, free: 109.6 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.003993/0.7993, allocations: 4.444 MB / 1.636 GB, free: 105.2 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.001342/0.8007, allocations: 0.7689 MB / 1.636 GB, free: 104.4 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.007562/0.8083, allocations: 6.056 MB / 1.642 GB, free: 98.34 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.785e-06/0.8083, allocations: 0 / 1.642 GB, free: 98.34 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.516e-06/0.8084, allocations: 0 / 1.642 GB, free: 98.34 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001154/0.8085, allocations: 0 / 1.642 GB, free: 98.34 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 569 * Number of variables: 569 Notification: Performance of Generate backend data structure: time 0.009093/0.8176, allocations: 4.594 MB / 1.647 GB, free: 93.66 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.8176, allocations: 15.62 kB / 1.647 GB, free: 93.65 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01672/0.8344, allocations: 2.538 MB / 1.649 GB, free: 91.11 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02842/0.8628, allocations: 14.57 MB / 1.664 GB, free: 76.47 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002182/0.8631, allocations: 216.2 kB / 1.664 GB, free: 76.26 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007671/0.8639, allocations: 288 kB / 1.664 GB, free: 75.98 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008739/0.8726, allocations: 3.469 MB / 1.667 GB, free: 72.38 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.337e-05/0.8727, allocations: 11.88 kB / 1.667 GB, free: 72.36 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003124/0.8731, allocations: 88 kB / 1.667 GB, free: 72.28 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.98e-05/0.8731, allocations: 52 kB / 1.668 GB, free: 72.23 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008575/0.8817, allocations: 3.326 MB / 1.671 GB, free: 68.88 MB / 0.8542 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03055/0.9123, allocations: 21.65 MB / 1.692 GB, free: 46.52 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00757/0.9199, allocations: 2.767 MB / 1.695 GB, free: 43.75 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004882/0.9248, allocations: 1.773 MB / 1.696 GB, free: 41.97 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000461/0.9253, allocations: 441.6 kB / 1.697 GB, free: 41.47 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005288/0.9307, allocations: 1.98 MB / 1.699 GB, free: 39.46 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=173): time 6.074e-06/0.9307, allocations: 0 / 1.699 GB, free: 39.46 MB / 0.8542 GB Notification: Performance of matching and sorting (n=173): time 0.02569/0.9564, allocations: 7.289 MB / 1.706 GB, free: 32.09 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002375/0.9567, allocations: 418.3 kB / 1.706 GB, free: 31.62 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03956/0.9963, allocations: 21.46 MB / 1.727 GB, free: 10.14 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0006372/0.9969, allocations: 89.7 kB / 1.727 GB, free: 10.04 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001776/0.9987, allocations: 1.623 MB / 1.729 GB, free: 8.406 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007342/0.9995, allocations: 0.5776 MB / 1.729 GB, free: 7.82 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004253/0.9999, allocations: 72 kB / 1.729 GB, free: 7.75 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002529/1, allocations: 481.8 kB / 1.73 GB, free: 7.273 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.5747/1.575, allocations: 13.39 MB / 1.743 GB, free: 263.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02149/1.596, allocations: 14.53 MB / 1.757 GB, free: 258.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01639/1.613, allocations: 13.8 MB / 1.771 GB, free: 245.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.74e-05/1.613, allocations: 12 kB / 1.771 GB, free: 245.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=477) (initialization): time 0.03957/1.653, allocations: 29.49 MB / 1.8 GB, free: 216.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007581/1.653, allocations: 1.254 MB / 1.801 GB, free: 215.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01822/1.672, allocations: 6.346 MB / 1.807 GB, free: 208.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05131/1.723, allocations: 5.468 MB / 1.812 GB, free: 203.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005677/1.729, allocations: 0.9359 MB / 1.813 GB, free: 202.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008645/1.737, allocations: 6.374 MB / 1.819 GB, free: 195.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005676/1.743, allocations: 0.6187 MB / 1.82 GB, free: 195.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008166/1.744, allocations: 211.7 kB / 1.82 GB, free: 195.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/1.744, allocations: 4 kB / 1.82 GB, free: 195.3 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03654/1.781, allocations: 29.2 MB / 1.849 GB, free: 166 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0174/1.798, allocations: 6.188 MB / 1.855 GB, free: 159.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002121/1.8, allocations: 0.5458 MB / 1.855 GB, free: 159.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006162/1.806, allocations: 0.9906 MB / 1.856 GB, free: 158.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009434/1.816, allocations: 8.333 MB / 1.864 GB, free: 149.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005411/1.821, allocations: 0.5215 MB / 1.865 GB, free: 148.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000856/1.822, allocations: 211.5 kB / 1.865 GB, free: 148.7 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 150 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (413): * Single equations (assignments): 408 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 2 {6 22,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.003998/1.826, allocations: 2.826 MB / 1.868 GB, free: 145.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007819/1.827, allocations: 351.3 kB / 1.868 GB, free: 145.5 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01686/1.844, allocations: 5.608 MB / 1.874 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.37e-05/1.844, allocations: 16 kB / 1.874 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-05/1.844, allocations: 7.953 kB / 1.874 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.543e-05/1.844, allocations: 12.89 kB / 1.874 GB, free: 139.8 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02166/1.866, allocations: 9.167 MB / 1.883 GB, free: 130.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.03794/1.904, allocations: 6.135 MB / 1.889 GB, free: 124.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002437/1.906, allocations: 339.4 kB / 1.889 GB, free: 124.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06319/1.969, allocations: 7.819 MB / 1.897 GB, free: 116.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003946/1.97, allocations: 59.95 kB / 1.897 GB, free: 116.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008271/1.978, allocations: 6.354 MB / 1.903 GB, free: 109.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.946e-06/1.978, allocations: 4.234 kB / 1.903 GB, free: 109.4 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01318/1.991, allocations: 4.937 MB / 1.908 GB, free: 104.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002118/1.993, allocations: 0.8861 MB / 1.909 GB, free: 103.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005762/1.994, allocations: 43.94 kB / 1.909 GB, free: 103.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003137/1.997, allocations: 243.8 kB / 1.909 GB, free: 103.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003259/1.998, allocations: 113.2 kB / 1.909 GB, free: 103.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002778/1.998, allocations: 87.94 kB / 1.909 GB, free: 103.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.01237/2.01, allocations: 13.39 MB / 1.922 GB, free: 89.68 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.043e-06/2.01, allocations: 4 kB / 1.922 GB, free: 89.67 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.007489/2.018, allocations: 2.375 MB / 1.924 GB, free: 87.39 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (125): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 2 {6 26,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003248/2.021, allocations: 1.017 MB / 1.925 GB, free: 86.73 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.05278/2.074, allocations: 34.33 MB / 1.959 GB, free: 52.33 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.771e-05/2.074, allocations: 0 / 1.959 GB, free: 52.33 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.01607/2.09, allocations: 3.504 MB / 1.962 GB, free: 48.78 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008195/2.098, allocations: 0.6352 MB / 1.963 GB, free: 48.16 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0701/2.168, allocations: 23.96 MB / 1.986 GB, free: 24.18 MB / 0.8542 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:754:5-754:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed]