Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow") translateModel(Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.34/2.34, allocations: 391.2 MB / 407 MB, free: 10.84 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 191.4 kB / 499.1 MB, free: 4.637 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.553/1.553, allocations: 222.9 MB / 0.7948 GB, free: 15.79 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 107.7 kB / 0.9329 GB, free: 7.043 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001036/0.001036, allocations: 50.55 kB / 1.081 GB, free: 218.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2705/0.2715, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow): time 0.01204/0.2836, allocations: 13.04 MB / 1.231 GB, free: 104.1 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.1667/0.4504, allocations: 161.1 MB / 1.388 GB, free: 6.414 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00408/0.4546, allocations: 55.69 kB / 1.388 GB, free: 6.359 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.007605/0.4623, allocations: 2.187 MB / 1.39 GB, free: 4.164 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.005271/0.4675, allocations: 1.341 MB / 1.392 GB, free: 2.82 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.006728/0.4743, allocations: 1.868 MB / 1.393 GB, free: 0.9609 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.009334/0.4837, allocations: 6.876 MB / 1.4 GB, free: 10.07 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003951/0.4877, allocations: 1.851 MB / 1.402 GB, free: 8.148 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004934/0.4927, allocations: 1.938 MB / 1.404 GB, free: 6.203 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004217/0.4969, allocations: 2.027 MB / 1.406 GB, free: 4.168 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.001305/0.4982, allocations: 204 kB / 1.406 GB, free: 3.969 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005787/0.5041, allocations: 2.575 MB / 1.409 GB, free: 1.391 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.004573/0.5087, allocations: 4.443 MB / 1.413 GB, free: 12.94 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.00407/0.5128, allocations: 2.07 MB / 1.415 GB, free: 10.86 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.01256/0.5253, allocations: 7.743 MB / 1.422 GB, free: 3.094 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.5254, allocations: 0 / 1.422 GB, free: 3.094 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.363e-06/0.5254, allocations: 4 kB / 1.422 GB, free: 3.09 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0002736/0.5257, allocations: 0 / 1.422 GB, free: 3.09 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 577 * Number of variables: 577 Notification: Performance of Generate backend data structure: time 0.5953/1.121, allocations: 5.436 MB / 1.428 GB, free: 199.3 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.651e-05/1.121, allocations: 14.22 kB / 1.428 GB, free: 199.3 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01758/1.139, allocations: 2.744 MB / 1.43 GB, free: 199 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03369/1.172, allocations: 15.04 MB / 1.445 GB, free: 194.5 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003149/1.173, allocations: 217 kB / 1.445 GB, free: 194.4 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001306/1.174, allocations: 295.1 kB / 1.446 GB, free: 194.3 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01151/1.186, allocations: 3.781 MB / 1.449 GB, free: 192.9 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.45e-05/1.186, allocations: 0 / 1.449 GB, free: 192.9 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000274/1.186, allocations: 91.47 kB / 1.449 GB, free: 192.8 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.899e-05/1.186, allocations: 54.56 kB / 1.45 GB, free: 192.8 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007947/1.194, allocations: 3.619 MB / 1.453 GB, free: 190.8 MB / 0.9167 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.0299/1.224, allocations: 21.58 MB / 1.474 GB, free: 168.7 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006563/1.231, allocations: 3.166 MB / 1.477 GB, free: 165.5 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003685/1.234, allocations: 2.174 MB / 1.479 GB, free: 163.3 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004498/1.235, allocations: 425.3 kB / 1.48 GB, free: 162.8 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004075/1.239, allocations: 2.261 MB / 1.482 GB, free: 160.5 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=173): time 4.268e-06/1.239, allocations: 3.938 kB / 1.482 GB, free: 160.5 MB / 0.9167 GB Notification: Performance of matching and sorting (n=173): time 0.02004/1.259, allocations: 8.105 MB / 1.49 GB, free: 152.4 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001754/1.259, allocations: 418.3 kB / 1.49 GB, free: 151.9 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02773/1.287, allocations: 21.49 MB / 1.511 GB, free: 130.4 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.001053/1.288, allocations: 93.7 kB / 1.511 GB, free: 130.3 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001995/1.29, allocations: 1.613 MB / 1.513 GB, free: 128.7 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009383/1.291, allocations: 0.5918 MB / 1.513 GB, free: 128.1 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003417/1.294, allocations: 5.078 MB / 1.518 GB, free: 123 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 4.876e-05/1.294, allocations: 301.1 kB / 1.519 GB, free: 122.7 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02806/1.323, allocations: 40.06 MB / 1.558 GB, free: 82.64 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03135/1.354, allocations: 41.57 MB / 1.598 GB, free: 40.73 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04334/1.397, allocations: 49.75 MB / 1.647 GB, free: 6.469 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.313e-05/1.398, allocations: 8 kB / 1.647 GB, free: 6.461 MB / 0.9323 GB Notification: Performance of matching and sorting (n=1902) (initialization): time 0.1054/1.503, allocations: 94.69 MB / 1.74 GB, free: 7.383 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002583/1.503, allocations: 201.6 kB / 1.74 GB, free: 7.18 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.08599/1.589, allocations: 67.39 MB / 1.806 GB, free: 3.488 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04539/1.635, allocations: 5.775 MB / 1.811 GB, free: 13.72 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004808/1.64, allocations: 0.8815 MB / 1.812 GB, free: 12.84 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007903/1.647, allocations: 6.378 MB / 1.818 GB, free: 6.027 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006098/1.654, allocations: 0.6576 MB / 1.819 GB, free: 5.371 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009868/1.655, allocations: 195.1 kB / 1.819 GB, free: 5.184 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.5938/2.248, allocations: 42.41 MB / 1.86 GB, free: 410.8 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.04253/2.291, allocations: 41.57 MB / 1.901 GB, free: 386.9 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03824/2.329, allocations: 49.73 MB / 1.95 GB, free: 339.4 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.559e-05/2.329, allocations: 9.328 kB / 1.95 GB, free: 339.4 MB / 1.135 GB Notification: Performance of matching and sorting (n=1902) (initialization_lambda0): time 0.07972/2.409, allocations: 94.07 MB / 2.042 GB, free: 246.2 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002347/2.409, allocations: 205.6 kB / 2.042 GB, free: 245.9 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.05725/2.467, allocations: 65.79 MB / 2.106 GB, free: 179.8 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00176/2.468, allocations: 0.5176 MB / 2.106 GB, free: 179.3 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005274/2.474, allocations: 0.9516 MB / 2.107 GB, free: 178.3 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007099/2.481, allocations: 8.327 MB / 2.116 GB, free: 169.5 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006424/2.487, allocations: 0.551 MB / 2.116 GB, free: 169 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001138/2.489, allocations: 200.3 kB / 2.116 GB, free: 168.8 MB / 1.135 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (413): * Single equations (assignments): 369 * Array equations: 39 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(6,22), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001462/2.49, allocations: 0.5584 MB / 2.117 GB, free: 168.3 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001144/2.491, allocations: 353.9 kB / 2.117 GB, free: 167.9 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01297/2.504, allocations: 6.195 MB / 2.123 GB, free: 161.7 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-05/2.504, allocations: 19.94 kB / 2.123 GB, free: 161.7 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/2.504, allocations: 4 kB / 2.123 GB, free: 161.7 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.005e-05/2.504, allocations: 8.578 kB / 2.123 GB, free: 161.7 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01813/2.522, allocations: 9.815 MB / 2.133 GB, free: 151.8 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.03273/2.555, allocations: 7.468 MB / 2.14 GB, free: 144.3 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002065/2.557, allocations: 355.5 kB / 2.14 GB, free: 144 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05262/2.61, allocations: 8.116 MB / 2.148 GB, free: 135.9 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005014/2.61, allocations: 63.95 kB / 2.148 GB, free: 135.8 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006414/2.617, allocations: 6.384 MB / 2.155 GB, free: 129 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/2.617, allocations: 0 / 2.155 GB, free: 129 MB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01725/2.634, allocations: 9.467 MB / 2.164 GB, free: 119.4 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001881/2.636, allocations: 0.8094 MB / 2.165 GB, free: 118.6 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006401/2.637, allocations: 36 kB / 2.165 GB, free: 118.6 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002681/2.639, allocations: 268.5 kB / 2.165 GB, free: 118.3 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002949/2.64, allocations: 121.3 kB / 2.165 GB, free: 118.2 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001969/2.64, allocations: 87.95 kB / 2.165 GB, free: 118.1 MB / 1.135 GB Notification: Performance of sorting global known variables: time 0.009229/2.649, allocations: 13.4 MB / 2.178 GB, free: 104.7 MB / 1.135 GB Notification: Performance of sort global known variables: time 4.11e-07/2.649, allocations: 0 / 2.178 GB, free: 104.7 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.01071/2.66, allocations: 3.367 MB / 2.182 GB, free: 101.4 MB / 1.135 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 (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(6,26), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002977/2.663, allocations: 1.079 MB / 2.183 GB, free: 100.7 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.6017/3.265, allocations: 104.6 MB / 2.285 GB, free: 408.9 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 1.335e-05/3.265, allocations: 6 kB / 2.285 GB, free: 408.9 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.0074/3.272, allocations: 3.771 MB / 2.288 GB, free: 407.5 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003845/3.276, allocations: 0.6415 MB / 2.289 GB, free: 407.3 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04213/3.318, allocations: 24.94 MB / 2.313 GB, free: 397.3 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009536/3.328, allocations: 5.206 MB / 2.319 GB, free: 395.6 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 0.006648/3.335, allocations: 2.171 MB / 2.321 GB, free: 394.6 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000873/3.335, allocations: 291.1 kB / 2.321 GB, free: 394.3 MB / 1.135 GB Notification: Performance of SimCode: time 9.62e-07/3.335, allocations: 0 / 2.321 GB, free: 394.3 MB / 1.135 GB Notification: Performance of Templates: time 0.2131/3.549, allocations: 99.57 MB / 2.418 GB, free: 296.3 MB / 1.135 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow.pipe 2>&1)