Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.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.TestCase4,fileNamePrefix="IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,fileNamePrefix="IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4",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.001275/0.001275, allocations: 107.6 kB / 16.4 MB, free: 6.488 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.001372/0.001372, allocations: 197.2 kB / 17.34 MB, free: 5.762 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.316/1.316, 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 0.6976/0.6976, allocations: 115.3 MB / 406.5 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 69.55 kB / 0.5572 GB, free: 32.86 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.1582, allocations: 76.18 MB / 0.6316 GB, free: 5.039 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.5764/0.7347, allocations: 156.7 MB / 0.7846 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02563/0.7604, allocations: 21.76 MB / 0.8058 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002991/0.7634, allocations: 54.75 kB / 0.8059 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001594/0.7651, allocations: 1.163 MB / 0.807 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001757/0.7669, allocations: 0.8485 MB / 0.8079 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001386/0.7683, allocations: 440.3 kB / 0.8083 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001703/0.77, allocations: 1.267 MB / 0.8095 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008951/0.7709, allocations: 0.6835 MB / 0.8102 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007205/0.7716, allocations: 0.5606 MB / 0.8107 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009309/0.7726, allocations: 0.9099 MB / 0.8116 GB, free: 9.699 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.489e-05/0.7727, allocations: 69.81 kB / 0.8117 GB, free: 9.695 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000253/0.7729, allocations: 108.3 kB / 0.8118 GB, free: 9.684 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002446/0.7732, allocations: 316.9 kB / 0.8121 GB, free: 9.484 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004095/0.7736, allocations: 490 kB / 0.8126 GB, free: 9.133 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001261/0.7749, allocations: 1.204 MB / 0.8137 GB, free: 8.34 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.7749, allocations: 0 / 0.8137 GB, free: 8.34 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.833e-06/0.7749, allocations: 0 / 0.8137 GB, free: 8.34 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.933e-05/0.7749, allocations: 0 / 0.8137 GB, free: 8.34 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.002189/0.7771, allocations: 1.486 MB / 0.8152 GB, free: 7.18 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.7772, allocations: 10.12 kB / 0.8152 GB, free: 7.18 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.899e-05/0.7773, allocations: 85.77 kB / 0.8153 GB, free: 7.102 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002114/0.7775, allocations: 138 kB / 0.8154 GB, free: 7.027 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008214/0.7783, allocations: 0.6578 MB / 0.8161 GB, free: 6.5 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001215/0.7785, allocations: 75.81 kB / 0.8161 GB, free: 6.445 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.532e-05/0.7785, allocations: 45.81 kB / 0.8162 GB, free: 6.43 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008861/0.7794, allocations: 0.5147 MB / 0.8167 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.103e-05/0.7795, allocations: 7.203 kB / 0.8167 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.701e-05/0.7795, allocations: 22.77 kB / 0.8167 GB, free: 6.082 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/0.7795, allocations: 9.375 kB / 0.8167 GB, free: 6.082 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007954/0.7803, allocations: 415.2 kB / 0.8171 GB, free: 5.887 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.003716/0.7841, allocations: 2.785 MB / 0.8198 GB, free: 3.477 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000989/0.7851, allocations: 464.5 kB / 0.8203 GB, free: 3.238 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005481/0.7856, allocations: 293.7 kB / 0.8206 GB, free: 3.098 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.363e-05/0.7857, allocations: 5.484 kB / 0.8206 GB, free: 3.098 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005302/0.7862, allocations: 295.4 kB / 0.8208 GB, free: 2.91 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=45): time 3.336e-06/0.7862, allocations: 2.188 kB / 0.8208 GB, free: 2.91 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45): time 0.002843/0.7891, allocations: 1.241 MB / 0.8221 GB, free: 2.156 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.735e-05/0.7892, allocations: 60.66 kB / 0.8221 GB, free: 2.09 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001834/0.791, allocations: 1.751 MB / 0.8238 GB, free: 1.301 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.46e-05/0.7911, allocations: 40.39 kB / 0.8239 GB, free: 1.258 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004489/0.7915, allocations: 0.5175 MB / 0.8244 GB, free: 0.8086 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001366/0.7917, allocations: 151.5 kB / 0.8245 GB, free: 0.6836 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001456/0.7918, allocations: 97.53 kB / 0.8246 GB, free: 0.6211 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.792, allocations: 324.1 kB / 0.8249 GB, free: 312 kB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004601/0.7924, allocations: 221.3 kB / 0.8251 GB, free: 204 kB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005181/0.7929, allocations: 327.8 kB / 0.8254 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000866/0.7938, allocations: 0.5129 MB / 0.8259 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.7938, allocations: 448 / 0.8259 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00154/0.7954, allocations: 0.8485 MB / 0.8268 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.7954, allocations: 7.875 kB / 0.8268 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.7954, allocations: 2.219 kB / 0.8268 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005144/0.7959, allocations: 183.9 kB / 0.8269 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003319/0.7963, allocations: 106.1 kB / 0.827 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00364/0.7999, allocations: 2.994 MB / 0.83 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005479/0.8005, allocations: 71.03 kB / 0.83 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.403e-05/0.8006, allocations: 23.05 kB / 0.8301 GB, free: 12.58 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.0006702/0.8012, allocations: 383.1 kB / 0.8304 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001577/0.8014, allocations: 123.8 kB / 0.8305 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002421/0.8017, allocations: 142.7 kB / 0.8307 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.8017, allocations: 4.719 kB / 0.8307 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.608e-05/0.8017, allocations: 2.781 kB / 0.8307 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.8017, allocations: 3.984 kB / 0.8307 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002384/0.8041, allocations: 1.562 MB / 0.8322 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.8041, allocations: 2.125 kB / 0.8322 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002108/0.8043, allocations: 45.06 kB / 0.8323 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004839/0.8048, allocations: 194.5 kB / 0.8324 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.881e-05/0.8049, allocations: 12.72 kB / 0.8325 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004448/0.8093, allocations: 4.553 MB / 0.8369 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.8094, allocations: 0 / 0.8369 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001912/0.8113, allocations: 1.065 MB / 0.8379 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003606/0.8117, allocations: 215.8 kB / 0.8382 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001326/0.8118, allocations: 20.7 kB / 0.8382 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003362/0.8121, allocations: 27.56 kB / 0.8382 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001565/0.8123, allocations: 50.14 kB / 0.8382 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.025e-05/0.8124, allocations: 14.19 kB / 0.8383 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.00146/0.8138, allocations: 1.282 MB / 0.8395 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.2e-07/0.8138, allocations: 0 / 0.8395 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008158/0.8147, allocations: 201.2 kB / 0.8397 GB, free: 5.352 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.003126/0.8178, allocations: 1.99 MB / 0.8416 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001544/0.8194, allocations: 0.7194 MB / 0.8424 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.8194, allocations: 0 / 0.8424 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008981/0.8203, allocations: 0.5595 MB / 0.8429 GB, free: 2.207 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001094/0.8214, allocations: 201.4 kB / 0.8431 GB, free: 2.016 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01263/0.834, allocations: 8.564 MB / 0.8515 GB, free: 9.242 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008585/0.8349, allocations: 1.146 MB / 0.8526 GB, free: 8.062 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003013/0.8353, allocations: 88.77 kB / 0.8527 GB, free: 7.977 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004444/0.8357, allocations: 407.3 kB / 0.853 GB, free: 7.578 MB / 0.6231 GB Notification: Performance of SimCode: time 5.01e-07/0.8357, allocations: 3.938 kB / 0.853 GB, free: 7.574 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05336/0.8891, allocations: 21.58 MB / 0.8741 GB, free: 2.289 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.11/13, allocations: 3.984 kB / 0.8741 GB, free: 2.285 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.fmu > IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1)