Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow") translateModel(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009729/0.000973, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009156/0.009156, allocations: 169.9 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.635/1.635, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.256/3.256, allocations: 473.4 MB / 0.7469 GB, free: 6.094 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003956/0.0003957, allocations: 12.72 kB / 0.9158 GB, free: 33.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4308/0.4313, allocations: 162.2 MB / 1.074 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow): time 0.002727/0.434, allocations: 1.704 MB / 1.076 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001423/0.4355, allocations: 0.6468 MB / 1.076 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001995/0.4357, allocations: 3.938 kB / 1.076 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 6.015e-05/0.4358, allocations: 11.86 kB / 1.076 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002341/0.436, allocations: 43.7 kB / 1.076 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005477/0.4366, allocations: 143.8 kB / 1.077 GB, free: 5 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004022/0.437, allocations: 263.2 kB / 1.077 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001886/0.4372, allocations: 60.27 kB / 1.077 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002212/0.4374, allocations: 95.61 kB / 1.077 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001805/0.4376, allocations: 95.58 kB / 1.077 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.367e-05/0.4377, allocations: 8 kB / 1.077 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.701e-05/0.4377, allocations: 12 kB / 1.077 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.886e-05/0.4378, allocations: 35.77 kB / 1.077 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001422/0.4379, allocations: 121.2 kB / 1.077 GB, free: 4.312 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002702/0.4382, allocations: 243.4 kB / 1.078 GB, free: 4.074 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.4382, allocations: 0 / 1.078 GB, free: 4.074 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.214e-06/0.4382, allocations: 4 kB / 1.078 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.553e-06/0.4382, allocations: 0 / 1.078 GB, free: 4.07 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001326/0.4396, allocations: 0.6191 MB / 1.078 GB, free: 3.391 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.4396, allocations: 12.03 kB / 1.078 GB, free: 3.379 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.035e-05/0.4397, allocations: 24.66 kB / 1.078 GB, free: 3.355 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004084/0.4401, allocations: 265.7 kB / 1.078 GB, free: 3.059 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.119e-05/0.4401, allocations: 12.38 kB / 1.078 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.386e-05/0.4402, allocations: 16.38 kB / 1.078 GB, free: 3.031 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007293/0.4409, allocations: 268.8 kB / 1.079 GB, free: 2.754 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.4409, allocations: 0 / 1.079 GB, free: 2.754 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.696e-05/0.441, allocations: 8 kB / 1.079 GB, free: 2.746 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/0.441, allocations: 4 kB / 1.079 GB, free: 2.742 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009638/0.4419, allocations: 268.5 kB / 1.079 GB, free: 2.48 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008292/0.4428, allocations: 0.5235 MB / 1.079 GB, free: 1.906 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001139/0.4439, allocations: 310.5 kB / 1.08 GB, free: 1.594 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004902/0.4444, allocations: 144.8 kB / 1.08 GB, free: 1.449 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.216e-05/0.4445, allocations: 3.984 kB / 1.08 GB, free: 1.445 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006877/0.4452, allocations: 219.1 kB / 1.08 GB, free: 1.219 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=15): time 1.964e-06/0.4452, allocations: 0 / 1.08 GB, free: 1.219 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15): time 0.001621/0.4468, allocations: 457 kB / 1.081 GB, free: 0.7656 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.688e-05/0.4469, allocations: 55.41 kB / 1.081 GB, free: 0.6992 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002194/0.4471, allocations: 218.8 kB / 1.081 GB, free: 484 kB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.161e-05/0.4471, allocations: 29.7 kB / 1.081 GB, free: 448 kB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.883e-05/0.4473, allocations: 132.2 kB / 1.081 GB, free: 308 kB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.675e-05/0.4473, allocations: 47.38 kB / 1.081 GB, free: 260 kB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.403e-05/0.4474, allocations: 29.64 kB / 1.081 GB, free: 224 kB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001734/0.4476, allocations: 326.8 kB / 1.081 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005046/0.4481, allocations: 139.9 kB / 1.081 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004686/0.4485, allocations: 139.9 kB / 1.082 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009656/0.4495, allocations: 325.2 kB / 1.082 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.4495, allocations: 0 / 1.082 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001127/0.4507, allocations: 422.4 kB / 1.082 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001038/0.4508, allocations: 145.2 kB / 1.082 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.4508, allocations: 4 kB / 1.082 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.4508, allocations: 0 / 1.082 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002971/0.4511, allocations: 59.94 kB / 1.083 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.4511, allocations: 0 / 1.083 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003212/0.4515, allocations: 63.78 kB / 1.083 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.376e-05/0.4515, allocations: 7.938 kB / 1.083 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 6.452e-06/0.4515, allocations: 4 kB / 1.083 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009591/0.4525, allocations: 363.2 kB / 1.083 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-06/0.4525, allocations: 4 kB / 1.083 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.918e-06/0.4525, allocations: 3.938 kB / 1.083 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002512/0.4527, allocations: 55.94 kB / 1.083 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.743e-06/0.4528, allocations: 0 / 1.083 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002813/0.453, allocations: 59.8 kB / 1.083 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.326e-05/0.4531, allocations: 4 kB / 1.083 GB, free: 14.07 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (HMea.count,$PRE.HMea.count,HMea.T_start,$PRE.HMea.T_start,TMea.count,$PRE.TMea.count,TMea.T_start,$PRE.TMea.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001756/0.4532, allocations: 214.2 kB / 1.083 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.197e-05/0.4533, allocations: 23.75 kB / 1.083 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.064e-05/0.4534, allocations: 21.53 kB / 1.083 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.4534, allocations: 0 / 1.083 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.4534, allocations: 0 / 1.083 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.4534, allocations: 7.984 kB / 1.083 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002626/0.4537, allocations: 265.4 kB / 1.084 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.4537, allocations: 8 kB / 1.084 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002787/0.4539, allocations: 51.95 kB / 1.084 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.023e-06/0.454, allocations: 7.938 kB / 1.084 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.943e-05/0.454, allocations: 7.984 kB / 1.084 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.688e-06/0.454, allocations: 0 / 1.084 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.454, allocations: 7.875 kB / 1.084 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001047/0.4551, allocations: 358.9 kB / 1.084 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.416e-05/0.4551, allocations: 92.92 kB / 1.084 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.695e-05/0.4552, allocations: 7.938 kB / 1.084 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002915/0.4555, allocations: 51.94 kB / 1.084 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.965e-05/0.4556, allocations: 23.97 kB / 1.084 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-05/0.4556, allocations: 11.98 kB / 1.084 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000139/0.4558, allocations: 147.2 kB / 1.084 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4558, allocations: 3.938 kB / 1.084 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003225/0.4561, allocations: 75.84 kB / 1.084 GB, free: 12.62 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,TMea.T_start,TMea.count,HMea.T_start,HMea.count) * Number of discrete states: 2 (TMea.count,HMea.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001587/0.4563, allocations: 104.6 kB / 1.085 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001643/0.4579, allocations: 0.6729 MB / 1.085 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.716e-06/0.4579, allocations: 0 / 1.085 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004996/0.4584, allocations: 151.8 kB / 1.085 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003579/0.4588, allocations: 35.98 kB / 1.085 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008841/0.4597, allocations: 408.4 kB / 1.086 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000342/0.46, allocations: 0.7326 MB / 1.086 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001177/0.4602, allocations: 21.55 kB / 1.086 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.31e-05/0.4603, allocations: 23.42 kB / 1.086 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of SimCode: time 2.41e-07/0.4603, allocations: 0 / 1.086 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of Templates: time 0.006477/0.4667, allocations: 2.857 MB / 1.089 GB, free: 7.543 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.makefile (rm -f Buildings_1.6_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; mkfifo Buildings_1.6_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; head -c 1048576 < Buildings_1.6_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe >> ../files/Buildings_1.6_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.sim & ./Buildings_1.6_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe 2>&1)