Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.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.TestCase10,fileNamePrefix="IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10,fileNamePrefix="IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10",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.002136/0.002136, allocations: 107.9 kB / 16.4 MB, free: 6.438 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.00234/0.00234, allocations: 193.2 kB / 17.34 MB, free: 5.707 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.772/2.772, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.484/1.484, allocations: 115.3 MB / 406.5 MB, free: 6.203 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00287/0.00287, allocations: 67.7 kB / 0.5572 GB, free: 32.55 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3206/0.3235, allocations: 76.17 MB / 0.6316 GB, free: 4.941 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10): time 1.195/1.519, allocations: 157.5 MB / 0.7854 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.04871/1.568, allocations: 22.08 MB / 0.807 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005689/1.573, allocations: 61.72 kB / 0.807 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.004692/1.578, allocations: 2.168 MB / 0.8092 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005828/1.584, allocations: 1.455 MB / 0.8106 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003717/1.588, allocations: 0.635 MB / 0.8112 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.005563/1.593, allocations: 1.941 MB / 0.8131 GB, free: 9.121 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003748/1.597, allocations: 1.131 MB / 0.8142 GB, free: 8.445 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003412/1.601, allocations: 0.923 MB / 0.8151 GB, free: 8.082 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003687/1.604, allocations: 1.596 MB / 0.8167 GB, free: 7.449 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0007567/1.605, allocations: 96.09 kB / 0.8167 GB, free: 7.449 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001285/1.607, allocations: 143.8 kB / 0.8169 GB, free: 7.434 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001256/1.608, allocations: 0.5562 MB / 0.8174 GB, free: 7.09 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002059/1.61, allocations: 0.8011 MB / 0.8182 GB, free: 6.484 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004525/1.614, allocations: 1.953 MB / 0.8201 GB, free: 5.215 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 1.193e-05/1.615, allocations: 2.531 kB / 0.8201 GB, free: 5.215 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.034e-06/1.615, allocations: 3.938 kB / 0.8201 GB, free: 5.211 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001402/1.615, allocations: 0 / 0.8201 GB, free: 5.211 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: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.008105/1.623, allocations: 2.363 MB / 0.8224 GB, free: 3.43 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 6.528e-05/1.623, allocations: 10.41 kB / 0.8224 GB, free: 3.43 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003821/1.623, allocations: 109.1 kB / 0.8225 GB, free: 3.336 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000968/1.624, allocations: 243.4 kB / 0.8228 GB, free: 3.203 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00312/1.627, allocations: 1.047 MB / 0.8238 GB, free: 2.41 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002842/1.628, allocations: 94.88 kB / 0.8239 GB, free: 2.348 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003064/1.628, allocations: 71.75 kB / 0.824 GB, free: 2.324 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002867/1.631, allocations: 0.7967 MB / 0.8247 GB, free: 1.844 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.908e-05/1.631, allocations: 2.875 kB / 0.8247 GB, free: 1.844 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001368/1.631, allocations: 28.81 kB / 0.8248 GB, free: 1.82 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.355e-05/1.631, allocations: 14.81 kB / 0.8248 GB, free: 1.82 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002252/1.633, allocations: 0.6387 MB / 0.8254 GB, free: 1.508 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01074/1.644, allocations: 3.729 MB / 0.829 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002846/1.647, allocations: 0.7395 MB / 0.8298 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001424/1.649, allocations: 434.7 kB / 0.8302 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000111/1.649, allocations: 16.42 kB / 0.8302 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001476/1.65, allocations: 452.2 kB / 0.8306 GB, free: 13.65 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=73): time 8.315e-06/1.65, allocations: 0 / 0.8306 GB, free: 13.65 MB / 0.6075 GB Notification: Performance of matching and sorting (n=73): time 0.007694/1.658, allocations: 1.827 MB / 0.8324 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001167/1.658, allocations: 71.47 kB / 0.8325 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009664/1.668, allocations: 3.377 MB / 0.8358 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0003041/1.668, allocations: 41.7 kB / 0.8358 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001735/1.67, allocations: 0.9331 MB / 0.8367 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006575/1.671, allocations: 234.9 kB / 0.837 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006489/1.671, allocations: 142.6 kB / 0.8371 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002149/1.672, allocations: 334 kB / 0.8374 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001245/1.673, allocations: 321.7 kB / 0.8377 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001369/1.674, allocations: 476 kB / 0.8382 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002224/1.677, allocations: 0.7429 MB / 0.8389 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-05/1.677, allocations: 4 kB / 0.8389 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.004645/1.681, allocations: 1.251 MB / 0.8401 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.638e-05/1.681, allocations: 8 kB / 0.8401 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.35e-05/1.681, allocations: 4 kB / 0.8401 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001261/1.683, allocations: 258.6 kB / 0.8404 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009051/1.684, allocations: 131.8 kB / 0.8405 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008554/1.692, allocations: 4.76 MB / 0.8452 GB, free: 0.6797 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001797/1.694, allocations: 99.23 kB / 0.8452 GB, free: 0.582 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002467/1.694, allocations: 32.05 kB / 0.8453 GB, free: 0.5508 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 30 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition4,$PRE.outdoorTemp.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,outdoorTemp.nextTimeEventScaled,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEvent,greaterThreshold1.y,tableSolRadWindow.nextTimeEventScaled,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,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 (77): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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 {(1,3,100.0%), (2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002034/1.696, allocations: 0.6104 MB / 0.8459 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008481/1.697, allocations: 217.2 kB / 0.8461 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001079/1.698, allocations: 261.2 kB / 0.8463 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.819e-05/1.698, allocations: 8 kB / 0.8463 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.037e-05/1.699, allocations: 4 kB / 0.8463 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-05/1.699, allocations: 7.984 kB / 0.8464 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008101/1.707, allocations: 2.417 MB / 0.8487 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.2e-05/1.707, allocations: 3.938 kB / 0.8487 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005636/1.707, allocations: 71.89 kB / 0.8488 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001013/1.708, allocations: 247.8 kB / 0.849 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001239/1.708, allocations: 19.98 kB / 0.849 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007714/1.716, allocations: 4.737 MB / 0.8537 GB, free: 7.617 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/1.716, allocations: 0 / 0.8537 GB, free: 7.617 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004917/1.721, allocations: 1.642 MB / 0.8553 GB, free: 5.953 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001115/1.722, allocations: 318.3 kB / 0.8556 GB, free: 5.621 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004944/1.723, allocations: 23.98 kB / 0.8556 GB, free: 5.598 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009395/1.724, allocations: 35.91 kB / 0.8556 GB, free: 5.562 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003257/1.724, allocations: 80.5 kB / 0.8557 GB, free: 5.484 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001033/1.724, allocations: 27.98 kB / 0.8557 GB, free: 5.457 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.005235/1.73, allocations: 2.468 MB / 0.8581 GB, free: 2.977 MB / 0.6231 GB Notification: Performance of sort global known variables: time 5.61e-07/1.73, allocations: 0 / 0.8581 GB, free: 2.977 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002319/1.732, allocations: 307.4 kB / 0.8584 GB, free: 2.676 MB / 0.6231 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: 19 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,tableSolRadWindow.nextTimeEvent,outdoorTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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,18,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.007019/1.739, allocations: 2.581 MB / 0.861 GB, free: 256 kB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003389/1.742, allocations: 1.09 MB / 0.862 GB, free: 15.13 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/1.742, allocations: 0 / 0.862 GB, free: 15.13 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001901/1.744, allocations: 0.7065 MB / 0.8627 GB, free: 14.4 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003126/1.748, allocations: 297.5 kB / 0.863 GB, free: 14.12 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.041/1.789, allocations: 14.12 MB / 0.8768 GB, free: 15.74 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00283/1.791, allocations: 1.556 MB / 0.8783 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001099/1.793, allocations: 150.7 kB / 0.8785 GB, free: 14.01 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001777/1.794, allocations: 0.7492 MB / 0.8792 GB, free: 13.26 MB / 0.6544 GB Notification: Performance of SimCode: time 2.455e-06/1.795, allocations: 4 kB / 0.8792 GB, free: 13.26 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.139/1.934, allocations: 34.82 MB / 0.9132 GB, free: 10.79 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.17/27.11, allocations: 16.55 kB / 0.9132 GB, free: 10.77 MB / 0.6856 GB (rm -f IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; mkfifo IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe >> ../files/IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10.fmu > IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe 2>&1)