Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.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.TestCase1,fileNamePrefix="Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,fileNamePrefix="Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1",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.001113/0.001113, 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.00111/0.00111, allocations: 195.3 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.139/1.139, allocations: 205.1 MB / 222 MB, free: 4.973 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.517/1.517, allocations: 292.3 MB / 0.5484 GB, free: 13.66 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.001312/0.001312, allocations: 69.89 kB / 0.6709 GB, free: 26.47 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1738/0.1751, allocations: 114.5 MB / 0.7828 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.528/0.7032, allocations: 154.4 MB / 0.9336 GB, free: 6.418 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02104/0.7243, allocations: 21.44 MB / 0.9545 GB, free: 6.098 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002324/0.7266, allocations: 45.62 kB / 0.9546 GB, free: 6.098 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.00204/0.7287, allocations: 1.122 MB / 0.9557 GB, free: 6.059 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0017/0.7304, allocations: 0.8166 MB / 0.9565 GB, free: 6.023 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001218/0.7317, allocations: 354.9 kB / 0.9568 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002255/0.7339, allocations: 1.343 MB / 0.9581 GB, free: 6.016 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001104/0.7351, allocations: 0.6048 MB / 0.9587 GB, free: 5.965 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000963/0.736, allocations: 0.4901 MB / 0.9592 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001179/0.7372, allocations: 0.9082 MB / 0.9601 GB, free: 5.957 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001069/0.7373, allocations: 37.34 kB / 0.9601 GB, free: 5.957 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003023/0.7377, allocations: 77.91 kB / 0.9602 GB, free: 5.957 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002946/0.738, allocations: 306 kB / 0.9605 GB, free: 5.957 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0004502/0.7384, allocations: 466.8 kB / 0.9609 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0008155/0.7392, allocations: 1.15 MB / 0.9621 GB, free: 5.609 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.7393, allocations: 4 kB / 0.9621 GB, free: 5.609 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.002e-06/0.7393, allocations: 0 / 0.9621 GB, free: 5.609 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.255e-05/0.7393, allocations: 0 / 0.9621 GB, free: 5.609 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.00215/0.7414, allocations: 1.468 MB / 0.9635 GB, free: 20.74 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.7415, allocations: 9.719 kB / 0.9635 GB, free: 20.74 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.803e-05/0.7416, allocations: 82.62 kB / 0.9636 GB, free: 20.7 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001634/0.7417, allocations: 134.4 kB / 0.9637 GB, free: 20.63 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007158/0.7425, allocations: 0.6529 MB / 0.9644 GB, free: 20.24 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001178/0.7426, allocations: 75.17 kB / 0.9644 GB, free: 20.21 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.489e-05/0.7427, allocations: 48.16 kB / 0.9645 GB, free: 20.21 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008491/0.7435, allocations: 0.517 MB / 0.965 GB, free: 20.13 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/0.7436, allocations: 1.094 kB / 0.965 GB, free: 20.13 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.292e-05/0.7436, allocations: 17.91 kB / 0.965 GB, free: 20.13 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.185e-05/0.7436, allocations: 10.44 kB / 0.965 GB, free: 20.13 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007578/0.7444, allocations: 415.1 kB / 0.9654 GB, free: 20.12 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.00327/0.7477, allocations: 2.728 MB / 0.9681 GB, free: 18.68 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009395/0.7486, allocations: 443.2 kB / 0.9685 GB, free: 18.65 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006485/0.7493, allocations: 317.1 kB / 0.9688 GB, free: 18.63 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 4.105e-05/0.7493, allocations: 6.266 kB / 0.9688 GB, free: 18.63 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005406/0.7499, allocations: 285.1 kB / 0.9691 GB, free: 18.57 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=44): time 2.224e-06/0.7499, allocations: 0 / 0.9691 GB, free: 18.57 MB / 0.7481 GB Notification: Performance of matching and sorting (n=44): time 0.00251/0.7524, allocations: 1.146 MB / 0.9702 GB, free: 18.24 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.101e-05/0.7525, allocations: 56.5 kB / 0.9702 GB, free: 18.18 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001733/0.7542, allocations: 1.765 MB / 0.972 GB, free: 18.02 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 5.805e-05/0.7543, allocations: 36.52 kB / 0.972 GB, free: 17.99 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003443/0.7546, allocations: 0.5233 MB / 0.9725 GB, free: 17.85 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 9.003e-05/0.7547, allocations: 144.5 kB / 0.9726 GB, free: 17.77 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001414/0.7549, allocations: 102.8 kB / 0.9727 GB, free: 17.75 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.755, allocations: 331.4 kB / 0.9731 GB, free: 17.44 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004277/0.7554, allocations: 215.5 kB / 0.9733 GB, free: 17.43 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004465/0.7559, allocations: 346.6 kB / 0.9736 GB, free: 17.29 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007376/0.7566, allocations: 0.5138 MB / 0.9741 GB, free: 17.16 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.7566, allocations: 0 / 0.9741 GB, free: 17.16 MB / 0.7481 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001368/0.758, allocations: 0.8053 MB / 0.9749 GB, free: 17.03 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.758, allocations: 11.69 kB / 0.9749 GB, free: 17.02 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.7581, allocations: 3.031 kB / 0.9749 GB, free: 17.02 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003931/0.7584, allocations: 142.6 kB / 0.975 GB, free: 17.01 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003484/0.7588, allocations: 102.5 kB / 0.9751 GB, free: 17.01 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002428/0.7612, allocations: 2.379 MB / 0.9775 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004644/0.7617, allocations: 83.06 kB / 0.9775 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.429e-05/0.7618, allocations: 21.84 kB / 0.9776 GB, free: 15.59 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.0005007/0.7623, allocations: 392.9 kB / 0.9779 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001256/0.7624, allocations: 111.6 kB / 0.978 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002566/0.7627, allocations: 145.3 kB / 0.9782 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.7627, allocations: 3.688 kB / 0.9782 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.43e-05/0.7627, allocations: 6.969 kB / 0.9782 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.7627, allocations: 1.562 kB / 0.9782 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00213/0.7649, allocations: 1.492 MB / 0.9796 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.7649, allocations: 2.812 kB / 0.9796 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002012/0.7651, allocations: 43.97 kB / 0.9797 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003456/0.7654, allocations: 162.1 kB / 0.9798 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.217e-05/0.7655, allocations: 15.83 kB / 0.9799 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00327/0.7688, allocations: 3.688 MB / 0.9835 GB, free: 12.37 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.7688, allocations: 0 / 0.9835 GB, free: 12.37 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001648/0.7704, allocations: 0.9857 MB / 0.9844 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002482/0.7707, allocations: 210.9 kB / 0.9846 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.657e-05/0.7708, allocations: 16.02 kB / 0.9846 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003294/0.7711, allocations: 45.72 kB / 0.9847 GB, free: 11.97 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/0.7713, allocations: 47.06 kB / 0.9847 GB, free: 11.97 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.032e-05/0.7713, allocations: 22.81 kB / 0.9847 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001293/0.7726, allocations: 1.286 MB / 0.986 GB, free: 11.85 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7726, allocations: 0 / 0.986 GB, free: 11.85 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0008646/0.7735, allocations: 202.1 kB / 0.9862 GB, free: 11.84 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.003131/0.7766, allocations: 1.91 MB / 0.9881 GB, free: 10.91 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001408/0.778, allocations: 0.6649 MB / 0.9887 GB, free: 10.63 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.7781, allocations: 0 / 0.9887 GB, free: 10.63 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0007958/0.7789, allocations: 0.5299 MB / 0.9892 GB, free: 10.29 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001211/0.7801, allocations: 185.9 kB / 0.9894 GB, free: 10.22 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01327/0.7934, allocations: 9.312 MB / 0.9985 GB, free: 5.305 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007029/0.7941, allocations: 1.152 MB / 0.9996 GB, free: 4.543 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003884/0.7945, allocations: 98.72 kB / 0.9997 GB, free: 4.523 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004253/0.7949, allocations: 398.1 kB / 1 GB, free: 4.195 MB / 0.7481 GB Notification: Performance of SimCode: time 1.473e-06/0.7949, allocations: 0 / 1 GB, free: 4.195 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.159/2.954, allocations: 19.72 MB / 1.019 GB, free: 11.92 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005827/2.955, allocations: 286.6 kB / 1.02 GB, free: 11.54 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.099/5.054, allocations: 0 / 1.02 GB, free: 11.54 MB / 0.7637 GB (rm -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe >> ../files/Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1.fmu > Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe 2>&1)