Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.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.TestCase7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001731/0.001737, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001922/0.001922, allocations: 194 kB / 16.14 MB, free: 6.637 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.454/1.454, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002649/0.002648, allocations: 283 kB / 290.2 MB, free: 2.219 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.091/1.091, allocations: 178.6 MB / 0.5068 GB, free: 4.777 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002728/0.002729, allocations: 94.34 kB / 0.6057 GB, free: 25.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.1594, allocations: 89.15 MB / 0.6928 GB, free: 4.844 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7): time 0.4431/0.6026, allocations: 155.6 MB / 0.8447 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02841/0.631, allocations: 21.98 MB / 0.8662 GB, free: 5.887 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003669/0.6347, allocations: 63.41 kB / 0.8662 GB, free: 5.863 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001904/0.6367, allocations: 1.34 MB / 0.8675 GB, free: 5.176 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001542/0.6382, allocations: 0.9673 MB / 0.8685 GB, free: 4.586 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001458/0.6397, allocations: 0.5704 MB / 0.869 GB, free: 4.16 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001591/0.6413, allocations: 1.771 MB / 0.8708 GB, free: 3.191 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009706/0.6423, allocations: 0.8816 MB / 0.8716 GB, free: 2.629 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007034/0.643, allocations: 0.6525 MB / 0.8723 GB, free: 2.293 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001197/0.6442, allocations: 1.182 MB / 0.8734 GB, free: 1.738 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000109/0.6443, allocations: 50.31 kB / 0.8735 GB, free: 1.738 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002562/0.6446, allocations: 100.7 kB / 0.8736 GB, free: 1.719 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003493/0.645, allocations: 398.7 kB / 0.8739 GB, free: 1.473 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005487/0.6455, allocations: 0.6169 MB / 0.8745 GB, free: 1.016 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001337/0.6469, allocations: 1.531 MB / 0.876 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.6469, allocations: 0 / 0.876 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.02e-07/0.6469, allocations: 0 / 0.876 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.346e-05/0.6469, allocations: 0 / 0.876 GB, free: 15.91 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.003053/0.6499, allocations: 1.914 MB / 0.8779 GB, free: 14.42 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.65, allocations: 16.03 kB / 0.8779 GB, free: 14.4 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003176/0.6503, allocations: 190.6 kB / 0.8781 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001344/0.6517, allocations: 0.8674 MB / 0.8789 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002085/0.6519, allocations: 90.92 kB / 0.879 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000124/0.652, allocations: 64 kB / 0.8791 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001431/0.6535, allocations: 0.7215 MB / 0.8798 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.133e-05/0.6535, allocations: 0 / 0.8798 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.033e-05/0.6536, allocations: 28 kB / 0.8798 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.593e-05/0.6536, allocations: 19.94 kB / 0.8798 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001211/0.6548, allocations: 0.5438 MB / 0.8804 GB, free: 11.8 MB / 0.6075 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.004908/0.6597, allocations: 3.628 MB / 0.8839 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001405/0.6612, allocations: 0.612 MB / 0.8845 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007644/0.6619, allocations: 374.1 kB / 0.8849 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.06e-05/0.662, allocations: 8.547 kB / 0.8849 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008209/0.6628, allocations: 390.8 kB / 0.8853 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=65): time 2.485e-06/0.6629, allocations: 0 / 0.8853 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=65): time 0.00514/0.668, allocations: 1.773 MB / 0.887 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.732e-05/0.6681, allocations: 59.97 kB / 0.887 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002756/0.6709, allocations: 2.255 MB / 0.8892 GB, free: 2.348 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.985e-05/0.6709, allocations: 45.7 kB / 0.8893 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007009/0.6717, allocations: 0.7109 MB / 0.89 GB, free: 1.582 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002094/0.6719, allocations: 228.9 kB / 0.8902 GB, free: 1.355 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002078/0.6721, allocations: 130.7 kB / 0.8903 GB, free: 1.223 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001645/0.6723, allocations: 330 kB / 0.8906 GB, free: 0.8945 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006525/0.6729, allocations: 273.8 kB / 0.8909 GB, free: 0.6289 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000774/0.6737, allocations: 428.8 kB / 0.8913 GB, free: 164 kB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001314/0.675, allocations: 0.661 MB / 0.892 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.675, allocations: 0 / 0.892 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002464/0.6775, allocations: 1.122 MB / 0.8931 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.6775, allocations: 9.25 kB / 0.8931 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.6776, allocations: 4 kB / 0.8931 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008864/0.6784, allocations: 274.2 kB / 0.8933 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004615/0.6789, allocations: 119.8 kB / 0.8934 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005706/0.6846, allocations: 3.444 MB / 0.8968 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006228/0.6853, allocations: 95.3 kB / 0.8969 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-05/0.6853, allocations: 35.94 kB / 0.8969 GB, free: 10.23 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 25 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition6,$PRE.intGai.nextTimeEvent,$whenCondition5,$PRE.reference.nextTimeEvent,$whenCondition4,$PRE.setTemp.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,setTemp.nextTimeEventScaled,$PRE.setTemp.nextTimeEventScaled,setTemp.nextTimeEvent,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,conHeaCoo.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0007169/0.6861, allocations: 463.7 kB / 0.8974 GB, free: 9.77 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001877/0.6863, allocations: 161.9 kB / 0.8975 GB, free: 9.609 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002968/0.6866, allocations: 191.7 kB / 0.8977 GB, free: 9.414 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.6866, allocations: 8 kB / 0.8977 GB, free: 9.406 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.6866, allocations: 0 / 0.8977 GB, free: 9.406 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.115e-05/0.6866, allocations: 3.984 kB / 0.8977 GB, free: 9.402 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003685/0.6903, allocations: 2.045 MB / 0.8997 GB, free: 7.289 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.6903, allocations: 0 / 0.8997 GB, free: 7.289 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000289/0.6906, allocations: 55.95 kB / 0.8998 GB, free: 7.234 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007967/0.6914, allocations: 277.3 kB / 0.9 GB, free: 6.957 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.1e-05/0.6915, allocations: 19.98 kB / 0.9001 GB, free: 6.938 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006349/0.6978, allocations: 4.76 MB / 0.9047 GB, free: 1.918 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.6978, allocations: 4.062 kB / 0.9047 GB, free: 1.914 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002836/0.7007, allocations: 1.396 MB / 0.9061 GB, free: 0.4922 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003535/0.7011, allocations: 271 kB / 0.9063 GB, free: 212 kB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001256/0.7012, allocations: 16 kB / 0.9063 GB, free: 196 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004215/0.7016, allocations: 35.95 kB / 0.9064 GB, free: 160 kB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001749/0.7018, allocations: 72.45 kB / 0.9064 GB, free: 88 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.476e-05/0.7019, allocations: 23.98 kB / 0.9065 GB, free: 64 kB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.002041/0.7039, allocations: 1.631 MB / 0.9081 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7039, allocations: 0 / 0.9081 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001028/0.705, allocations: 280.1 kB / 0.9083 GB, free: 14.16 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,conHeaCoo.I.y,assEqu.diff,mean.x) * Number of discrete variables: 15 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 9 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001881/0.7068, allocations: 488.7 kB / 0.9088 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002059/0.7089, allocations: 0.9028 MB / 0.9097 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.7089, allocations: 0 / 0.9097 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001194/0.7101, allocations: 0.6714 MB / 0.9103 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001316/0.7115, allocations: 277.4 kB / 0.9106 GB, free: 11.98 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005326/0.7168, allocations: 3.535 MB / 0.914 GB, free: 8.418 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001096/0.7179, allocations: 1.322 MB / 0.9153 GB, free: 7.07 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003955/0.7183, allocations: 118.4 kB / 0.9155 GB, free: 6.949 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001479/0.7185, allocations: 55.42 kB / 0.9155 GB, free: 6.895 MB / 0.6387 GB Notification: Performance of SimCode: time 5.01e-07/0.7185, allocations: 0 / 0.9155 GB, free: 6.895 MB / 0.6387 GB Notification: Performance of Templates: time 0.02818/0.7467, allocations: 14.06 MB / 0.9292 GB, free: 9.004 MB / 0.6544 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe 2>&1)