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/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.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/BuildingSystems 2.0.0-master/package.mo): time 0.7876/0.7876, allocations: 143.4 MB / 159.2 MB, free: 4.832 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.001159/0.001159, allocations: 187.4 kB / 191.9 MB, free: 5.711 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.414/1.414, allocations: 222.9 MB / 447.3 MB, free: 5.852 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.001151/0.001151, allocations: 99.75 kB / 0.517 GB, free: 3.715 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001876/0.001876, allocations: 280.8 kB / 0.5973 GB, free: 49.39 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 87.86 kB / 0.6885 GB, free: 3.848 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3261/0.3275, allocations: 81.29 MB / 0.7679 GB, free: 27.68 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7): time 0.5205/0.848, allocations: 155.5 MB / 0.9198 GB, free: 1.363 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.02026/0.8683, allocations: 21.94 MB / 0.9412 GB, free: 1.02 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001888/0.8702, allocations: 59.12 kB / 0.9413 GB, free: 1.02 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001725/0.872, allocations: 1.337 MB / 0.9426 GB, free: 0.9805 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.00126/0.8733, allocations: 0.974 MB / 0.9436 GB, free: 0.9453 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001243/0.8745, allocations: 0.5628 MB / 0.9441 GB, free: 0.9297 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.001425/0.876, allocations: 1.779 MB / 0.9458 GB, free: 0.9258 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008182/0.8768, allocations: 0.8817 MB / 0.9467 GB, free: 0.793 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000662/0.8775, allocations: 0.6592 MB / 0.9473 GB, free: 0.793 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001003/0.8785, allocations: 1.184 MB / 0.9485 GB, free: 0.75 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001153/0.8786, allocations: 50.78 kB / 0.9485 GB, free: 0.75 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000283/0.8789, allocations: 102.4 kB / 0.9486 GB, free: 0.7461 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002538/0.8791, allocations: 392.8 kB / 0.949 GB, free: 0.6797 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0003809/0.8795, allocations: 0.6138 MB / 0.9496 GB, free: 424 kB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0009202/0.8805, allocations: 1.523 MB / 0.9511 GB, free: 104 kB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.8805, allocations: 7.125 kB / 0.9511 GB, free: 100 kB / 0.5573 GB Notification: Performance of FrontEnd: time 8.32e-07/0.8805, allocations: 0 / 0.9511 GB, free: 100 kB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.625e-05/0.8805, allocations: 0 / 0.9511 GB, free: 100 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: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.002667/0.8832, allocations: 1.919 MB / 0.953 GB, free: 15.02 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.8832, allocations: 8.156 kB / 0.953 GB, free: 15.02 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002745/0.8835, allocations: 185.3 kB / 0.9532 GB, free: 14.93 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001133/0.8846, allocations: 0.8731 MB / 0.954 GB, free: 14.47 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001239/0.8848, allocations: 86.67 kB / 0.9541 GB, free: 14.44 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.54e-05/0.8849, allocations: 67.62 kB / 0.9542 GB, free: 14.44 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001105/0.886, allocations: 0.7196 MB / 0.9549 GB, free: 14.33 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.031e-05/0.886, allocations: 2.406 kB / 0.9549 GB, free: 14.33 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.468e-05/0.8861, allocations: 29.78 kB / 0.9549 GB, free: 14.33 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.189e-05/0.8861, allocations: 13.59 kB / 0.9549 GB, free: 14.33 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001015/0.8871, allocations: 0.5411 MB / 0.9554 GB, free: 14.32 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.004042/0.8912, allocations: 3.629 MB / 0.959 GB, free: 12.43 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001177/0.8924, allocations: 0.6026 MB / 0.9596 GB, free: 12.4 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006478/0.893, allocations: 373.6 kB / 0.9599 GB, free: 12.39 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 4.549e-05/0.8931, allocations: 11.41 kB / 0.9599 GB, free: 12.39 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006181/0.8937, allocations: 379.4 kB / 0.9603 GB, free: 12.34 MB / 0.573 GB Notification: Performance of pre-optimization done (n=65): time 2.595e-06/0.8937, allocations: 0 / 0.9603 GB, free: 12.34 MB / 0.573 GB Notification: Performance of matching and sorting (n=65): time 0.004649/0.8984, allocations: 1.784 MB / 0.962 GB, free: 11.95 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.946e-05/0.8984, allocations: 60 kB / 0.9621 GB, free: 11.88 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001912/0.9003, allocations: 2.254 MB / 0.9643 GB, free: 11.7 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 5.281e-05/0.9004, allocations: 42.33 kB / 0.9643 GB, free: 11.67 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005431/0.901, allocations: 0.7141 MB / 0.965 GB, free: 11.48 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001673/0.9011, allocations: 213.1 kB / 0.9652 GB, free: 11.32 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001804/0.9013, allocations: 128.1 kB / 0.9654 GB, free: 11.25 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.9014, allocations: 336.9 kB / 0.9657 GB, free: 10.93 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005743/0.902, allocations: 273.2 kB / 0.966 GB, free: 10.85 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006508/0.9027, allocations: 429 kB / 0.9664 GB, free: 10.59 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001107/0.9038, allocations: 0.6631 MB / 0.967 GB, free: 10.24 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.9038, allocations: 0 / 0.967 GB, free: 10.24 MB / 0.573 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002056/0.9059, allocations: 1.109 MB / 0.9681 GB, free: 9.836 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.9059, allocations: 13.06 kB / 0.9681 GB, free: 9.832 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.9059, allocations: 5.297 kB / 0.9681 GB, free: 9.832 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007702/0.9067, allocations: 272.1 kB / 0.9684 GB, free: 9.762 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004256/0.9071, allocations: 119.9 kB / 0.9685 GB, free: 9.758 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004739/0.9119, allocations: 3.464 MB / 0.9719 GB, free: 7.418 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005835/0.9125, allocations: 99.75 kB / 0.972 GB, free: 7.359 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.725e-05/0.9125, allocations: 24.75 kB / 0.972 GB, free: 7.355 MB / 0.573 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.0005573/0.9131, allocations: 462.2 kB / 0.9724 GB, free: 7.086 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001568/0.9133, allocations: 158.2 kB / 0.9726 GB, free: 7 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002707/0.9135, allocations: 186.5 kB / 0.9728 GB, free: 6.883 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.9136, allocations: 10.5 kB / 0.9728 GB, free: 6.879 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.9136, allocations: 2.438 kB / 0.9728 GB, free: 6.879 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/0.9136, allocations: 3.984 kB / 0.9728 GB, free: 6.875 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003484/0.9171, allocations: 2.036 MB / 0.9748 GB, free: 5.594 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.9171, allocations: 4.906 kB / 0.9748 GB, free: 5.59 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002903/0.9174, allocations: 59.78 kB / 0.9748 GB, free: 5.578 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007999/0.9182, allocations: 278.5 kB / 0.9751 GB, free: 5.441 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.053e-05/0.9183, allocations: 18.17 kB / 0.9751 GB, free: 5.43 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00565/0.9239, allocations: 4.763 MB / 0.9798 GB, free: 1.414 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.9239, allocations: 0.5625 kB / 0.9798 GB, free: 1.414 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0201/0.9441, allocations: 12.58 MB / 0.992 GB, free: 5.742 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003668/0.9445, allocations: 267.1 kB / 0.9923 GB, free: 5.461 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001112/0.9446, allocations: 16 kB / 0.9923 GB, free: 5.445 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004236/0.945, allocations: 48.02 kB / 0.9924 GB, free: 5.398 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001928/0.9452, allocations: 64.45 kB / 0.9924 GB, free: 5.336 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.354e-05/0.9453, allocations: 24 kB / 0.9924 GB, free: 5.312 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.001688/0.947, allocations: 1.631 MB / 0.994 GB, free: 3.688 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.51e-07/0.947, allocations: 4 kB / 0.994 GB, free: 3.684 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001427/0.9484, allocations: 399.5 kB / 0.9944 GB, free: 3.293 MB / 0.5886 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.00115/0.9496, allocations: 498.5 kB / 0.9949 GB, free: 2.992 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.002025/0.9516, allocations: 0.894 MB / 0.9958 GB, free: 2.105 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.9516, allocations: 0 / 0.9958 GB, free: 2.105 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001108/0.9527, allocations: 0.6761 MB / 0.9964 GB, free: 1.41 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001335/0.9541, allocations: 277.7 kB / 0.9967 GB, free: 1.152 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005936/0.96, allocations: 4.339 MB / 1.001 GB, free: 12.75 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009626/0.961, allocations: 1.342 MB / 1.002 GB, free: 11.38 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0004906/0.9615, allocations: 114.4 kB / 1.002 GB, free: 11.26 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001645/0.9617, allocations: 59.42 kB / 1.002 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of SimCode: time 6.92e-07/0.9617, allocations: 0 / 1.002 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of Templates: time 0.02833/0.99, allocations: 17.07 MB / 1.019 GB, free: 10.36 MB / 0.6198 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)