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.005079/0.005079, allocations: 96.84 kB / 15.73 MB, free: 6.055 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.001033/0.001033, allocations: 192.8 kB / 16.67 MB, free: 5.965 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.285/1.285, 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.002118/0.002118, allocations: 296.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 0.904/0.904, allocations: 169.3 MB / 0.4983 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001758/0.001758, allocations: 87.86 kB / 0.6809 GB, free: 7.488 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4054/0.4072, allocations: 86.99 MB / 0.7659 GB, free: 3.867 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.1554/0.5626, allocations: 156.7 MB / 0.9189 GB, free: 6.539 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02496/0.5876, allocations: 21.75 MB / 0.9402 GB, free: 0.7148 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002223/0.5899, allocations: 55.69 kB / 0.9402 GB, free: 0.6602 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001661/0.5916, allocations: 1.165 MB / 0.9414 GB, free: 15.49 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001695/0.5933, allocations: 0.8445 MB / 0.9422 GB, free: 14.64 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001294/0.5947, allocations: 449.5 kB / 0.9426 GB, free: 14.21 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001626/0.5963, allocations: 1.263 MB / 0.9439 GB, free: 12.94 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000943/0.5972, allocations: 0.6753 MB / 0.9445 GB, free: 12.26 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008964/0.5982, allocations: 0.5568 MB / 0.9451 GB, free: 11.7 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001129/0.5993, allocations: 0.9216 MB / 0.946 GB, free: 10.78 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001557/0.5995, allocations: 68 kB / 0.946 GB, free: 10.71 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003031/0.5998, allocations: 108 kB / 0.9461 GB, free: 10.61 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000271/0.6001, allocations: 316.7 kB / 0.9464 GB, free: 10.3 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005906/0.6007, allocations: 488.8 kB / 0.9469 GB, free: 9.816 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001453/0.6021, allocations: 1.207 MB / 0.9481 GB, free: 8.605 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.6021, allocations: 0 / 0.9481 GB, free: 8.605 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.535e-06/0.6022, allocations: 0 / 0.9481 GB, free: 8.605 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.969e-05/0.6022, allocations: 3.984 kB / 0.9481 GB, free: 8.602 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.002761/0.605, allocations: 1.478 MB / 0.9495 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.605, allocations: 12.03 kB / 0.9495 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001224/0.6052, allocations: 86.7 kB / 0.9496 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002019/0.6054, allocations: 131.2 kB / 0.9497 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008721/0.6063, allocations: 0.6665 MB / 0.9504 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001236/0.6064, allocations: 70.69 kB / 0.9505 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.946e-05/0.6065, allocations: 48 kB / 0.9505 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009415/0.6074, allocations: 0.5184 MB / 0.951 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.184e-05/0.6075, allocations: 3.906 kB / 0.951 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.782e-05/0.6075, allocations: 19.98 kB / 0.951 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/0.6075, allocations: 12 kB / 0.951 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008167/0.6084, allocations: 415.7 kB / 0.9514 GB, free: 5.023 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.003559/0.6119, allocations: 2.792 MB / 0.9542 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009596/0.6129, allocations: 455.8 kB / 0.9546 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005267/0.6134, allocations: 285.3 kB / 0.9549 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.44e-05/0.6135, allocations: 12.31 kB / 0.9549 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005376/0.614, allocations: 298.6 kB / 0.9552 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=45): time 2.715e-06/0.614, allocations: 0 / 0.9552 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of matching and sorting (n=45): time 0.3314/0.9455, allocations: 1.238 MB / 0.9564 GB, free: 192.3 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.982e-05/0.9456, allocations: 61.66 kB / 0.9564 GB, free: 192.2 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002762/0.9483, allocations: 1.751 MB / 0.9581 GB, free: 191.8 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.952e-05/0.9484, allocations: 37.36 kB / 0.9582 GB, free: 191.7 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003903/0.9488, allocations: 0.5161 MB / 0.9587 GB, free: 191.4 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001253/0.9489, allocations: 146 kB / 0.9588 GB, free: 191.3 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001435/0.9491, allocations: 99.05 kB / 0.9589 GB, free: 191.3 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.561e-05/0.9492, allocations: 327 kB / 0.9592 GB, free: 191 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004576/0.9496, allocations: 217.9 kB / 0.9594 GB, free: 190.9 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004903/0.9501, allocations: 330.4 kB / 0.9598 GB, free: 190.7 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000792/0.9509, allocations: 0.5049 MB / 0.9602 GB, free: 190.5 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.712e-06/0.9509, allocations: 1.156 kB / 0.9602 GB, free: 190.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001588/0.9525, allocations: 0.8557 MB / 0.9611 GB, free: 190.1 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.9526, allocations: 8.156 kB / 0.9611 GB, free: 190.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.9526, allocations: 2.844 kB / 0.9611 GB, free: 190.1 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005018/0.9531, allocations: 180.1 kB / 0.9613 GB, free: 190.1 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003343/0.9534, allocations: 95.69 kB / 0.9614 GB, free: 190.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002888/0.9563, allocations: 2.988 MB / 0.9643 GB, free: 187.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000419/0.9568, allocations: 77.39 kB / 0.9644 GB, free: 187.8 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.531e-05/0.9568, allocations: 22.81 kB / 0.9644 GB, free: 187.8 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.0004365/0.9573, allocations: 390.6 kB / 0.9647 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.9574, allocations: 119.4 kB / 0.9649 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001901/0.9576, allocations: 139 kB / 0.965 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.9576, allocations: 4.125 kB / 0.965 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-05/0.9576, allocations: 2.75 kB / 0.965 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.9576, allocations: 2.25 kB / 0.965 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002247/0.9599, allocations: 1.563 MB / 0.9665 GB, free: 186.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.9599, allocations: 0.5625 kB / 0.9665 GB, free: 186.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002069/0.9601, allocations: 51.12 kB / 0.9666 GB, free: 186.7 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000413/0.9605, allocations: 200.6 kB / 0.9668 GB, free: 186.7 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.063e-05/0.9606, allocations: 10.33 kB / 0.9668 GB, free: 186.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003208/0.9638, allocations: 4.543 MB / 0.9712 GB, free: 182.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.9638, allocations: 0 / 0.9712 GB, free: 182.9 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001537/0.9653, allocations: 1.065 MB / 0.9723 GB, free: 182.3 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002051/0.9655, allocations: 220.7 kB / 0.9725 GB, free: 182.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.857e-05/0.9656, allocations: 14.28 kB / 0.9725 GB, free: 182.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002806/0.9659, allocations: 29.19 kB / 0.9725 GB, free: 182 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/0.9661, allocations: 55.17 kB / 0.9726 GB, free: 182 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-05/0.9661, allocations: 14.02 kB / 0.9726 GB, free: 182 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0009569/0.9671, allocations: 1.281 MB / 0.9738 GB, free: 180.9 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9671, allocations: 2.906 kB / 0.9738 GB, free: 180.9 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0007013/0.9678, allocations: 201.7 kB / 0.974 GB, free: 180.7 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.00255/0.9703, allocations: 1.982 MB / 0.976 GB, free: 179 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001313/0.9717, allocations: 0.7193 MB / 0.9767 GB, free: 178.3 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.9717, allocations: 0 / 0.9767 GB, free: 178.3 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0006913/0.9724, allocations: 0.5483 MB / 0.9772 GB, free: 177.7 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009031/0.9733, allocations: 201.4 kB / 0.9774 GB, free: 177.6 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008953/0.9823, allocations: 8.578 MB / 0.9858 GB, free: 168.8 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004839/0.9828, allocations: 1.157 MB / 0.9869 GB, free: 167.6 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0002625/0.9831, allocations: 96.77 kB / 0.987 GB, free: 167.5 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003287/0.9834, allocations: 403.3 kB / 0.9874 GB, free: 167.1 MB / 0.7169 GB Notification: Performance of SimCode: time 8.82e-07/0.9834, allocations: 0 / 0.9874 GB, free: 167.1 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04702/1.03, allocations: 21.61 MB / 1.008 GB, free: 145.9 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.67/11.7, allocations: 2.344 kB / 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)