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.001204/0.001204, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001485/0.001484, allocations: 195.9 kB / 16.14 MB, free: 6.688 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.489/1.489, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.042/3.042, allocations: 472.6 MB / 0.7447 GB, free: 4.988 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 65.91 kB / 0.9114 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3962/0.3975, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow): time 0.004302/0.4019, allocations: 2.062 MB / 1.07 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00118/0.4031, allocations: 0.6468 MB / 1.07 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001094/0.4032, allocations: 4 kB / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 6.356e-05/0.4033, allocations: 11.86 kB / 1.07 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001686/0.4035, allocations: 35.64 kB / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004171/0.4039, allocations: 147.8 kB / 1.07 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003154/0.4042, allocations: 259.2 kB / 1.071 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001889/0.4044, allocations: 72.19 kB / 1.071 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001366/0.4046, allocations: 95.62 kB / 1.071 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001621/0.4048, allocations: 119.4 kB / 1.071 GB, free: 7.449 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.19e-05/0.4048, allocations: 16 kB / 1.071 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.966e-05/0.4049, allocations: 12 kB / 1.071 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.723e-05/0.4049, allocations: 43.83 kB / 1.071 GB, free: 7.379 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001147/0.405, allocations: 91.5 kB / 1.071 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002897/0.4053, allocations: 247.5 kB / 1.071 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.4053, allocations: 0 / 1.071 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.333e-06/0.4054, allocations: 0 / 1.071 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.706e-06/0.4054, allocations: 0 / 1.071 GB, free: 7.047 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.001447/0.4068, allocations: 0.6306 MB / 1.072 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.4069, allocations: 8.031 kB / 1.072 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.728e-05/0.407, allocations: 24.66 kB / 1.072 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004184/0.4074, allocations: 269.7 kB / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.4074, allocations: 12.38 kB / 1.072 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.442e-05/0.4074, allocations: 16.38 kB / 1.072 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006943/0.4081, allocations: 236.9 kB / 1.072 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.996e-06/0.4082, allocations: 0 / 1.072 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.755e-05/0.4082, allocations: 12 kB / 1.072 GB, free: 5.738 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.4082, allocations: 0 / 1.072 GB, free: 5.738 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008687/0.4091, allocations: 220.5 kB / 1.073 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008161/0.4099, allocations: 0.5234 MB / 1.073 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001057/0.411, allocations: 258.5 kB / 1.073 GB, free: 4.688 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004503/0.4115, allocations: 128.1 kB / 1.074 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.218e-05/0.4115, allocations: 0 / 1.074 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000698/0.4122, allocations: 201.3 kB / 1.074 GB, free: 4.355 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=15): time 1.733e-06/0.4122, allocations: 0 / 1.074 GB, free: 4.355 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15): time 0.001455/0.4137, allocations: 385 kB / 1.074 GB, free: 3.973 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.74e-05/0.4137, allocations: 59.39 kB / 1.074 GB, free: 3.902 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002394/0.414, allocations: 210.8 kB / 1.074 GB, free: 3.684 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.63e-05/0.414, allocations: 29.7 kB / 1.074 GB, free: 3.648 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.731e-05/0.4141, allocations: 128.3 kB / 1.074 GB, free: 3.516 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.469e-05/0.4142, allocations: 43.36 kB / 1.075 GB, free: 3.473 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.539e-05/0.4143, allocations: 33.7 kB / 1.075 GB, free: 3.434 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.4144, allocations: 334.8 kB / 1.075 GB, free: 3.098 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004577/0.4149, allocations: 120.7 kB / 1.075 GB, free: 2.977 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004197/0.4153, allocations: 123.9 kB / 1.075 GB, free: 2.855 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008142/0.4161, allocations: 270.1 kB / 1.075 GB, free: 2.578 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.4161, allocations: 3.938 kB / 1.075 GB, free: 2.574 MB / 0.8262 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001013/0.4172, allocations: 371.1 kB / 1.076 GB, free: 2.195 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.532e-05/0.4172, allocations: 63.39 kB / 1.076 GB, free: 2.121 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.4172, allocations: 0 / 1.076 GB, free: 2.121 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.4173, allocations: 0 / 1.076 GB, free: 2.121 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002815/0.4176, allocations: 51.88 kB / 1.076 GB, free: 2.07 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.4176, allocations: 4 kB / 1.076 GB, free: 2.066 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002853/0.4179, allocations: 43.8 kB / 1.076 GB, free: 2.023 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.719e-05/0.4179, allocations: 11.98 kB / 1.076 GB, free: 2.012 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004514/0.4184, allocations: 196 kB / 1.076 GB, free: 1.816 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003632/0.4187, allocations: 107.9 kB / 1.076 GB, free: 1.711 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006956/0.4194, allocations: 254 kB / 1.076 GB, free: 1.449 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.363e-06/0.4194, allocations: 0 / 1.076 GB, free: 1.449 MB / 0.8262 GB Notification: Performance of matching and sorting (n=19) (initialization_lambda0): time 0.0008944/0.4203, allocations: 342 kB / 1.077 GB, free: 1.098 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.236e-05/0.4204, allocations: 67.34 kB / 1.077 GB, free: 1.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.154e-06/0.4204, allocations: 0 / 1.077 GB, free: 1.02 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.356e-06/0.4204, allocations: 0 / 1.077 GB, free: 1.02 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002376/0.4207, allocations: 47.94 kB / 1.077 GB, free: 0.9727 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.4207, allocations: 0 / 1.077 GB, free: 0.9727 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002619/0.4209, allocations: 51.73 kB / 1.077 GB, free: 0.9219 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.616e-05/0.421, allocations: 4 kB / 1.077 GB, free: 0.918 MB / 0.8262 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.0001487/0.4211, allocations: 192.9 kB / 1.077 GB, free: 0.7227 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.014e-05/0.4212, allocations: 27.73 kB / 1.077 GB, free: 0.6953 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.045e-05/0.4212, allocations: 21.53 kB / 1.077 GB, free: 0.6797 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.369e-06/0.4212, allocations: 0 / 1.077 GB, free: 0.6797 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/0.4212, allocations: 0 / 1.077 GB, free: 0.6797 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.4213, allocations: 0 / 1.077 GB, free: 0.6797 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000303/0.4216, allocations: 269.4 kB / 1.077 GB, free: 376 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.4216, allocations: 3.938 kB / 1.077 GB, free: 372 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000263/0.4218, allocations: 51.94 kB / 1.077 GB, free: 320 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.4219, allocations: 4 kB / 1.077 GB, free: 316 kB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.985e-05/0.4219, allocations: 3.984 kB / 1.077 GB, free: 312 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.4219, allocations: 0 / 1.077 GB, free: 312 kB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.4219, allocations: 0 / 1.077 GB, free: 312 kB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009682/0.4229, allocations: 307 kB / 1.078 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.549e-05/0.4229, allocations: 100.8 kB / 1.078 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.172e-05/0.423, allocations: 4 kB / 1.078 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000266/0.4233, allocations: 39.94 kB / 1.078 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001209/0.4234, allocations: 27.97 kB / 1.078 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.716e-05/0.4234, allocations: 7.984 kB / 1.078 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001412/0.4236, allocations: 151.2 kB / 1.078 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4236, allocations: 0 / 1.078 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003503/0.4239, allocations: 79.69 kB / 1.078 GB, free: 15.57 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.0001457/0.4241, allocations: 103.2 kB / 1.078 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001483/0.4256, allocations: 0.5998 MB / 1.079 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.4256, allocations: 0 / 1.079 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004545/0.426, allocations: 123.9 kB / 1.079 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003556/0.4264, allocations: 42.73 kB / 1.079 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009554/0.4274, allocations: 402.6 kB / 1.079 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003544/0.4277, allocations: 0.7326 MB / 1.08 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001523/0.4279, allocations: 21.55 kB / 1.08 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.523e-05/0.428, allocations: 23.44 kB / 1.08 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of SimCode: time 4.2e-07/0.428, allocations: 0 / 1.08 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of Templates: time 0.00636/0.4344, allocations: 2.883 MB / 1.083 GB, free: 10.57 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)