Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8294/0.8294, allocations: 143.4 MB / 159.2 MB, free: 4.902 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 184.5 kB / 191.9 MB, free: 5.73 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 222.9 MB / 447.3 MB, free: 5.867 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 107.7 kB / 0.517 GB, free: 3.707 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00194/0.00194, allocations: 276 kB / 0.5973 GB, free: 49.38 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00147/0.001471, allocations: 75.88 kB / 0.6885 GB, free: 3.836 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3413/0.3428, allocations: 81.29 MB / 0.7679 GB, free: 27.66 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.4979/0.8407, allocations: 154.4 MB / 0.9187 GB, free: 1.312 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.02329/0.8641, allocations: 21.56 MB / 0.9398 GB, free: 0.9766 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002792/0.8669, allocations: 46.47 kB / 0.9398 GB, free: 0.9766 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001721/0.8687, allocations: 1.128 MB / 0.9409 GB, free: 0.9336 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001697/0.8704, allocations: 0.8158 MB / 0.9417 GB, free: 0.9023 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001162/0.8716, allocations: 376.5 kB / 0.9421 GB, free: 0.8945 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.001633/0.8732, allocations: 1.352 MB / 0.9434 GB, free: 0.8945 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008311/0.8741, allocations: 0.6176 MB / 0.944 GB, free: 0.8125 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007997/0.8749, allocations: 0.4944 MB / 0.9445 GB, free: 0.8086 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001097/0.876, allocations: 0.9074 MB / 0.9454 GB, free: 0.8047 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001006/0.8761, allocations: 37.34 kB / 0.9454 GB, free: 0.8047 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002779/0.8764, allocations: 78.52 kB / 0.9455 GB, free: 0.8008 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.000236/0.8766, allocations: 315.1 kB / 0.9458 GB, free: 0.793 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0003375/0.877, allocations: 466 kB / 0.9462 GB, free: 0.6289 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0007733/0.8778, allocations: 1.144 MB / 0.9473 GB, free: 412 kB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.8778, allocations: 0 / 0.9473 GB, free: 412 kB / 0.5573 GB Notification: Performance of FrontEnd: time 1.964e-06/0.8778, allocations: 6.359 kB / 0.9473 GB, free: 412 kB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.564e-05/0.8778, allocations: 0 / 0.9473 GB, free: 412 kB / 0.5573 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.00215/0.88, allocations: 1.473 MB / 0.9488 GB, free: 15.52 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.88, allocations: 13.72 kB / 0.9488 GB, free: 15.52 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001902/0.8802, allocations: 131.1 kB / 0.9489 GB, free: 15.46 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007947/0.881, allocations: 0.6578 MB / 0.9496 GB, free: 15.07 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001117/0.8811, allocations: 67.23 kB / 0.9496 GB, free: 15.04 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.909e-05/0.8812, allocations: 49.81 kB / 0.9497 GB, free: 15.04 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007877/0.882, allocations: 0.5203 MB / 0.9502 GB, free: 14.96 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.882, allocations: 3.594 kB / 0.9502 GB, free: 14.96 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.966e-05/0.8821, allocations: 16.59 kB / 0.9502 GB, free: 14.96 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.8821, allocations: 10.78 kB / 0.9502 GB, free: 14.96 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007105/0.8828, allocations: 418.3 kB / 0.9506 GB, free: 14.95 MB / 0.573 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.003006/0.8858, allocations: 2.732 MB / 0.9533 GB, free: 13.51 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008183/0.8867, allocations: 454.1 kB / 0.9537 GB, free: 13.46 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005429/0.8872, allocations: 313.2 kB / 0.954 GB, free: 13.44 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.446e-05/0.8873, allocations: 2.312 kB / 0.954 GB, free: 13.44 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004896/0.8877, allocations: 286.4 kB / 0.9543 GB, free: 13.38 MB / 0.573 GB Notification: Performance of pre-optimization done (n=44): time 2.255e-06/0.8878, allocations: 0 / 0.9543 GB, free: 13.38 MB / 0.573 GB Notification: Performance of matching and sorting (n=44): time 0.0024/0.8902, allocations: 1.15 MB / 0.9554 GB, free: 13.05 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.064e-05/0.8902, allocations: 56.28 kB / 0.9555 GB, free: 12.98 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001501/0.8917, allocations: 1.757 MB / 0.9572 GB, free: 12.83 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 4.409e-05/0.8918, allocations: 41.64 kB / 0.9572 GB, free: 12.8 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004008/0.8922, allocations: 0.5258 MB / 0.9577 GB, free: 12.66 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 9.89e-05/0.8923, allocations: 144.9 kB / 0.9579 GB, free: 12.57 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001308/0.8924, allocations: 99.84 kB / 0.958 GB, free: 12.55 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.8926, allocations: 327.9 kB / 0.9583 GB, free: 12.25 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004083/0.893, allocations: 215.7 kB / 0.9585 GB, free: 12.24 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005066/0.8935, allocations: 338 kB / 0.9588 GB, free: 12.11 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007773/0.8943, allocations: 0.5151 MB / 0.9593 GB, free: 11.97 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.8943, allocations: 0 / 0.9593 GB, free: 11.97 MB / 0.573 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00132/0.8956, allocations: 0.804 MB / 0.9601 GB, free: 11.85 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.8956, allocations: 16.38 kB / 0.9601 GB, free: 11.84 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.8957, allocations: 4.656 kB / 0.9601 GB, free: 11.84 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003587/0.896, allocations: 138.9 kB / 0.9602 GB, free: 11.82 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003605/0.8964, allocations: 102.3 kB / 0.9603 GB, free: 11.82 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002346/0.8987, allocations: 2.389 MB / 0.9627 GB, free: 10.43 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004486/0.8992, allocations: 82.19 kB / 0.9627 GB, free: 10.41 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.352e-05/0.8992, allocations: 20 kB / 0.9628 GB, free: 10.41 MB / 0.573 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.0004254/0.8997, allocations: 387 kB / 0.9631 GB, free: 10.29 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/0.8998, allocations: 118.7 kB / 0.9632 GB, free: 10.23 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001996/0.9, allocations: 137.1 kB / 0.9634 GB, free: 10.21 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.9, allocations: 5.062 kB / 0.9634 GB, free: 10.21 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.475e-05/0.9, allocations: 6.969 kB / 0.9634 GB, free: 10.2 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.762e-06/0.9001, allocations: 7.312 kB / 0.9634 GB, free: 10.2 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002154/0.9022, allocations: 1.476 MB / 0.9648 GB, free: 9.859 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.9022, allocations: 7.062 kB / 0.9648 GB, free: 9.855 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002142/0.9025, allocations: 46.12 kB / 0.9649 GB, free: 9.855 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004125/0.9029, allocations: 162.2 kB / 0.965 GB, free: 9.816 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.873e-05/0.9029, allocations: 19.47 kB / 0.9651 GB, free: 9.805 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003375/0.9063, allocations: 3.691 MB / 0.9687 GB, free: 6.613 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.9063, allocations: 2.906 kB / 0.9687 GB, free: 6.613 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01187/0.9182, allocations: 9.309 MB / 0.9778 GB, free: 188 kB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002746/0.9185, allocations: 220.6 kB / 0.978 GB, free: 0 / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.473e-05/0.9186, allocations: 10.77 kB / 0.978 GB, free: 0 / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003502/0.919, allocations: 33.75 kB / 0.978 GB, free: 0 / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001849/0.9192, allocations: 50.95 kB / 0.9781 GB, free: 0 / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.642e-05/0.9193, allocations: 17.44 kB / 0.9781 GB, free: 16 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.001354/0.9206, allocations: 1.294 MB / 0.9793 GB, free: 15.39 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.6e-07/0.9206, allocations: 2.906 kB / 0.9793 GB, free: 15.39 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.00122/0.9219, allocations: 294.5 kB / 0.9796 GB, free: 15.35 MB / 0.5886 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.001057/0.9229, allocations: 481.3 kB / 0.9801 GB, free: 15.14 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001359/0.9243, allocations: 0.6705 MB / 0.9807 GB, free: 14.76 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.9243, allocations: 0 / 0.9807 GB, free: 14.76 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0008032/0.9251, allocations: 0.5256 MB / 0.9813 GB, free: 14.38 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/0.9261, allocations: 192.9 kB / 0.9814 GB, free: 14.27 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004291/0.9304, allocations: 3.327 MB / 0.9847 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008564/0.9313, allocations: 1.167 MB / 0.9858 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0003569/0.9317, allocations: 99.08 kB / 0.9859 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000134/0.9318, allocations: 51.42 kB / 0.986 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of SimCode: time 6.71e-07/0.9318, allocations: 0 / 0.986 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of Templates: time 0.02133/0.9532, allocations: 11.22 MB / 0.9969 GB, free: 60 kB / 0.5886 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe 2>&1)