Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 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.TestCase3,fileNamePrefix="BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,fileNamePrefix="BuildingSystems_BuildingSystems_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.006561/0.006561, allocations: 100.6 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.001624/0.001625, allocations: 189.7 kB / 16.67 MB, free: 5.934 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.488/1.488, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002541/0.002541, allocations: 289.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.9891/0.9891, allocations: 169.3 MB / 0.4983 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002719/0.002719, allocations: 95.84 kB / 0.681 GB, free: 7.527 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4416/0.4444, allocations: 86.98 MB / 0.7659 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.1831/0.6275, allocations: 156.7 MB / 0.9189 GB, free: 6.578 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02871/0.6563, allocations: 21.77 MB / 0.9402 GB, free: 0.7383 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002417/0.6587, allocations: 51.69 kB / 0.9402 GB, free: 0.6875 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.002077/0.6608, allocations: 1.165 MB / 0.9414 GB, free: 15.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001879/0.6628, allocations: 0.8523 MB / 0.9422 GB, free: 14.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001404/0.6642, allocations: 441.7 kB / 0.9426 GB, free: 14.23 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001993/0.6662, allocations: 1.255 MB / 0.9439 GB, free: 12.98 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00117/0.6674, allocations: 0.6831 MB / 0.9445 GB, free: 12.29 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001/0.6684, allocations: 0.5529 MB / 0.9451 GB, free: 11.73 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001394/0.6698, allocations: 0.9177 MB / 0.946 GB, free: 10.82 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001827/0.67, allocations: 68 kB / 0.946 GB, free: 10.75 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003653/0.6704, allocations: 108 kB / 0.9461 GB, free: 10.64 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003355/0.6707, allocations: 316.7 kB / 0.9464 GB, free: 10.33 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005901/0.6713, allocations: 496.8 kB / 0.9469 GB, free: 9.844 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001511/0.6729, allocations: 1.195 MB / 0.9481 GB, free: 8.648 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.932e-06/0.6729, allocations: 4 kB / 0.9481 GB, free: 8.645 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.322e-06/0.6729, allocations: 0 / 0.9481 GB, free: 8.645 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.155e-05/0.6729, allocations: 4 kB / 0.9481 GB, free: 8.641 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.00274/0.6757, allocations: 1.528 MB / 0.9496 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.6757, allocations: 12.03 kB / 0.9496 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000112/0.6758, allocations: 82.7 kB / 0.9497 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001913/0.676, allocations: 140 kB / 0.9498 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000924/0.677, allocations: 0.6754 MB / 0.9504 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001268/0.6771, allocations: 74.69 kB / 0.9505 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.448e-05/0.6772, allocations: 44 kB / 0.9506 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009538/0.6782, allocations: 0.5184 MB / 0.9511 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.822e-05/0.6782, allocations: 4 kB / 0.9511 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.683e-05/0.6783, allocations: 23.98 kB / 0.9511 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.343e-05/0.6783, allocations: 12 kB / 0.9511 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008589/0.6791, allocations: 407.7 kB / 0.9515 GB, free: 5.004 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.003681/0.6828, allocations: 2.724 MB / 0.9542 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009745/0.6838, allocations: 440.9 kB / 0.9546 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006604/0.6845, allocations: 318 kB / 0.9549 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.513e-05/0.6845, allocations: 4.328 kB / 0.9549 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005535/0.6851, allocations: 280.1 kB / 0.9552 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=44): time 2.134e-06/0.6851, allocations: 0 / 0.9552 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of matching and sorting (n=44): time 0.3145/0.9996, allocations: 1.155 MB / 0.9563 GB, free: 192.1 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.409e-05/0.9997, allocations: 58.72 kB / 0.9563 GB, free: 192 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003437/1.003, allocations: 1.77 MB / 0.9581 GB, free: 191.6 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.942e-05/1.003, allocations: 37.67 kB / 0.9581 GB, free: 191.6 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004502/1.004, allocations: 0.5293 MB / 0.9586 GB, free: 191.2 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001472/1.004, allocations: 155.1 kB / 0.9588 GB, free: 191.2 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001575/1.004, allocations: 99.75 kB / 0.9589 GB, free: 191.1 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.785e-05/1.004, allocations: 331.2 kB / 0.9592 GB, free: 190.8 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004701/1.005, allocations: 208.5 kB / 0.9594 GB, free: 190.7 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000485/1.005, allocations: 341.6 kB / 0.9597 GB, free: 190.5 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008009/1.006, allocations: 0.508 MB / 0.9602 GB, free: 190.3 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/1.006, allocations: 1.156 kB / 0.9602 GB, free: 190.3 MB / 0.7169 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001499/1.007, allocations: 0.8181 MB / 0.961 GB, free: 189.9 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/1.007, allocations: 6.875 kB / 0.961 GB, free: 189.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/1.007, allocations: 8.016 kB / 0.961 GB, free: 189.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004022/1.008, allocations: 133.4 kB / 0.9611 GB, free: 189.9 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000375/1.008, allocations: 104.8 kB / 0.9612 GB, free: 189.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00239/1.011, allocations: 2.601 MB / 0.9638 GB, free: 187.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004508/1.011, allocations: 85.47 kB / 0.9639 GB, free: 187.8 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.611e-05/1.011, allocations: 21.28 kB / 0.9639 GB, free: 187.8 MB / 0.7169 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_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 (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.0004455/1.012, allocations: 387.8 kB / 0.9642 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000112/1.012, allocations: 121.1 kB / 0.9644 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001962/1.012, allocations: 137.8 kB / 0.9645 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/1.012, allocations: 11.3 kB / 0.9645 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.011e-05/1.012, allocations: 3.812 kB / 0.9645 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/1.012, allocations: 5.953 kB / 0.9645 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002082/1.014, allocations: 1.487 MB / 0.966 GB, free: 186.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/1.014, allocations: 0 / 0.966 GB, free: 186.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002241/1.014, allocations: 45.8 kB / 0.966 GB, free: 186.8 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000364/1.015, allocations: 158 kB / 0.9662 GB, free: 186.7 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.353e-05/1.015, allocations: 18.69 kB / 0.9662 GB, free: 186.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002705/1.017, allocations: 4.03 MB / 0.9701 GB, free: 183.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/1.018, allocations: 0 / 0.9701 GB, free: 183.2 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001438/1.019, allocations: 1.004 MB / 0.9711 GB, free: 182.7 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001969/1.019, allocations: 213.8 kB / 0.9713 GB, free: 182.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.213e-05/1.019, allocations: 14.5 kB / 0.9713 GB, free: 182.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003172/1.02, allocations: 31.59 kB / 0.9713 GB, free: 182.5 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/1.02, allocations: 52.92 kB / 0.9714 GB, free: 182.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.168e-05/1.02, allocations: 14.59 kB / 0.9714 GB, free: 182.5 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001199/1.021, allocations: 1.294 MB / 0.9727 GB, free: 181.7 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.51e-07/1.021, allocations: 0 / 0.9727 GB, free: 181.7 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000817/1.022, allocations: 194.5 kB / 0.9729 GB, free: 181.5 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,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.003079/1.025, allocations: 1.918 MB / 0.9747 GB, free: 179.9 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001162/1.026, allocations: 0.6667 MB / 0.9754 GB, free: 179.3 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/1.026, allocations: 0 / 0.9754 GB, free: 179.3 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0006555/1.027, allocations: 0.5237 MB / 0.9759 GB, free: 178.8 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009543/1.028, allocations: 200.4 kB / 0.9761 GB, free: 178.6 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00902/1.037, allocations: 8.56 MB / 0.9844 GB, free: 170 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000474/1.037, allocations: 1.149 MB / 0.9856 GB, free: 168.8 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0002695/1.037, allocations: 92.78 kB / 0.9857 GB, free: 168.7 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003286/1.038, allocations: 407.3 kB / 0.986 GB, free: 168.3 MB / 0.7169 GB Notification: Performance of SimCode: time 1.393e-06/1.038, allocations: 0 / 0.986 GB, free: 168.3 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05021/1.088, allocations: 20.88 MB / 1.006 GB, free: 147.8 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.95/15.04, allocations: 7.531 kB / 1.006 GB, free: 147.8 MB / 0.7169 GB (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.fmu > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1)