Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,fileNamePrefix="BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,fileNamePrefix="BuildingSystems_BuildingSystems_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.007345/0.007345, allocations: 100.7 kB / 15.73 MB, free: 5.555 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.001912/0.001912, allocations: 192.6 kB / 16.67 MB, free: 5.484 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.462/1.462, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002539/0.002539, allocations: 287.2 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.016/1.016, allocations: 169.3 MB / 0.4983 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002711/0.002711, allocations: 91.84 kB / 0.681 GB, free: 7.488 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4418/0.4445, allocations: 86.98 MB / 0.7659 GB, free: 3.848 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.1796/0.6242, allocations: 156.7 MB / 0.9189 GB, free: 6.523 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.03011/0.6543, allocations: 21.76 MB / 0.9402 GB, free: 0.6914 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002157/0.6565, allocations: 55.69 kB / 0.9402 GB, free: 0.6367 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001893/0.6584, allocations: 1.165 MB / 0.9414 GB, free: 15.46 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001754/0.6603, allocations: 0.8483 MB / 0.9422 GB, free: 14.62 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00134/0.6616, allocations: 443.6 kB / 0.9426 GB, free: 14.19 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001717/0.6634, allocations: 1.255 MB / 0.9439 GB, free: 12.93 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001114/0.6645, allocations: 0.6791 MB / 0.9445 GB, free: 12.25 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001011/0.6655, allocations: 0.5568 MB / 0.9451 GB, free: 11.69 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001394/0.6669, allocations: 0.9177 MB / 0.946 GB, free: 10.77 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001965/0.6671, allocations: 64 kB / 0.946 GB, free: 10.71 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003846/0.6675, allocations: 108 kB / 0.9461 GB, free: 10.6 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003626/0.6679, allocations: 316.7 kB / 0.9464 GB, free: 10.29 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0006705/0.6686, allocations: 492.8 kB / 0.9469 GB, free: 9.805 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001683/0.6703, allocations: 1.207 MB / 0.9481 GB, free: 8.598 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.6703, allocations: 0 / 0.9481 GB, free: 8.598 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.814e-06/0.6703, allocations: 4 kB / 0.9481 GB, free: 8.594 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.355e-05/0.6703, allocations: 0 / 0.9481 GB, free: 8.594 MB / 0.7169 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.002833/0.6732, allocations: 1.525 MB / 0.9496 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.6732, allocations: 11.97 kB / 0.9496 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001236/0.6734, allocations: 82.72 kB / 0.9497 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002313/0.6736, allocations: 148 kB / 0.9498 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001004/0.6746, allocations: 0.6754 MB / 0.9505 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001346/0.6748, allocations: 70.69 kB / 0.9505 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.52e-05/0.6749, allocations: 44 kB / 0.9506 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001014/0.6759, allocations: 0.5184 MB / 0.9511 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.188e-05/0.6759, allocations: 4 kB / 0.9511 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.85e-05/0.676, allocations: 19.98 kB / 0.9511 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/0.676, allocations: 8 kB / 0.9511 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008649/0.6769, allocations: 415.7 kB / 0.9515 GB, free: 4.957 MB / 0.7169 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.003895/0.6808, allocations: 2.796 MB / 0.9542 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001051/0.6818, allocations: 458.2 kB / 0.9547 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005825/0.6824, allocations: 293.3 kB / 0.9549 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.374e-05/0.6825, allocations: 4.328 kB / 0.9549 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006002/0.6831, allocations: 298.8 kB / 0.9552 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=45): time 2.445e-06/0.6831, allocations: 0 / 0.9552 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of matching and sorting (n=45): time 0.3091/0.9922, allocations: 1.248 MB / 0.9565 GB, free: 192.1 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.458e-05/0.9923, allocations: 60.77 kB / 0.9565 GB, free: 192 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002668/0.995, allocations: 1.749 MB / 0.9582 GB, free: 191.6 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.324e-05/0.9951, allocations: 41.77 kB / 0.9583 GB, free: 191.5 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003551/0.9954, allocations: 0.5209 MB / 0.9588 GB, free: 191.2 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.000127/0.9956, allocations: 152.7 kB / 0.9589 GB, free: 191.1 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001453/0.9957, allocations: 94.89 kB / 0.959 GB, free: 191.1 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.05e-05/0.9958, allocations: 336.7 kB / 0.9593 GB, free: 190.7 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004608/0.9963, allocations: 216.4 kB / 0.9595 GB, free: 190.7 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004849/0.9967, allocations: 325.2 kB / 0.9598 GB, free: 190.5 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008274/0.9976, allocations: 0.5079 MB / 0.9603 GB, free: 190.2 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/0.9976, allocations: 5.375 kB / 0.9603 GB, free: 190.2 MB / 0.7169 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001606/0.9992, allocations: 0.8485 MB / 0.9612 GB, free: 189.9 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.9992, allocations: 7.203 kB / 0.9612 GB, free: 189.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.9993, allocations: 7.25 kB / 0.9612 GB, free: 189.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005253/0.9998, allocations: 183.4 kB / 0.9614 GB, free: 189.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000352/1, allocations: 102.6 kB / 0.9615 GB, free: 189.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002985/1.003, allocations: 2.997 MB / 0.9644 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005118/1.004, allocations: 72.83 kB / 0.9645 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.918e-05/1.004, allocations: 23.8 kB / 0.9645 GB, free: 187.6 MB / 0.7169 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.0004923/1.004, allocations: 386.9 kB / 0.9648 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000128/1.004, allocations: 121.1 kB / 0.965 GB, free: 187.3 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002164/1.005, allocations: 141 kB / 0.9651 GB, free: 187.3 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.72e-06/1.005, allocations: 6.188 kB / 0.9651 GB, free: 187.3 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.867e-05/1.005, allocations: 3.938 kB / 0.9651 GB, free: 187.3 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/1.005, allocations: 3.047 kB / 0.9651 GB, free: 187.3 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002336/1.007, allocations: 1.568 MB / 0.9666 GB, free: 186.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/1.007, allocations: 0 / 0.9666 GB, free: 186.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002145/1.007, allocations: 48.83 kB / 0.9667 GB, free: 186.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004425/1.008, allocations: 193.9 kB / 0.9669 GB, free: 186.5 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.49e-05/1.008, allocations: 13.23 kB / 0.9669 GB, free: 186.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003252/1.011, allocations: 4.558 MB / 0.9713 GB, free: 182.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/1.011, allocations: 0 / 0.9713 GB, free: 182.7 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001624/1.013, allocations: 1.073 MB / 0.9724 GB, free: 182 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002161/1.013, allocations: 218.3 kB / 0.9726 GB, free: 181.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.369e-05/1.013, allocations: 16.94 kB / 0.9726 GB, free: 181.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000324/1.013, allocations: 28.2 kB / 0.9726 GB, free: 181.7 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001335/1.013, allocations: 53.52 kB / 0.9727 GB, free: 181.7 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.243e-05/1.013, allocations: 15.8 kB / 0.9727 GB, free: 181.7 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001002/1.014, allocations: 1.286 MB / 0.974 GB, free: 180.6 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/1.014, allocations: 0 / 0.974 GB, free: 180.6 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0008837/1.015, allocations: 206.2 kB / 0.9741 GB, free: 180.4 MB / 0.7169 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.003169/1.019, allocations: 1.981 MB / 0.9761 GB, free: 178.7 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001311/1.02, allocations: 0.7224 MB / 0.9768 GB, free: 178 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/1.02, allocations: 0 / 0.9768 GB, free: 178 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000707/1.021, allocations: 0.5518 MB / 0.9773 GB, free: 177.4 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009734/1.022, allocations: 209.7 kB / 0.9775 GB, free: 177.2 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00945/1.031, allocations: 8.62 MB / 0.9859 GB, free: 168.4 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005428/1.032, allocations: 1.153 MB / 0.9871 GB, free: 167.2 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0002844/1.032, allocations: 82.66 kB / 0.9872 GB, free: 167.2 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003406/1.032, allocations: 403.3 kB / 0.9875 GB, free: 166.8 MB / 0.7169 GB Notification: Performance of SimCode: time 6.01e-07/1.032, allocations: 4 kB / 0.9875 GB, free: 166.8 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.947/4.979, allocations: 21.27 MB / 1.008 GB, free: 145.9 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.44/20.42, allocations: 0 / 1.008 GB, free: 145.9 MB / 0.7169 GB (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.fmu > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1)