Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.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/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.ReducedOrder.Validation.VDI6007.TestCase2,fileNamePrefix="Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,fileNamePrefix="Buildings_10_Buildings_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.001543/0.001543, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001296/0.001296, allocations: 193.7 kB / 16.14 MB, free: 6.699 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.289/1.289, allocations: 222.9 MB / 239.8 MB, free: 4.613 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.34/2.34, allocations: 437 MB / 0.71 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 67.89 kB / 0.8687 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5564/0.5578, allocations: 151.6 MB / 1.017 GB, free: 2.805 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.1647/0.7225, allocations: 154.5 MB / 1.168 GB, free: 7.742 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0239/0.7464, allocations: 21.61 MB / 1.189 GB, free: 2.066 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001793/0.7483, allocations: 51.69 kB / 1.189 GB, free: 2.016 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.00154/0.7499, allocations: 1.119 MB / 1.19 GB, free: 0.8945 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001305/0.7512, allocations: 0.8137 MB / 1.191 GB, free: 80 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001059/0.7523, allocations: 386.7 kB / 1.191 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001237/0.7535, allocations: 1.348 MB / 1.192 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006478/0.7542, allocations: 0.6181 MB / 1.193 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005318/0.7547, allocations: 494.3 kB / 1.193 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008803/0.7556, allocations: 0.9137 MB / 1.194 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 8.591e-05/0.7557, allocations: 36 kB / 1.194 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002097/0.7559, allocations: 79.97 kB / 1.194 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002711/0.7562, allocations: 308.7 kB / 1.195 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003939/0.7566, allocations: 468.8 kB / 1.195 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0009075/0.7575, allocations: 1.152 MB / 1.196 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.7575, allocations: 0 / 1.196 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.344e-06/0.7575, allocations: 0 / 1.196 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.248e-05/0.7575, allocations: 3.938 kB / 1.196 GB, free: 10.3 MB / 0.9512 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.002076/0.7596, allocations: 1.478 MB / 1.198 GB, free: 8.766 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.7597, allocations: 12.03 kB / 1.198 GB, free: 8.754 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.271e-05/0.7598, allocations: 82.72 kB / 1.198 GB, free: 8.664 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001694/0.76, allocations: 135.3 kB / 1.198 GB, free: 8.531 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007655/0.7607, allocations: 0.6509 MB / 1.199 GB, free: 7.828 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001094/0.7608, allocations: 70.69 kB / 1.199 GB, free: 7.754 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.289e-05/0.7609, allocations: 44 kB / 1.199 GB, free: 7.711 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000898/0.7618, allocations: 0.5223 MB / 1.199 GB, free: 7.168 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.7619, allocations: 3.984 kB / 1.199 GB, free: 7.164 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.597e-05/0.7619, allocations: 20 kB / 1.199 GB, free: 7.145 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.908e-06/0.7619, allocations: 8 kB / 1.199 GB, free: 7.137 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007881/0.7627, allocations: 415.7 kB / 1.2 GB, free: 6.734 MB / 0.9512 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.003321/0.7661, allocations: 2.811 MB / 1.202 GB, free: 3.672 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009877/0.7671, allocations: 455.8 kB / 1.203 GB, free: 3.219 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005455/0.7676, allocations: 286.9 kB / 1.203 GB, free: 2.938 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.552e-05/0.7677, allocations: 8.594 kB / 1.203 GB, free: 2.93 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005488/0.7682, allocations: 294.1 kB / 1.203 GB, free: 2.633 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=45): time 2.344e-06/0.7682, allocations: 0 / 1.203 GB, free: 2.633 MB / 0.9512 GB Notification: Performance of matching and sorting (n=45): time 0.002819/0.7711, allocations: 1.252 MB / 1.205 GB, free: 1.328 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.61e-05/0.7711, allocations: 63.33 kB / 1.205 GB, free: 1.254 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001697/0.7728, allocations: 1.752 MB / 1.206 GB, free: 15.49 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.061e-05/0.7729, allocations: 41.69 kB / 1.206 GB, free: 15.44 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003939/0.7733, allocations: 0.5101 MB / 1.207 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001205/0.7734, allocations: 149.8 kB / 1.207 GB, free: 14.78 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001402/0.7735, allocations: 98.25 kB / 1.207 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.7737, allocations: 330 kB / 1.207 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004646/0.7741, allocations: 217 kB / 1.208 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005115/0.7747, allocations: 328.9 kB / 1.208 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008731/0.7755, allocations: 0.5099 MB / 1.208 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.922e-06/0.7756, allocations: 7.938 kB / 1.208 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001561/0.7771, allocations: 0.8372 MB / 1.209 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.7771, allocations: 8.156 kB / 1.209 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.7772, allocations: 11.98 kB / 1.209 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005076/0.7777, allocations: 187 kB / 1.209 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003454/0.778, allocations: 95.81 kB / 1.21 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003177/0.7812, allocations: 2.738 MB / 1.212 GB, free: 9.215 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004346/0.7817, allocations: 83.55 kB / 1.212 GB, free: 9.133 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.569e-05/0.7817, allocations: 20 kB / 1.212 GB, free: 9.113 MB / 0.9669 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.0004765/0.7822, allocations: 383.8 kB / 1.213 GB, free: 8.73 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001304/0.7823, allocations: 122.4 kB / 1.213 GB, free: 8.609 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002016/0.7825, allocations: 143.7 kB / 1.213 GB, free: 8.465 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.7826, allocations: 4 kB / 1.213 GB, free: 8.461 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/0.7826, allocations: 4 kB / 1.213 GB, free: 8.457 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.724e-06/0.7826, allocations: 3.984 kB / 1.213 GB, free: 8.453 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002329/0.7849, allocations: 1.567 MB / 1.214 GB, free: 6.828 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.7849, allocations: 0 / 1.214 GB, free: 6.828 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000224/0.7852, allocations: 43.97 kB / 1.215 GB, free: 6.785 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004658/0.7856, allocations: 197.5 kB / 1.215 GB, free: 6.586 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.944e-05/0.7857, allocations: 8 kB / 1.215 GB, free: 6.578 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00394/0.7896, allocations: 4.13 MB / 1.219 GB, free: 2.18 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.7896, allocations: 0 / 1.219 GB, free: 2.18 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001834/0.7915, allocations: 1.057 MB / 1.22 GB, free: 1.098 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002522/0.7917, allocations: 215.5 kB / 1.22 GB, free: 0.8672 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.985e-05/0.7918, allocations: 11.94 kB / 1.22 GB, free: 0.8555 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003436/0.7922, allocations: 43.95 kB / 1.22 GB, free: 0.8125 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001301/0.7923, allocations: 51.86 kB / 1.22 GB, free: 0.7617 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.846e-05/0.7924, allocations: 15.98 kB / 1.22 GB, free: 0.7461 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.00133/0.7937, allocations: 1.284 MB / 1.221 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.9e-07/0.7937, allocations: 0 / 1.221 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0008076/0.7945, allocations: 211.7 kB / 1.222 GB, free: 15.25 MB / 0.9825 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.003098/0.7976, allocations: 1.978 MB / 1.224 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001581/0.7992, allocations: 0.7302 MB / 1.224 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.7993, allocations: 0 / 1.224 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0008881/0.8001, allocations: 0.5485 MB / 1.225 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/0.8012, allocations: 192.5 kB / 1.225 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0128/0.814, allocations: 9.411 MB / 1.234 GB, free: 2.105 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007703/0.8148, allocations: 1.146 MB / 1.235 GB, free: 0.9336 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0003174/0.8151, allocations: 88.78 kB / 1.235 GB, free: 0.8477 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004281/0.8156, allocations: 403.3 kB / 1.236 GB, free: 464 kB / 0.9825 GB Notification: Performance of SimCode: time 6.81e-07/0.8156, allocations: 0 / 1.236 GB, free: 464 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4952/1.311, allocations: 20.12 MB / 1.255 GB, free: 230.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001451/1.311, allocations: 281.9 kB / 1.256 GB, free: 230.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.22/3.531, allocations: 2.75 kB / 1.256 GB, free: 230.5 MB / 0.9981 GB (rm -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2_res.mat --tempDir=temp_Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2.fmu > Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1)