Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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: "" <> buildModelFMU(IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,fileNamePrefix="IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,fileNamePrefix="IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2",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.002024/0.002024, allocations: 106.4 kB / 16.4 MB, free: 6.492 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.002733/0.002733, allocations: 193.2 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.451/2.451, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.302/1.302, allocations: 115.3 MB / 406.5 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00262/0.00262, allocations: 64.75 kB / 0.5572 GB, free: 32.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.3337, allocations: 76.18 MB / 0.6316 GB, free: 4.938 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 1.274/1.608, allocations: 156.7 MB / 0.7846 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.04417/1.652, allocations: 21.75 MB / 0.8058 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005398/1.657, allocations: 54.97 kB / 0.8059 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002643/1.66, allocations: 1.159 MB / 0.807 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003362/1.664, allocations: 0.8516 MB / 0.8079 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002286/1.666, allocations: 442.5 kB / 0.8083 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002921/1.669, allocations: 1.266 MB / 0.8095 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001859/1.671, allocations: 0.683 MB / 0.8102 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002103/1.673, allocations: 0.5641 MB / 0.8107 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001963/1.675, allocations: 0.9195 MB / 0.8116 GB, free: 9.77 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003802/1.675, allocations: 65.66 kB / 0.8117 GB, free: 9.77 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007351/1.676, allocations: 109.1 kB / 0.8118 GB, free: 9.754 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005326/1.677, allocations: 313.4 kB / 0.8121 GB, free: 9.559 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00103/1.678, allocations: 495 kB / 0.8126 GB, free: 9.203 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002472/1.68, allocations: 1.205 MB / 0.8137 GB, free: 8.406 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 1.076e-05/1.68, allocations: 2.531 kB / 0.8138 GB, free: 8.406 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.675e-06/1.68, allocations: 0 / 0.8138 GB, free: 8.406 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.021e-05/1.68, allocations: 0 / 0.8138 GB, free: 8.406 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.004016/1.684, allocations: 1.477 MB / 0.8152 GB, free: 7.254 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 6.609e-05/1.684, allocations: 7.344 kB / 0.8152 GB, free: 7.254 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001884/1.685, allocations: 86.42 kB / 0.8153 GB, free: 7.176 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003765/1.685, allocations: 134.5 kB / 0.8154 GB, free: 7.105 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001517/1.687, allocations: 0.6665 MB / 0.8161 GB, free: 6.57 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001961/1.687, allocations: 78.44 kB / 0.8161 GB, free: 6.516 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001339/1.687, allocations: 46.38 kB / 0.8162 GB, free: 6.5 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001516/1.688, allocations: 0.5164 MB / 0.8167 GB, free: 6.172 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.04e-05/1.689, allocations: 2.25 kB / 0.8167 GB, free: 6.172 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001687/1.689, allocations: 14.88 kB / 0.8167 GB, free: 6.16 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.694e-05/1.689, allocations: 16.84 kB / 0.8167 GB, free: 6.156 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001449/1.69, allocations: 410.5 kB / 0.8171 GB, free: 5.965 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007466/1.698, allocations: 2.785 MB / 0.8198 GB, free: 3.551 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001602/1.699, allocations: 463 kB / 0.8203 GB, free: 3.316 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008837/1.7, allocations: 291.9 kB / 0.8205 GB, free: 3.172 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.037e-05/1.7, allocations: 8.625 kB / 0.8206 GB, free: 3.172 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008642/1.701, allocations: 293.9 kB / 0.8208 GB, free: 2.988 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=45): time 5.751e-06/1.701, allocations: 0 / 0.8208 GB, free: 2.988 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45): time 0.003933/1.705, allocations: 1.248 MB / 0.8221 GB, free: 2.227 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.252e-05/1.705, allocations: 57.03 kB / 0.8221 GB, free: 2.164 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00321/1.709, allocations: 1.745 MB / 0.8238 GB, free: 1.379 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001102/1.709, allocations: 46.59 kB / 0.8239 GB, free: 1.332 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005755/1.709, allocations: 0.51 MB / 0.8244 GB, free: 0.8906 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002231/1.71, allocations: 149.1 kB / 0.8245 GB, free: 0.7656 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002405/1.71, allocations: 98.19 kB / 0.8246 GB, free: 0.7031 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002205/1.71, allocations: 331.9 kB / 0.8249 GB, free: 388 kB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005809/1.711, allocations: 217.8 kB / 0.8251 GB, free: 284 kB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006364/1.711, allocations: 332.1 kB / 0.8254 GB, free: 44 kB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001104/1.712, allocations: 0.5136 MB / 0.8259 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.716e-06/1.712, allocations: 3.938 kB / 0.8259 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002163/1.715, allocations: 0.8408 MB / 0.8268 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.922e-05/1.715, allocations: 4.875 kB / 0.8268 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.407e-05/1.715, allocations: 6.844 kB / 0.8268 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006995/1.715, allocations: 183.8 kB / 0.8269 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004286/1.716, allocations: 99.84 kB / 0.827 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005418/1.721, allocations: 2.999 MB / 0.83 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000882/1.722, allocations: 77.48 kB / 0.83 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.738e-05/1.722, allocations: 19.31 kB / 0.8301 GB, free: 12.65 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 19 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition5,$PRE.intGai.nextTimeEvent,$whenCondition4,$PRE.reference.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000931/1.723, allocations: 380.6 kB / 0.8304 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003954/1.724, allocations: 119.5 kB / 0.8305 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004767/1.724, allocations: 139.2 kB / 0.8307 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.295e-06/1.724, allocations: 6.031 kB / 0.8307 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.233e-05/1.724, allocations: 2.219 kB / 0.8307 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/1.724, allocations: 3.984 kB / 0.8307 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004429/1.729, allocations: 1.564 MB / 0.8322 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.287e-06/1.729, allocations: 0 / 0.8322 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003814/1.729, allocations: 44.47 kB / 0.8323 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008676/1.73, allocations: 198.8 kB / 0.8324 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.653e-05/1.73, allocations: 13.08 kB / 0.8325 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008755/1.739, allocations: 4.559 MB / 0.8369 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.174e-06/1.739, allocations: 2.625 kB / 0.8369 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003775/1.743, allocations: 1.056 MB / 0.8379 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008799/1.744, allocations: 220.5 kB / 0.8382 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004175/1.744, allocations: 16.33 kB / 0.8382 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008449/1.745, allocations: 27.16 kB / 0.8382 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003634/1.745, allocations: 51.05 kB / 0.8382 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001183/1.746, allocations: 13.53 kB / 0.8383 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.003965/1.75, allocations: 1.284 MB / 0.8395 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7.42e-07/1.75, allocations: 0 / 0.8395 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001877/1.752, allocations: 203.7 kB / 0.8397 GB, free: 5.371 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,assEqu.diff,mean.x) * Number of discrete variables: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 7 (intGai.nextTimeEvent,reference.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,13,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006079/1.758, allocations: 1.987 MB / 0.8416 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002997/1.761, allocations: 0.7155 MB / 0.8423 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-05/1.761, allocations: 4 kB / 0.8423 GB, free: 2.816 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001913/1.763, allocations: 0.5634 MB / 0.8429 GB, free: 2.227 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002768/1.766, allocations: 196.5 kB / 0.8431 GB, free: 2.043 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03054/1.796, allocations: 8.567 MB / 0.8515 GB, free: 9.27 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001812/1.798, allocations: 1.157 MB / 0.8526 GB, free: 8.078 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0007638/1.799, allocations: 84.78 kB / 0.8527 GB, free: 7.996 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001041/1.8, allocations: 403.3 kB / 0.853 GB, free: 7.602 MB / 0.6231 GB Notification: Performance of SimCode: time 4.519e-06/1.8, allocations: 0 / 0.853 GB, free: 7.602 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1044/1.904, allocations: 21.58 MB / 0.8741 GB, free: 2.312 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.53/22.44, allocations: 16.5 kB / 0.8741 GB, free: 2.305 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2.fmu > IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1)