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.001274/0.001274, allocations: 106.1 kB / 16.41 MB, free: 6.508 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.001339/0.001339, allocations: 187 kB / 17.34 MB, free: 5.742 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.243/1.243, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002025/0.002025, allocations: 278 kB / 291.5 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.8936/0.8936, allocations: 169.2 MB / 0.499 GB, free: 4.398 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 99.84 kB / 0.6821 GB, free: 6.941 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4503/0.4523, allocations: 86.97 MB / 0.767 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7): time 0.159/0.6114, allocations: 157.9 MB / 0.9212 GB, free: 5.426 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02536/0.6368, allocations: 22.12 MB / 0.9428 GB, free: 15.22 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002528/0.6394, allocations: 67.62 kB / 0.9429 GB, free: 15.16 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001785/0.6412, allocations: 1.379 MB / 0.9442 GB, free: 13.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001683/0.6429, allocations: 1.012 MB / 0.9452 GB, free: 12.76 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001597/0.6445, allocations: 0.6537 MB / 0.9458 GB, free: 12.11 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001651/0.6462, allocations: 1.696 MB / 0.9475 GB, free: 10.41 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009845/0.6471, allocations: 0.9552 MB / 0.9484 GB, free: 9.43 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007454/0.6479, allocations: 0.7436 MB / 0.9492 GB, free: 8.684 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001113/0.649, allocations: 1.187 MB / 0.9503 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001383/0.6492, allocations: 92 kB / 0.9504 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003009/0.6495, allocations: 155.9 kB / 0.9506 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003048/0.6498, allocations: 412.3 kB / 0.951 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004937/0.6503, allocations: 0.6519 MB / 0.9516 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001382/0.6517, allocations: 1.602 MB / 0.9532 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.6517, allocations: 0 / 0.9532 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.343e-06/0.6517, allocations: 0 / 0.9532 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.398e-05/0.6517, allocations: 0 / 0.9532 GB, free: 4.586 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: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.002661/0.6544, allocations: 1.915 MB / 0.955 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.6544, allocations: 12.03 kB / 0.955 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002631/0.6547, allocations: 190.6 kB / 0.9552 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001159/0.6559, allocations: 0.8827 MB / 0.9561 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001179/0.656, allocations: 87 kB / 0.9562 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001023/0.6561, allocations: 64 kB / 0.9562 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001148/0.6573, allocations: 0.7254 MB / 0.9569 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.235e-05/0.6573, allocations: 0 / 0.9569 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.186e-05/0.6574, allocations: 23.98 kB / 0.957 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.24e-05/0.6574, allocations: 20 kB / 0.957 GB, free: 0.5352 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3806/1.038, allocations: 0.5357 MB / 0.9575 GB, free: 191.7 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.005475/1.043, allocations: 3.606 MB / 0.961 GB, free: 189.3 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001568/1.045, allocations: 0.6091 MB / 0.9616 GB, free: 189.1 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007208/1.046, allocations: 374.7 kB / 0.962 GB, free: 189 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.738e-05/1.046, allocations: 12.95 kB / 0.962 GB, free: 189 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007095/1.047, allocations: 379.7 kB / 0.9623 GB, free: 188.8 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=65): time 2.916e-06/1.047, allocations: 5.188 kB / 0.9623 GB, free: 188.8 MB / 0.7169 GB Notification: Performance of matching and sorting (n=65): time 0.004599/1.051, allocations: 1.781 MB / 0.9641 GB, free: 188.2 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.781e-05/1.051, allocations: 60.92 kB / 0.9641 GB, free: 188.2 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002289/1.054, allocations: 2.253 MB / 0.9663 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.851e-05/1.054, allocations: 44.05 kB / 0.9664 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004537/1.054, allocations: 0.7164 MB / 0.9671 GB, free: 186.9 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001357/1.054, allocations: 219.3 kB / 0.9673 GB, free: 186.7 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001799/1.054, allocations: 124.8 kB / 0.9674 GB, free: 186.6 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.361e-05/1.054, allocations: 335.9 kB / 0.9677 GB, free: 186.3 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005693/1.055, allocations: 276.7 kB / 0.968 GB, free: 186.2 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006124/1.056, allocations: 426 kB / 0.9684 GB, free: 186 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009665/1.057, allocations: 0.6668 MB / 0.9691 GB, free: 185.6 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/1.057, allocations: 3.875 kB / 0.9691 GB, free: 185.6 MB / 0.7169 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001853/1.058, allocations: 1.111 MB / 0.9701 GB, free: 185.2 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/1.059, allocations: 11.19 kB / 0.9702 GB, free: 185.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/1.059, allocations: 1.875 kB / 0.9702 GB, free: 185.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007179/1.059, allocations: 276.7 kB / 0.9704 GB, free: 185.1 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000372/1.06, allocations: 117.8 kB / 0.9705 GB, free: 185.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003985/1.064, allocations: 3.703 MB / 0.9742 GB, free: 181.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005119/1.064, allocations: 87.33 kB / 0.9742 GB, free: 181.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.774e-05/1.064, allocations: 32 kB / 0.9743 GB, free: 181.5 MB / 0.7169 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.0004488/1.065, allocations: 463 kB / 0.9747 GB, free: 181 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001224/1.065, allocations: 161.9 kB / 0.9749 GB, free: 180.9 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002349/1.065, allocations: 195.5 kB / 0.975 GB, free: 180.7 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/1.065, allocations: 8 kB / 0.9751 GB, free: 180.6 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.799e-06/1.065, allocations: 0 / 0.9751 GB, free: 180.6 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/1.065, allocations: 3.984 kB / 0.9751 GB, free: 180.6 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002652/1.068, allocations: 2.037 MB / 0.977 GB, free: 178.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/1.068, allocations: 0 / 0.977 GB, free: 178.6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002392/1.068, allocations: 59.89 kB / 0.9771 GB, free: 178.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006071/1.069, allocations: 275.6 kB / 0.9774 GB, free: 178.2 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.712e-05/1.069, allocations: 19.98 kB / 0.9774 GB, free: 178.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004193/1.073, allocations: 5.236 MB / 0.9825 GB, free: 172.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/1.073, allocations: 0 / 0.9825 GB, free: 172.7 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002017/1.075, allocations: 1.406 MB / 0.9839 GB, free: 171.3 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002893/1.075, allocations: 267 kB / 0.9841 GB, free: 171 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001043/1.075, allocations: 19.98 kB / 0.9841 GB, free: 171 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003651/1.076, allocations: 31.97 kB / 0.9842 GB, free: 170.9 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001365/1.076, allocations: 73.67 kB / 0.9842 GB, free: 170.9 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.193e-05/1.076, allocations: 23.98 kB / 0.9843 GB, free: 170.8 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001285/1.077, allocations: 1.627 MB / 0.9859 GB, free: 169.2 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.71e-07/1.077, allocations: 4 kB / 0.9859 GB, free: 169.2 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0009978/1.078, allocations: 266.2 kB / 0.9861 GB, free: 169 MB / 0.7169 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.001352/1.08, allocations: 498.5 kB / 0.9866 GB, free: 168.7 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001735/1.081, allocations: 0.9018 MB / 0.9875 GB, free: 167.8 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/1.081, allocations: 4.062 kB / 0.9875 GB, free: 167.8 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0008909/1.082, allocations: 0.6708 MB / 0.9881 GB, free: 167.1 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00112/1.083, allocations: 305 kB / 0.9884 GB, free: 166.8 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003667/1.087, allocations: 3.138 MB / 0.9915 GB, free: 163.6 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005961/1.088, allocations: 1.309 MB / 0.9928 GB, free: 162.3 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001307/1.088, allocations: 63.42 kB / 0.9928 GB, free: 162.2 MB / 0.7169 GB Notification: Performance of SimCode: time 4.01e-07/1.088, allocations: 0 / 0.9928 GB, free: 162.2 MB / 0.7169 GB Notification: Performance of Templates: time 0.02242/1.11, allocations: 23.72 MB / 1.016 GB, free: 138.6 MB / 0.7169 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)