Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.TestCase3,fileNamePrefix="Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,fileNamePrefix="Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3",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.001381/0.001381, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001586/0.001586, allocations: 191 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.219/1.219, allocations: 205.1 MB / 222 MB, free: 4.77 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.568/1.568, allocations: 292.3 MB / 0.5484 GB, free: 13.69 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 65.92 kB / 0.6709 GB, free: 26.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.164/0.1653, allocations: 114.5 MB / 0.7828 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.4581/0.6234, allocations: 154.4 MB / 0.9336 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0166/0.6401, allocations: 21.43 MB / 0.9545 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001473/0.6416, allocations: 44.59 kB / 0.9546 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001601/0.6432, allocations: 1.132 MB / 0.9557 GB, free: 5.977 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001118/0.6443, allocations: 0.811 MB / 0.9565 GB, free: 5.945 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008025/0.6452, allocations: 355.1 kB / 0.9568 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001196/0.6464, allocations: 1.342 MB / 0.9581 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007217/0.6471, allocations: 0.6118 MB / 0.9587 GB, free: 5.883 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006457/0.6477, allocations: 494.8 kB / 0.9592 GB, free: 5.883 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008663/0.6486, allocations: 0.9067 MB / 0.9601 GB, free: 5.879 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.915e-05/0.6487, allocations: 37.81 kB / 0.9601 GB, free: 5.879 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002187/0.6489, allocations: 80.41 kB / 0.9602 GB, free: 5.879 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002311/0.6492, allocations: 308.8 kB / 0.9605 GB, free: 5.875 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003412/0.6495, allocations: 465.8 kB / 0.9609 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0007578/0.6503, allocations: 1.15 MB / 0.9621 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.6503, allocations: 0 / 0.9621 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of FrontEnd: time 9.22e-07/0.6503, allocations: 5.062 kB / 0.9621 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.102e-05/0.6503, allocations: 0 / 0.9621 GB, free: 5.523 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.002007/0.6523, allocations: 1.471 MB / 0.9635 GB, free: 20.65 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.6524, allocations: 12.8 kB / 0.9635 GB, free: 20.65 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.854e-05/0.6525, allocations: 83.03 kB / 0.9636 GB, free: 20.61 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001517/0.6526, allocations: 132 kB / 0.9637 GB, free: 20.55 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006631/0.6533, allocations: 0.6603 MB / 0.9644 GB, free: 20.15 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001086/0.6534, allocations: 70.64 kB / 0.9644 GB, free: 20.12 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.98e-05/0.6535, allocations: 48.53 kB / 0.9645 GB, free: 20.12 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008279/0.6543, allocations: 0.5154 MB / 0.965 GB, free: 20.05 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.6544, allocations: 4.188 kB / 0.965 GB, free: 20.05 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.206e-05/0.6544, allocations: 15.28 kB / 0.965 GB, free: 20.05 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.6544, allocations: 10.88 kB / 0.965 GB, free: 20.05 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007633/0.6552, allocations: 413.9 kB / 0.9654 GB, free: 20.04 MB / 0.7481 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.002904/0.6581, allocations: 2.728 MB / 0.9681 GB, free: 18.6 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008595/0.659, allocations: 448 kB / 0.9685 GB, free: 18.56 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005621/0.6596, allocations: 307.8 kB / 0.9688 GB, free: 18.55 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.125e-05/0.6596, allocations: 3.719 kB / 0.9688 GB, free: 18.55 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004767/0.6601, allocations: 297.6 kB / 0.9691 GB, free: 18.48 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=44): time 1.763e-06/0.6601, allocations: 0 / 0.9691 GB, free: 18.48 MB / 0.7481 GB Notification: Performance of matching and sorting (n=44): time 0.002371/0.6625, allocations: 1.136 MB / 0.9702 GB, free: 18.16 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/0.6625, allocations: 66.48 kB / 0.9702 GB, free: 18.09 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001601/0.6641, allocations: 1.758 MB / 0.972 GB, free: 17.94 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.135e-05/0.6642, allocations: 35.86 kB / 0.972 GB, free: 17.91 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003175/0.6645, allocations: 0.5293 MB / 0.9725 GB, free: 17.77 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 7.953e-05/0.6646, allocations: 137.5 kB / 0.9726 GB, free: 17.68 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001292/0.6647, allocations: 102.6 kB / 0.9727 GB, free: 17.66 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.6648, allocations: 325 kB / 0.9731 GB, free: 17.36 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004378/0.6653, allocations: 214.7 kB / 0.9733 GB, free: 17.35 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004678/0.6658, allocations: 344.7 kB / 0.9736 GB, free: 17.21 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007726/0.6666, allocations: 0.5122 MB / 0.9741 GB, free: 17.08 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.6666, allocations: 0 / 0.9741 GB, free: 17.08 MB / 0.7481 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001325/0.6679, allocations: 0.8122 MB / 0.9749 GB, free: 16.95 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.6679, allocations: 10.66 kB / 0.9749 GB, free: 16.95 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.6679, allocations: 2.719 kB / 0.9749 GB, free: 16.95 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003658/0.6683, allocations: 143.7 kB / 0.975 GB, free: 16.93 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003484/0.6687, allocations: 102.4 kB / 0.9751 GB, free: 16.93 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002426/0.6711, allocations: 2.379 MB / 0.9775 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000407/0.6715, allocations: 82.94 kB / 0.9775 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.751e-05/0.6716, allocations: 27.98 kB / 0.9776 GB, free: 15.51 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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,$PRE.mean.y,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 (54): * Single equations (assignments): 53 * 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 {(1,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003922/0.672, allocations: 386.1 kB / 0.9779 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/0.6721, allocations: 115 kB / 0.978 GB, free: 15.33 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001786/0.6723, allocations: 144 kB / 0.9782 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.6723, allocations: 2.844 kB / 0.9782 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/0.6723, allocations: 7.344 kB / 0.9782 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.6723, allocations: 3.234 kB / 0.9782 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002036/0.6743, allocations: 1.49 MB / 0.9796 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.6743, allocations: 0 / 0.9796 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002065/0.6746, allocations: 44.5 kB / 0.9797 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003416/0.6749, allocations: 171.3 kB / 0.9798 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.145e-05/0.6749, allocations: 13.28 kB / 0.9799 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002901/0.6779, allocations: 3.692 MB / 0.9835 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.6779, allocations: 0 / 0.9835 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00143/0.6793, allocations: 0.9787 MB / 0.9844 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002123/0.6795, allocations: 224 kB / 0.9846 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.757e-05/0.6796, allocations: 7.844 kB / 0.9846 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003165/0.6799, allocations: 39.91 kB / 0.9847 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/0.6801, allocations: 53.72 kB / 0.9847 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.457e-05/0.6801, allocations: 16.34 kB / 0.9847 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001063/0.6812, allocations: 1.288 MB / 0.986 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of sort global known variables: time 4.21e-07/0.6812, allocations: 0 / 0.986 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006464/0.6818, allocations: 195.7 kB / 0.9862 GB, free: 11.75 MB / 0.7481 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) * 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,12,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.002629/0.6845, allocations: 1.905 MB / 0.9881 GB, free: 10.88 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001072/0.6856, allocations: 0.6563 MB / 0.9887 GB, free: 10.63 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.6856, allocations: 2.156 kB / 0.9887 GB, free: 10.63 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0006781/0.6863, allocations: 0.5459 MB / 0.9892 GB, free: 10.28 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009034/0.6872, allocations: 188.7 kB / 0.9894 GB, free: 10.21 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01062/0.6978, allocations: 9.316 MB / 0.9985 GB, free: 5.301 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006526/0.6985, allocations: 1.144 MB / 0.9996 GB, free: 4.543 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002654/0.6987, allocations: 97.81 kB / 0.9997 GB, free: 4.527 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004148/0.6992, allocations: 401 kB / 1 GB, free: 4.199 MB / 0.7481 GB Notification: Performance of SimCode: time 3.31e-07/0.6992, allocations: 0 / 1 GB, free: 4.199 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03251/0.7317, allocations: 19.72 MB / 1.019 GB, free: 11.91 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001901/0.7319, allocations: 278.8 kB / 1.02 GB, free: 11.54 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.043/2.774, allocations: 4 kB / 1.02 GB, free: 11.53 MB / 0.7637 GB (rm -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.fmu > Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1)