Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_8_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_8_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.001343/0.001343, allocations: 117.1 kB / 16.38 MB, free: 6.023 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.001179/0.001179, allocations: 189.6 kB / 17.31 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.272/1.272, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.743/1.743, allocations: 292.3 MB / 0.5496 GB, free: 17.56 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 67.89 kB / 0.6729 GB, free: 5.852 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1815/0.183, allocations: 114.6 MB / 0.7848 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow): time 0.003092/0.1861, allocations: 2.025 MB / 0.7868 GB, free: 1.145 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001039/0.1872, allocations: 0.6905 MB / 0.7875 GB, free: 456 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001105/0.1873, allocations: 0 / 0.7875 GB, free: 456 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 5.753e-05/0.1874, allocations: 23.73 kB / 0.7875 GB, free: 432 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001508/0.1875, allocations: 51.5 kB / 0.7875 GB, free: 380 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003948/0.1879, allocations: 159.4 kB / 0.7877 GB, free: 224 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.3036/0.4915, allocations: 285.3 kB / 0.788 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001929/0.4917, allocations: 64.66 kB / 0.788 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001727/0.4919, allocations: 111.6 kB / 0.7881 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001338/0.4921, allocations: 126.8 kB / 0.7882 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.956e-05/0.4921, allocations: 24.47 kB / 0.7883 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 3.236e-05/0.4922, allocations: 25.69 kB / 0.7883 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.05e-05/0.4922, allocations: 55.12 kB / 0.7883 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 8.762e-05/0.4923, allocations: 106.5 kB / 0.7884 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002304/0.4925, allocations: 273.3 kB / 0.7887 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.4926, allocations: 0 / 0.7887 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.192e-06/0.4926, allocations: 0 / 0.7887 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.4926, allocations: 0 / 0.7887 GB, free: 46.44 MB / 0.6544 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.001099/0.4937, allocations: 0.6323 MB / 0.7893 GB, free: 45.97 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.4937, allocations: 10.25 kB / 0.7893 GB, free: 45.97 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.008e-05/0.4938, allocations: 24.53 kB / 0.7894 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003428/0.4941, allocations: 278.6 kB / 0.7896 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.4942, allocations: 9.375 kB / 0.7896 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.533e-05/0.4942, allocations: 12.47 kB / 0.7896 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006117/0.4948, allocations: 238.6 kB / 0.7899 GB, free: 45.69 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.4948, allocations: 10.12 kB / 0.7899 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.145e-05/0.4949, allocations: 5.5 kB / 0.7899 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.4949, allocations: 2.625 kB / 0.7899 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008686/0.4957, allocations: 224.8 kB / 0.7901 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006285/0.4964, allocations: 0.507 MB / 0.7906 GB, free: 45.4 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001008/0.4974, allocations: 264.3 kB / 0.7908 GB, free: 45.38 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004476/0.4979, allocations: 122.7 kB / 0.791 GB, free: 45.37 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.261e-05/0.4979, allocations: 3.875 kB / 0.791 GB, free: 45.37 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005395/0.4985, allocations: 193.1 kB / 0.7912 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=15): time 2.184e-06/0.4985, allocations: 0 / 0.7912 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15): time 0.001419/0.4999, allocations: 388 kB / 0.7915 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.129e-05/0.4999, allocations: 56.66 kB / 0.7916 GB, free: 45.21 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001674/0.5001, allocations: 216.8 kB / 0.7918 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/0.5001, allocations: 31.95 kB / 0.7918 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.402e-05/0.5002, allocations: 132.4 kB / 0.7919 GB, free: 44.98 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.721e-05/0.5002, allocations: 45.22 kB / 0.792 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.687e-05/0.5003, allocations: 43.11 kB / 0.792 GB, free: 44.94 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.828e-05/0.5004, allocations: 326.8 kB / 0.7923 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004504/0.5008, allocations: 118.9 kB / 0.7924 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000435/0.5013, allocations: 116.4 kB / 0.7926 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000849/0.5021, allocations: 272.8 kB / 0.7928 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/0.5021, allocations: 4 kB / 0.7928 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001002/0.5031, allocations: 367.9 kB / 0.7932 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.793e-05/0.5032, allocations: 68.81 kB / 0.7932 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.5032, allocations: 0 / 0.7932 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.5032, allocations: 0 / 0.7932 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002799/0.5035, allocations: 50.31 kB / 0.7933 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.5035, allocations: 0 / 0.7933 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002986/0.5038, allocations: 45.34 kB / 0.7933 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.226e-05/0.5039, allocations: 10.72 kB / 0.7933 GB, free: 44.35 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004302/0.5043, allocations: 195.7 kB / 0.7935 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003595/0.5047, allocations: 113.2 kB / 0.7936 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000683/0.5054, allocations: 249.3 kB / 0.7939 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.12e-07/0.5054, allocations: 0 / 0.7939 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of matching and sorting (n=19) (initialization_lambda0): time 0.0008306/0.5062, allocations: 350.9 kB / 0.7942 GB, free: 44.08 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/0.5062, allocations: 61 kB / 0.7943 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.374e-06/0.5063, allocations: 3.938 kB / 0.7943 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.294e-06/0.5063, allocations: 0 / 0.7943 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002199/0.5065, allocations: 50.56 kB / 0.7943 GB, free: 44.01 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.934e-06/0.5065, allocations: 0 / 0.7943 GB, free: 44.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002545/0.5068, allocations: 40.75 kB / 0.7944 GB, free: 44.01 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.584e-05/0.5068, allocations: 6.797 kB / 0.7944 GB, free: 44.01 MB / 0.6544 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 7.972e-05/0.5069, allocations: 191.5 kB / 0.7945 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.042e-05/0.5069, allocations: 31.09 kB / 0.7946 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.661e-05/0.507, allocations: 22.33 kB / 0.7946 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.507, allocations: 0 / 0.7946 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.507, allocations: 2.438 kB / 0.7946 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.802e-05/0.507, allocations: 99.09 kB / 0.7947 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.615e-05/0.5071, allocations: 3.438 kB / 0.7947 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002769/0.5073, allocations: 34.75 kB / 0.7947 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.137e-05/0.5074, allocations: 33.42 kB / 0.7948 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001126/0.5086, allocations: 379.7 kB / 0.7951 GB, free: 43.59 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009335/0.5095, allocations: 454.4 kB / 0.7956 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004447/0.51, allocations: 125.3 kB / 0.7957 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001049/0.5101, allocations: 166.7 kB / 0.7958 GB, free: 43.29 MB / 0.6544 GB Notification: Performance of Backend: time 4.21e-07/0.5101, allocations: 6.062 kB / 0.7958 GB, free: 43.28 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001291/0.5114, allocations: 0.5559 MB / 0.7964 GB, free: 42.96 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0006757/0.5121, allocations: 0.7792 MB / 0.7971 GB, free: 42.3 MB / 0.6544 GB Notification: Performance of Templates: time 0.007764/0.5199, allocations: 4.24 MB / 0.8013 GB, free: 42.16 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.makefile (rm -f Buildings_8_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe >> ../files/Buildings_8_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.sim & ./Buildings_8_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe 2>&1)