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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0008874/0.0008875, allocations: 91.14 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.006289/0.006289, allocations: 173.3 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.37/1.37, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.619/2.619, allocations: 437.8 MB / 0.7121 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003915/0.0003917, allocations: 12 kB / 0.873 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8275/0.8279, allocations: 153.8 MB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow): time 0.002364/0.8303, allocations: 1.699 MB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001112/0.8314, allocations: 0.643 MB / 1.025 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.494e-05/0.8316, allocations: 4 kB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.926e-05/0.8316, allocations: 11.86 kB / 1.025 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001671/0.8318, allocations: 39.58 kB / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003986/0.8322, allocations: 147.8 kB / 1.026 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002885/0.8325, allocations: 263.3 kB / 1.026 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001545/0.8327, allocations: 61.41 kB / 1.026 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001275/0.8328, allocations: 91.56 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001424/0.8329, allocations: 99.56 kB / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.536e-05/0.833, allocations: 12 kB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 2.822e-05/0.833, allocations: 8 kB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.634e-05/0.8331, allocations: 43.77 kB / 1.026 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000104/0.8332, allocations: 117.1 kB / 1.026 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002422/0.8334, allocations: 241.4 kB / 1.027 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.8334, allocations: 0 / 1.027 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.573e-06/0.8334, allocations: 0 / 1.027 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.8335, allocations: 0 / 1.027 GB, free: 12.37 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.001422/0.8349, allocations: 0.6231 MB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 6.039e-05/0.835, allocations: 12.03 kB / 1.027 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.319e-05/0.835, allocations: 50.67 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.868e-05/0.8351, allocations: 24.66 kB / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004594/0.8356, allocations: 259.9 kB / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.8356, allocations: 12.31 kB / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.023e-05/0.8357, allocations: 16.38 kB / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007564/0.8364, allocations: 268.2 kB / 1.028 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.8364, allocations: 0 / 1.028 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.815e-05/0.8365, allocations: 4 kB / 1.028 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.868e-06/0.8365, allocations: 4 kB / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000964/0.8375, allocations: 267.8 kB / 1.028 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008656/0.8383, allocations: 0.5235 MB / 1.029 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001124/0.8395, allocations: 310.5 kB / 1.029 GB, free: 9.836 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004793/0.84, allocations: 144.8 kB / 1.029 GB, free: 9.691 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.974e-05/0.84, allocations: 7.938 kB / 1.029 GB, free: 9.684 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007019/0.8407, allocations: 215.1 kB / 1.029 GB, free: 9.461 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 1.894e-06/0.8407, allocations: 4 kB / 1.029 GB, free: 9.457 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.001588/0.8423, allocations: 458.8 kB / 1.03 GB, free: 9.004 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.789e-05/0.8424, allocations: 55.41 kB / 1.03 GB, free: 8.938 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002432/0.8426, allocations: 215 kB / 1.03 GB, free: 8.715 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.195e-05/0.8427, allocations: 29.7 kB / 1.03 GB, free: 8.68 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.761e-05/0.8428, allocations: 132.3 kB / 1.03 GB, free: 8.543 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.796e-05/0.8429, allocations: 47.34 kB / 1.03 GB, free: 8.496 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.74e-05/0.8429, allocations: 25.7 kB / 1.03 GB, free: 8.465 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001675/0.8431, allocations: 334.8 kB / 1.03 GB, free: 8.129 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004997/0.8436, allocations: 139.8 kB / 1.031 GB, free: 7.992 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004744/0.8441, allocations: 143.8 kB / 1.031 GB, free: 7.852 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000939/0.845, allocations: 325.5 kB / 1.031 GB, free: 7.52 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.845, allocations: 0 / 1.031 GB, free: 7.52 MB / 0.7794 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001101/0.8461, allocations: 417.8 kB / 1.031 GB, free: 7.094 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001095/0.8463, allocations: 149.2 kB / 1.032 GB, free: 6.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.8463, allocations: 3.984 kB / 1.032 GB, free: 6.926 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.8463, allocations: 0 / 1.032 GB, free: 6.926 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002937/0.8466, allocations: 63.88 kB / 1.032 GB, free: 6.863 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.47e-05/0.8466, allocations: 4 kB / 1.032 GB, free: 6.859 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003151/0.8469, allocations: 59.84 kB / 1.032 GB, free: 6.801 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.243e-05/0.847, allocations: 4 kB / 1.032 GB, free: 6.797 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 7.264e-06/0.847, allocations: 4 kB / 1.032 GB, free: 6.793 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009357/0.8479, allocations: 361.1 kB / 1.032 GB, free: 6.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.045e-06/0.848, allocations: 3.938 kB / 1.032 GB, free: 6.426 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-06/0.848, allocations: 4 kB / 1.032 GB, free: 6.422 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002422/0.8482, allocations: 63.88 kB / 1.032 GB, free: 6.359 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.603e-06/0.8482, allocations: 0 / 1.032 GB, free: 6.359 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002727/0.8485, allocations: 55.8 kB / 1.032 GB, free: 6.305 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.322e-05/0.8485, allocations: 8 kB / 1.032 GB, free: 6.297 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 0.0001661/0.8487, allocations: 202.7 kB / 1.032 GB, free: 6.09 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.451e-05/0.8487, allocations: 23.73 kB / 1.032 GB, free: 6.066 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.16e-05/0.8488, allocations: 21.53 kB / 1.032 GB, free: 6.051 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.8488, allocations: 4 kB / 1.032 GB, free: 6.047 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.8488, allocations: 4 kB / 1.032 GB, free: 6.043 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.8488, allocations: 3.984 kB / 1.032 GB, free: 6.039 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002685/0.8491, allocations: 269.4 kB / 1.033 GB, free: 5.727 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.8491, allocations: 0 / 1.033 GB, free: 5.727 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002709/0.8494, allocations: 59.89 kB / 1.033 GB, free: 5.668 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.8494, allocations: 7.938 kB / 1.033 GB, free: 5.66 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.796e-05/0.8494, allocations: 7.984 kB / 1.033 GB, free: 5.652 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.8494, allocations: 0 / 1.033 GB, free: 5.652 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.8494, allocations: 0 / 1.033 GB, free: 5.652 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001018/0.8505, allocations: 352.6 kB / 1.033 GB, free: 5.289 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.966e-05/0.8505, allocations: 100.8 kB / 1.033 GB, free: 5.172 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.675e-05/0.8506, allocations: 4 kB / 1.033 GB, free: 5.168 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002977/0.8509, allocations: 55.88 kB / 1.033 GB, free: 5.113 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/0.851, allocations: 27.97 kB / 1.033 GB, free: 5.086 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.566e-05/0.851, allocations: 7.984 kB / 1.033 GB, free: 5.078 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001408/0.8512, allocations: 156.6 kB / 1.033 GB, free: 4.926 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8512, allocations: 3.938 kB / 1.033 GB, free: 4.922 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003229/0.8515, allocations: 75.78 kB / 1.033 GB, free: 4.848 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.001325/0.8528, allocations: 0.9002 MB / 1.034 GB, free: 3.922 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001594/0.8544, allocations: 0.6652 MB / 1.035 GB, free: 3.207 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.8544, allocations: 0 / 1.035 GB, free: 3.207 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0004985/0.855, allocations: 143.9 kB / 1.035 GB, free: 3.066 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003429/0.8553, allocations: 48.47 kB / 1.035 GB, free: 3.02 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00455/0.8599, allocations: 2.614 MB / 1.038 GB, free: 312 kB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/0.8602, allocations: 0.7248 MB / 1.038 GB, free: 15.55 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001287/0.8603, allocations: 21.55 kB / 1.038 GB, free: 15.54 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001243/0.8604, allocations: 55.41 kB / 1.039 GB, free: 15.48 MB / 0.795 GB Notification: Performance of SimCode: time 1.343e-06/0.8604, allocations: 0 / 1.039 GB, free: 15.48 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8526/1.713, allocations: 4.456 MB / 1.043 GB, free: 11.23 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002543/1.713, allocations: 237.4 kB / 1.043 GB, free: 10.98 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.425/4.139, allocations: 0 / 1.043 GB, free: 10.98 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)