Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002515/0.002515, allocations: 80.52 kB / 19.95 MB, free: 4.602 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002478/0.002478, allocations: 173.2 kB / 23.24 MB, free: 1.324 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.7/1.7, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.303/3.303, allocations: 389.5 MB / 0.6343 GB, free: 12.59 MB / 0.6042 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow") translateModel(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.334e-06/2.334e-06, allocations: 0 / 1.001 GB, free: 13.03 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.232e-05/4.465e-05, allocations: 5.516 kB / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow): time 0.004809/0.004853, allocations: 1.96 MB / 1.003 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.00165/0.006504, allocations: 0.6468 MB / 1.004 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002401/0.006744, allocations: 3.938 kB / 1.004 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 8.215e-05/0.006826, allocations: 23.73 kB / 1.004 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0002837/0.00711, allocations: 55.5 kB / 1.004 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006457/0.007755, allocations: 159.7 kB / 1.004 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0006518/0.008407, allocations: 291.2 kB / 1.004 GB, free: 9.879 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002049/0.008612, allocations: 52.48 kB / 1.004 GB, free: 9.828 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004312/0.009043, allocations: 155.6 kB / 1.004 GB, free: 9.676 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000269/0.009312, allocations: 99.67 kB / 1.004 GB, free: 9.578 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 8.392e-05/0.009396, allocations: 32 kB / 1.004 GB, free: 9.547 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.7e-05/0.009463, allocations: 24 kB / 1.004 GB, free: 9.523 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 9.339e-05/0.009557, allocations: 55.81 kB / 1.005 GB, free: 9.469 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001616/0.009718, allocations: 75.81 kB / 1.005 GB, free: 9.395 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0005612/0.01028, allocations: 283.1 kB / 1.005 GB, free: 9.117 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.01028, allocations: 0 / 1.005 GB, free: 9.117 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.653e-06/0.01029, allocations: 0 / 1.005 GB, free: 9.117 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 1.084e-05/0.0103, allocations: 0 / 1.005 GB, free: 9.117 MB / 0.9636 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.001888/0.01218, allocations: 0.5591 MB / 1.005 GB, free: 8.516 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/0.01224, allocations: 9.641 kB / 1.005 GB, free: 8.508 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000127/0.01236, allocations: 24.8 kB / 1.005 GB, free: 8.484 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006064/0.01297, allocations: 209.4 kB / 1.006 GB, free: 8.254 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.951e-05/0.013, allocations: 16.38 kB / 1.006 GB, free: 8.238 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.422e-05/0.01305, allocations: 12.38 kB / 1.006 GB, free: 8.227 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001053/0.01411, allocations: 292 kB / 1.006 GB, free: 7.914 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.01412, allocations: 192 / 1.006 GB, free: 7.914 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.702e-05/0.01416, allocations: 4.375 kB / 1.006 GB, free: 7.91 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.612e-05/0.01417, allocations: 11.92 kB / 1.006 GB, free: 7.898 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001298/0.01547, allocations: 223.8 kB / 1.006 GB, free: 7.68 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001106/0.01658, allocations: 408 kB / 1.007 GB, free: 7.25 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00151/0.01809, allocations: 254.5 kB / 1.007 GB, free: 6.992 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006596/0.01875, allocations: 116.7 kB / 1.007 GB, free: 6.875 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 4.394e-05/0.01879, allocations: 4 kB / 1.007 GB, free: 6.871 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008779/0.01967, allocations: 191.2 kB / 1.007 GB, free: 6.672 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=15): time 2.014e-06/0.01967, allocations: 0 / 1.007 GB, free: 6.672 MB / 0.9636 GB Notification: Performance of matching and sorting (n=15): time 0.002112/0.02178, allocations: 396.4 kB / 1.008 GB, free: 6.281 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.965e-05/0.02185, allocations: 55.34 kB / 1.008 GB, free: 6.215 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003147/0.02217, allocations: 192.4 kB / 1.008 GB, free: 6.016 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 5.166e-05/0.02222, allocations: 37.7 kB / 1.008 GB, free: 5.973 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001462/0.02236, allocations: 132.5 kB / 1.008 GB, free: 5.84 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 7.947e-05/0.02244, allocations: 43.64 kB / 1.008 GB, free: 5.797 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/0.02256, allocations: 37.7 kB / 1.008 GB, free: 5.754 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002367/0.02279, allocations: 330.8 kB / 1.008 GB, free: 5.422 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000734/0.02353, allocations: 176 kB / 1.008 GB, free: 5.234 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007088/0.02424, allocations: 171.3 kB / 1.009 GB, free: 5.055 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00158/0.02582, allocations: 274.1 kB / 1.009 GB, free: 4.773 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.02582, allocations: 0 / 1.009 GB, free: 4.773 MB / 0.9636 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001646/0.02746, allocations: 430.4 kB / 1.009 GB, free: 4.324 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 8.786e-05/0.02755, allocations: 67.39 kB / 1.009 GB, free: 4.246 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.02756, allocations: 0 / 1.009 GB, free: 4.246 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.569e-05/0.02759, allocations: 3.938 kB / 1.009 GB, free: 4.242 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004107/0.028, allocations: 43.94 kB / 1.009 GB, free: 4.199 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.02801, allocations: 8 kB / 1.009 GB, free: 4.191 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004015/0.02841, allocations: 43.84 kB / 1.009 GB, free: 4.148 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.765e-05/0.02845, allocations: 7.984 kB / 1.009 GB, free: 4.141 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007772/0.02922, allocations: 255.4 kB / 1.01 GB, free: 3.875 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000637/0.02986, allocations: 159.3 kB / 1.01 GB, free: 3.707 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001148/0.03101, allocations: 266.6 kB / 1.01 GB, free: 3.434 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.353e-06/0.03101, allocations: 0 / 1.01 GB, free: 3.434 MB / 0.9636 GB Notification: Performance of matching and sorting (n=19) (initialization_lambda0): time 0.001443/0.03245, allocations: 396.1 kB / 1.011 GB, free: 3.016 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 6.708e-05/0.03252, allocations: 59.41 kB / 1.011 GB, free: 2.945 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.924e-06/0.03252, allocations: 0 / 1.011 GB, free: 2.945 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.742e-06/0.03253, allocations: 4 kB / 1.011 GB, free: 2.941 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003685/0.0329, allocations: 51.88 kB / 1.011 GB, free: 2.891 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.888e-06/0.03291, allocations: 7.938 kB / 1.011 GB, free: 2.883 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003596/0.03327, allocations: 43.84 kB / 1.011 GB, free: 2.84 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.191e-05/0.03329, allocations: 8 kB / 1.011 GB, free: 2.832 MB / 0.9636 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.000207/0.03349, allocations: 188.2 kB / 1.011 GB, free: 2.641 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.189e-05/0.03355, allocations: 15.91 kB / 1.011 GB, free: 2.625 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001064/0.03365, allocations: 21.47 kB / 1.011 GB, free: 2.594 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.207e-05/0.03366, allocations: 11.88 kB / 1.011 GB, free: 2.582 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.03367, allocations: 0 / 1.011 GB, free: 2.582 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.03368, allocations: 3.984 kB / 1.011 GB, free: 2.578 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00033/0.03401, allocations: 177.2 kB / 1.011 GB, free: 2.375 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.03401, allocations: 0 / 1.011 GB, free: 2.375 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003873/0.0344, allocations: 55.88 kB / 1.011 GB, free: 2.32 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.0344, allocations: 0 / 1.011 GB, free: 2.32 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.51e-05/0.03443, allocations: 3.984 kB / 1.011 GB, free: 2.316 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.378e-06/0.03444, allocations: 4 kB / 1.011 GB, free: 2.312 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.606e-06/0.03445, allocations: 3.938 kB / 1.011 GB, free: 2.309 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00145/0.03589, allocations: 300.7 kB / 1.011 GB, free: 1.996 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 5.434e-05/0.03595, allocations: 19.91 kB / 1.011 GB, free: 1.977 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.3e-05/0.03599, allocations: 0 / 1.011 GB, free: 1.977 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003654/0.03636, allocations: 43.94 kB / 1.011 GB, free: 1.934 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000147/0.0365, allocations: 31.89 kB / 1.012 GB, free: 1.902 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.203e-05/0.03653, allocations: 4 kB / 1.012 GB, free: 1.898 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0002172/0.03674, allocations: 148.2 kB / 1.012 GB, free: 1.754 MB / 0.9636 GB Notification: Performance of sort global known variables: time 9e-08/0.03674, allocations: 0 / 1.012 GB, free: 1.754 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0005417/0.03729, allocations: 79.78 kB / 1.012 GB, free: 1.676 MB / 0.9636 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.0002125/0.0375, allocations: 119 kB / 1.012 GB, free: 1.551 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.002398/0.0399, allocations: 0.6898 MB / 1.013 GB, free: 0.7891 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.0399, allocations: 0 / 1.013 GB, free: 0.7891 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0007184/0.04062, allocations: 123.8 kB / 1.013 GB, free: 0.668 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004516/0.04107, allocations: 33.48 kB / 1.013 GB, free: 0.6367 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001237/0.04231, allocations: 346.2 kB / 1.013 GB, free: 280 kB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001797/0.04249, allocations: 116.9 kB / 1.013 GB, free: 144 kB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0001681/0.04265, allocations: 25.48 kB / 1.013 GB, free: 120 kB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001225/0.04278, allocations: 28.48 kB / 1.013 GB, free: 92 kB / 0.9636 GB Notification: Performance of SimCode: time 4.4e-07/0.04278, allocations: 0 / 1.013 GB, free: 92 kB / 0.9636 GB Notification: Performance of Templates: time 0.01152/0.05429, allocations: 3.457 MB / 1.017 GB, free: 12.71 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.makefile [Timeout 300] (rm -f Buildings_13_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; mkfifo Buildings_13_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; head -c 1048576 < Buildings_13_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe >> ../files/Buildings_13_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.sim & ./Buildings_13_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.805588503368199]