Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.TestCase2,fileNamePrefix="BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,fileNamePrefix="BuildingSystems_BuildingSystems_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.005416/0.005416, allocations: 98.41 kB / 15.73 MB, free: 6.016 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.001304/0.001304, allocations: 193.3 kB / 16.67 MB, free: 5.949 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.303/1.303, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002138/0.002138, allocations: 279 kB / 290.8 MB, free: 1.777 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9514/0.9514, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00167/0.00167, allocations: 93.67 kB / 0.6809 GB, free: 20 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1531, allocations: 86.98 MB / 0.7659 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.4747/0.6279, allocations: 156.7 MB / 0.9189 GB, free: 6.449 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02291/0.6508, allocations: 21.76 MB / 0.9402 GB, free: 0.6172 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001682/0.6525, allocations: 47.75 kB / 0.9402 GB, free: 0.5703 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001552/0.6541, allocations: 1.169 MB / 0.9414 GB, free: 15.4 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001527/0.6557, allocations: 0.8446 MB / 0.9422 GB, free: 14.55 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001229/0.6569, allocations: 448 kB / 0.9426 GB, free: 14.11 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.001484/0.6584, allocations: 1.259 MB / 0.9438 GB, free: 12.85 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009397/0.6594, allocations: 0.6839 MB / 0.9445 GB, free: 12.18 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008595/0.6603, allocations: 0.5491 MB / 0.9451 GB, free: 11.63 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001417/0.6617, allocations: 0.9216 MB / 0.946 GB, free: 10.71 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0002076/0.6619, allocations: 64 kB / 0.946 GB, free: 10.65 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004456/0.6624, allocations: 111.9 kB / 0.9461 GB, free: 10.54 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0003417/0.6627, allocations: 316.7 kB / 0.9464 GB, free: 10.23 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0005943/0.6633, allocations: 496.8 kB / 0.9469 GB, free: 9.742 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001309/0.6646, allocations: 1.203 MB / 0.9481 GB, free: 8.535 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.6646, allocations: 0 / 0.9481 GB, free: 8.535 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.684e-06/0.6647, allocations: 0 / 0.9481 GB, free: 8.535 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 3.857e-05/0.6647, allocations: 0 / 0.9481 GB, free: 8.535 MB / 0.7012 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.002462/0.6672, allocations: 1.487 MB / 0.9495 GB, free: 6.992 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.6672, allocations: 8.031 kB / 0.9495 GB, free: 6.984 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001105/0.6673, allocations: 82.66 kB / 0.9496 GB, free: 6.895 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002042/0.6675, allocations: 139.2 kB / 0.9497 GB, free: 6.758 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008745/0.6684, allocations: 0.6551 MB / 0.9504 GB, free: 6.051 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001198/0.6686, allocations: 78.69 kB / 0.9505 GB, free: 5.969 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.838e-05/0.6687, allocations: 48 kB / 0.9505 GB, free: 5.922 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009032/0.6696, allocations: 0.5184 MB / 0.951 GB, free: 5.395 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.092e-05/0.6696, allocations: 3.906 kB / 0.951 GB, free: 5.391 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.691e-05/0.6696, allocations: 19.98 kB / 0.951 GB, free: 5.371 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.919e-06/0.6697, allocations: 19.94 kB / 0.9511 GB, free: 5.352 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008255/0.6705, allocations: 415.7 kB / 0.9514 GB, free: 4.941 MB / 0.7012 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.003567/0.6741, allocations: 2.78 MB / 0.9542 GB, free: 1.914 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001071/0.6752, allocations: 461.8 kB / 0.9546 GB, free: 1.457 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005623/0.6757, allocations: 288.4 kB / 0.9549 GB, free: 1.176 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 4.251e-05/0.6758, allocations: 4.328 kB / 0.9549 GB, free: 1.172 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005842/0.6764, allocations: 298.7 kB / 0.9552 GB, free: 0.8711 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=45): time 4.849e-06/0.6764, allocations: 4 kB / 0.9552 GB, free: 0.8672 MB / 0.7012 GB Notification: Performance of matching and sorting (n=45): time 0.002752/0.6792, allocations: 1.237 MB / 0.9564 GB, free: 15.57 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.555e-05/0.6792, allocations: 59.41 kB / 0.9564 GB, free: 15.5 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001807/0.681, allocations: 1.748 MB / 0.9581 GB, free: 13.75 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.455e-05/0.6811, allocations: 37.7 kB / 0.9582 GB, free: 13.7 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004039/0.6815, allocations: 0.518 MB / 0.9587 GB, free: 13.18 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001374/0.6817, allocations: 153.8 kB / 0.9588 GB, free: 13.03 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001492/0.6818, allocations: 98.23 kB / 0.9589 GB, free: 12.93 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.6819, allocations: 326 kB / 0.9592 GB, free: 12.6 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004751/0.6824, allocations: 217 kB / 0.9594 GB, free: 12.39 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005096/0.6829, allocations: 328.8 kB / 0.9598 GB, free: 12.03 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000866/0.6838, allocations: 0.503 MB / 0.9602 GB, free: 11.49 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.6838, allocations: 0 / 0.9602 GB, free: 11.49 MB / 0.7169 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001613/0.6854, allocations: 0.857 MB / 0.9611 GB, free: 10.63 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.6855, allocations: 5.875 kB / 0.9611 GB, free: 10.62 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.6855, allocations: 4 kB / 0.9611 GB, free: 10.62 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005258/0.686, allocations: 176.9 kB / 0.9613 GB, free: 10.45 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003452/0.6864, allocations: 100.2 kB / 0.9614 GB, free: 10.35 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003336/0.6897, allocations: 2.999 MB / 0.9643 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000463/0.6902, allocations: 75.39 kB / 0.9644 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.532e-05/0.6903, allocations: 23.94 kB / 0.9644 GB, free: 7.117 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.0004611/0.6907, allocations: 399.2 kB / 0.9648 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001482/0.6909, allocations: 118.5 kB / 0.9649 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002136/0.6911, allocations: 139.7 kB / 0.965 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.627e-06/0.6911, allocations: 4 kB / 0.965 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/0.6911, allocations: 4 kB / 0.965 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.6911, allocations: 0 / 0.965 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002374/0.6935, allocations: 1.564 MB / 0.9665 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.6935, allocations: 0 / 0.9665 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002154/0.6938, allocations: 47.97 kB / 0.9666 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004709/0.6942, allocations: 197.5 kB / 0.9668 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.748e-05/0.6943, allocations: 8 kB / 0.9668 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004138/0.6984, allocations: 4.553 MB / 0.9712 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.6985, allocations: 0 / 0.9712 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001747/0.7002, allocations: 1.066 MB / 0.9723 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002744/0.7005, allocations: 219.5 kB / 0.9725 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/0.7006, allocations: 15.98 kB / 0.9725 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003021/0.7009, allocations: 27.97 kB / 0.9725 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/0.7011, allocations: 51.92 kB / 0.9726 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.394e-05/0.7011, allocations: 12 kB / 0.9726 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001288/0.7024, allocations: 1.281 MB / 0.9738 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7024, allocations: 4 kB / 0.9738 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007148/0.7031, allocations: 199.7 kB / 0.974 GB, free: 12.84 MB / 0.7325 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.002903/0.706, allocations: 1.978 MB / 0.976 GB, free: 11.01 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001419/0.7075, allocations: 0.7188 MB / 0.9767 GB, free: 10.28 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.7075, allocations: 7.938 kB / 0.9767 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000832/0.7083, allocations: 0.5597 MB / 0.9772 GB, free: 9.688 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009203/0.7093, allocations: 203.5 kB / 0.9774 GB, free: 9.504 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01152/0.7208, allocations: 8.562 MB / 0.9858 GB, free: 0.7305 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007778/0.7216, allocations: 1.157 MB / 0.9869 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000278/0.7219, allocations: 88.77 kB / 0.987 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004269/0.7223, allocations: 407.2 kB / 0.9874 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of SimCode: time 7.11e-07/0.7223, allocations: 0 / 0.9874 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04659/0.7689, allocations: 21.6 MB / 1.008 GB, free: 9.809 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/11.48, allocations: 11.91 kB / 1.008 GB, free: 9.797 MB / 0.7637 GB (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2.fmu > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1)