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/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: 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000996/0.000996, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 195.1 kB / 16.53 MB, free: 6.664 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.274/1.274, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002037/0.002037, allocations: 275 kB / 290.7 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9134/0.9134, allocations: 169.3 MB / 0.4982 GB, free: 13.96 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00166/0.00166, allocations: 101.1 kB / 0.5952 GB, free: 27.78 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1357, allocations: 86.98 MB / 0.6802 GB, free: 0.6719 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.4212/0.5569, allocations: 156.7 MB / 0.8332 GB, free: 0.8672 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02302/0.5799, allocations: 21.74 MB / 0.8545 GB, free: 9.594 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002136/0.5821, allocations: 51.03 kB / 0.8545 GB, free: 9.578 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001387/0.5835, allocations: 1.169 MB / 0.8556 GB, free: 8.961 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001322/0.5849, allocations: 0.851 MB / 0.8565 GB, free: 8.438 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001037/0.5859, allocations: 449.9 kB / 0.8569 GB, free: 8.082 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001143/0.5871, allocations: 1.245 MB / 0.8581 GB, free: 7.395 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007757/0.5879, allocations: 0.6845 MB / 0.8588 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005876/0.5885, allocations: 0.5472 MB / 0.8593 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009179/0.5894, allocations: 0.9184 MB / 0.8602 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.728e-05/0.5895, allocations: 66.03 kB / 0.8603 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002387/0.5898, allocations: 108.9 kB / 0.8604 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002487/0.59, allocations: 322.7 kB / 0.8607 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003935/0.5904, allocations: 496.2 kB / 0.8612 GB, free: 5.688 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001043/0.5915, allocations: 1.183 MB / 0.8623 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.5915, allocations: 0 / 0.8623 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.182e-06/0.5915, allocations: 0 / 0.8623 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.521e-05/0.5915, allocations: 0 / 0.8623 GB, free: 4.859 MB / 0.5762 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.00209/0.5936, allocations: 1.473 MB / 0.8638 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.5936, allocations: 10.06 kB / 0.8638 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001649/0.5938, allocations: 132.8 kB / 0.8639 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007759/0.5946, allocations: 0.6665 MB / 0.8646 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001127/0.5947, allocations: 71.34 kB / 0.8646 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.934e-05/0.5948, allocations: 48.88 kB / 0.8647 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008796/0.5957, allocations: 0.5186 MB / 0.8652 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.5957, allocations: 0 / 0.8652 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.65e-05/0.5958, allocations: 22.98 kB / 0.8652 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.5958, allocations: 12.62 kB / 0.8652 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007921/0.5966, allocations: 415.1 kB / 0.8656 GB, free: 2.469 MB / 0.5762 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.003414/0.6, allocations: 2.736 MB / 0.8683 GB, free: 104 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000948/0.601, allocations: 442.2 kB / 0.8687 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005893/0.6016, allocations: 313.3 kB / 0.869 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.908e-05/0.6016, allocations: 5.938 kB / 0.869 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004968/0.6021, allocations: 283.7 kB / 0.8693 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=44): time 2.014e-06/0.6021, allocations: 0 / 0.8693 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of matching and sorting (n=44): time 0.002537/0.6047, allocations: 1.157 MB / 0.8704 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.958e-05/0.6047, allocations: 56.88 kB / 0.8705 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001596/0.6063, allocations: 1.751 MB / 0.8722 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.15e-05/0.6064, allocations: 42.81 kB / 0.8722 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000408/0.6068, allocations: 0.5324 MB / 0.8727 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001119/0.6069, allocations: 141.4 kB / 0.8729 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000145/0.6071, allocations: 98.75 kB / 0.873 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.6072, allocations: 326.8 kB / 0.8733 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004628/0.6076, allocations: 215.8 kB / 0.8735 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005197/0.6082, allocations: 335.5 kB / 0.8738 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008514/0.609, allocations: 0.5119 MB / 0.8743 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.6091, allocations: 11.92 kB / 0.8743 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001424/0.6105, allocations: 0.8012 MB / 0.8751 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.6105, allocations: 11.84 kB / 0.8751 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.6105, allocations: 2.75 kB / 0.8751 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003768/0.6109, allocations: 142.6 kB / 0.8752 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003551/0.6113, allocations: 106.7 kB / 0.8753 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002701/0.614, allocations: 2.609 MB / 0.8779 GB, free: 9.504 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004193/0.6144, allocations: 73.02 kB / 0.878 GB, free: 9.461 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.27e-05/0.6145, allocations: 19.12 kB / 0.878 GB, free: 9.457 MB / 0.5919 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.0004425/0.6149, allocations: 397.2 kB / 0.8784 GB, free: 9.211 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/0.615, allocations: 115.1 kB / 0.8785 GB, free: 9.148 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001968/0.6152, allocations: 141.8 kB / 0.8786 GB, free: 9.07 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.6152, allocations: 5.25 kB / 0.8786 GB, free: 9.07 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.131e-05/0.6153, allocations: 2.719 kB / 0.8786 GB, free: 9.07 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.6153, allocations: 3.984 kB / 0.8786 GB, free: 9.066 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002108/0.6174, allocations: 1.492 MB / 0.8801 GB, free: 8.066 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.6174, allocations: 4 kB / 0.8801 GB, free: 8.062 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002101/0.6176, allocations: 41.12 kB / 0.8801 GB, free: 8.055 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003728/0.618, allocations: 167.5 kB / 0.8803 GB, free: 7.969 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.328e-05/0.618, allocations: 16.7 kB / 0.8803 GB, free: 7.957 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00339/0.6214, allocations: 4.025 MB / 0.8842 GB, free: 4.254 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.6215, allocations: 0 / 0.8842 GB, free: 4.254 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001575/0.623, allocations: 0.9905 MB / 0.8852 GB, free: 3.664 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000239/0.6233, allocations: 217.5 kB / 0.8854 GB, free: 3.469 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.977e-05/0.6234, allocations: 16.89 kB / 0.8854 GB, free: 3.457 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003102/0.6237, allocations: 31.25 kB / 0.8854 GB, free: 3.441 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001182/0.6238, allocations: 46.19 kB / 0.8855 GB, free: 3.418 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.493e-05/0.6239, allocations: 17.58 kB / 0.8855 GB, free: 3.41 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001277/0.6252, allocations: 1.293 MB / 0.8868 GB, free: 2.73 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6252, allocations: 0 / 0.8868 GB, free: 2.73 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007651/0.6259, allocations: 195.7 kB / 0.8869 GB, free: 2.539 MB / 0.5919 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.001164/0.6271, allocations: 483.8 kB / 0.8874 GB, free: 2.242 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001509/0.6286, allocations: 0.6976 MB / 0.8881 GB, free: 1.531 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.6286, allocations: 0 / 0.8881 GB, free: 1.531 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007736/0.6294, allocations: 0.5213 MB / 0.8886 GB, free: 0.9844 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009136/0.6303, allocations: 206.7 kB / 0.8888 GB, free: 0.7891 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003382/0.6337, allocations: 2.389 MB / 0.8911 GB, free: 14.37 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006936/0.6344, allocations: 1.149 MB / 0.8922 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002567/0.6347, allocations: 92.78 kB / 0.8923 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/0.6348, allocations: 47.42 kB / 0.8924 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of SimCode: time 2.51e-07/0.6348, allocations: 0 / 0.8924 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of Templates: time 0.01689/0.6517, allocations: 10.03 MB / 0.9022 GB, free: 3.16 MB / 0.6075 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)