Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,fileNamePrefix="Buildings_10_Buildings_ThermalZones_Detailed_Examples_Controls_Validation_ElectrochromicWindow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,fileNamePrefix="Buildings_10_Buildings_ThermalZones_Detailed_Examples_Controls_Validation_ElectrochromicWindow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 193.7 kB / 16.53 MB, free: 6.664 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.319/1.319, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.513/2.513, allocations: 437 MB / 0.7104 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 63.91 kB / 0.8694 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6155/0.6169, allocations: 151.6 MB / 1.017 GB, free: 2.512 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow): time 0.003278/0.6203, allocations: 2.002 MB / 1.019 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001145/0.6214, allocations: 0.6546 MB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000117/0.6216, allocations: 4 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 5.377e-05/0.6216, allocations: 19.73 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001554/0.6218, allocations: 59.44 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003724/0.6222, allocations: 157 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002837/0.6225, allocations: 283.3 kB / 1.021 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001503/0.6226, allocations: 64.28 kB / 1.021 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001186/0.6228, allocations: 111.6 kB / 1.021 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001315/0.6229, allocations: 119.5 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.57e-05/0.623, allocations: 31.98 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 3.828e-05/0.623, allocations: 28 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.057e-05/0.6231, allocations: 51.83 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.89e-05/0.6232, allocations: 111.4 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002232/0.6234, allocations: 261.4 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.6234, allocations: 0 / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.222e-06/0.6234, allocations: 0 / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.6234, allocations: 0 / 1.021 GB, free: 14.56 MB / 0.7794 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.001174/0.6246, allocations: 0.6267 MB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.6246, allocations: 8.031 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.344e-05/0.6247, allocations: 38.75 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.914e-05/0.6248, allocations: 32.64 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003416/0.6251, allocations: 267.8 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.6251, allocations: 8.375 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.032e-05/0.6252, allocations: 20.31 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006018/0.6258, allocations: 236.6 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.6258, allocations: 4 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.401e-05/0.6258, allocations: 11.98 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.6258, allocations: 4 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008262/0.6267, allocations: 224.3 kB / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006743/0.6273, allocations: 0.5118 MB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009678/0.6283, allocations: 266.5 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004217/0.6288, allocations: 116.7 kB / 1.024 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.369e-05/0.6288, allocations: 3.938 kB / 1.024 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005911/0.6294, allocations: 187.2 kB / 1.024 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 1.583e-06/0.6294, allocations: 0 / 1.024 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.001346/0.6307, allocations: 390.4 kB / 1.024 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.6308, allocations: 55.41 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000173/0.631, allocations: 211 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.517e-05/0.631, allocations: 33.7 kB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.621e-05/0.6311, allocations: 128.2 kB / 1.025 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.433e-05/0.6311, allocations: 43.45 kB / 1.025 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.634e-05/0.6312, allocations: 37.7 kB / 1.025 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.765e-05/0.6313, allocations: 330.8 kB / 1.025 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004331/0.6317, allocations: 124.6 kB / 1.025 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004096/0.6322, allocations: 122.8 kB / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007941/0.633, allocations: 273.9 kB / 1.025 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.633, allocations: 0 / 1.025 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000948/0.6339, allocations: 364.5 kB / 1.026 GB, free: 9.668 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.468e-05/0.634, allocations: 67.39 kB / 1.026 GB, free: 9.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.634, allocations: 0 / 1.026 GB, free: 9.59 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.634, allocations: 0 / 1.026 GB, free: 9.59 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002639/0.6343, allocations: 47.94 kB / 1.026 GB, free: 9.543 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.6343, allocations: 0 / 1.026 GB, free: 9.543 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002741/0.6346, allocations: 43.86 kB / 1.026 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.965e-05/0.6346, allocations: 4 kB / 1.026 GB, free: 9.496 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004204/0.635, allocations: 200 kB / 1.026 GB, free: 9.297 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003545/0.6354, allocations: 113.2 kB / 1.026 GB, free: 9.188 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000686/0.6361, allocations: 250 kB / 1.026 GB, free: 8.93 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.42e-07/0.6361, allocations: 0 / 1.026 GB, free: 8.93 MB / 0.7794 GB Notification: Performance of matching and sorting (n=19) (initialization_lambda0): time 0.0008424/0.6369, allocations: 344.5 kB / 1.027 GB, free: 8.574 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.32e-05/0.637, allocations: 63.39 kB / 1.027 GB, free: 8.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-06/0.637, allocations: 0 / 1.027 GB, free: 8.5 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.615e-06/0.637, allocations: 7.938 kB / 1.027 GB, free: 8.492 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002144/0.6372, allocations: 43.89 kB / 1.027 GB, free: 8.449 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.034e-06/0.6372, allocations: 0 / 1.027 GB, free: 8.449 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002484/0.6375, allocations: 47.78 kB / 1.027 GB, free: 8.402 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.442e-05/0.6375, allocations: 8 kB / 1.027 GB, free: 8.395 MB / 0.7794 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 9.956e-05/0.6376, allocations: 194.2 kB / 1.027 GB, free: 8.199 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.14e-05/0.6376, allocations: 23.73 kB / 1.027 GB, free: 8.176 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.317e-05/0.6377, allocations: 21.52 kB / 1.027 GB, free: 8.16 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.6377, allocations: 0 / 1.027 GB, free: 8.16 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.6377, allocations: 4 kB / 1.027 GB, free: 8.156 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.6377, allocations: 0 / 1.027 GB, free: 8.156 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002095/0.6379, allocations: 277.4 kB / 1.027 GB, free: 7.836 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.638, allocations: 0 / 1.027 GB, free: 7.836 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002485/0.6382, allocations: 51.88 kB / 1.027 GB, free: 7.785 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.491e-06/0.6382, allocations: 4 kB / 1.027 GB, free: 7.781 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.6382, allocations: 3.938 kB / 1.027 GB, free: 7.777 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.776e-06/0.6382, allocations: 4 kB / 1.027 GB, free: 7.773 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.6383, allocations: 0 / 1.027 GB, free: 7.773 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008764/0.6391, allocations: 309.5 kB / 1.028 GB, free: 7.453 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.064e-05/0.6392, allocations: 96.84 kB / 1.028 GB, free: 7.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.763e-05/0.6392, allocations: 8 kB / 1.028 GB, free: 7.332 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002632/0.6395, allocations: 35.95 kB / 1.028 GB, free: 7.297 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.444e-05/0.6396, allocations: 27.95 kB / 1.028 GB, free: 7.27 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/0.6396, allocations: 8 kB / 1.028 GB, free: 7.262 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001128/0.6397, allocations: 152.4 kB / 1.028 GB, free: 7.113 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6397, allocations: 0 / 1.028 GB, free: 7.113 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003016/0.64, allocations: 75.84 kB / 1.028 GB, free: 7.039 MB / 0.7794 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.001147/0.6412, allocations: 0.8556 MB / 1.029 GB, free: 6.156 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001382/0.6426, allocations: 0.6041 MB / 1.03 GB, free: 5.504 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.6426, allocations: 0 / 1.03 GB, free: 5.504 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0004355/0.643, allocations: 127.8 kB / 1.03 GB, free: 5.379 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002941/0.6433, allocations: 49.77 kB / 1.03 GB, free: 5.332 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003934/0.6473, allocations: 2.405 MB / 1.032 GB, free: 2.824 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002313/0.6475, allocations: 0.7361 MB / 1.033 GB, free: 2.062 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001179/0.6477, allocations: 21.55 kB / 1.033 GB, free: 2.043 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/0.6478, allocations: 63.41 kB / 1.033 GB, free: 1.984 MB / 0.7794 GB Notification: Performance of SimCode: time 4.81e-07/0.6478, allocations: 0 / 1.033 GB, free: 1.984 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.722/1.37, allocations: 4.998 MB / 1.038 GB, free: 13.14 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/12.65, allocations: 14.95 kB / 1.038 GB, free: 13.12 MB / 0.795 GB (rm -f Buildings_10_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe >> ../files/Buildings_10_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow_res.mat --tempDir=temp_Buildings_10_Buildings_ThermalZones_Detailed_Examples_Controls_Validation_ElectrochromicWindow_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_ThermalZones_Detailed_Examples_Controls_Validation_ElectrochromicWindow.fmu > Buildings_10_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe 2>&1)