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.001314/0.001314, allocations: 107.9 kB / 16.27 MB, free: 6.004 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.001289/0.001289, allocations: 187.4 kB / 17.2 MB, free: 5.617 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.28/1.28, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002251/0.002251, allocations: 279.8 kB / 291.3 MB, free: 14.54 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8837/0.8837, allocations: 169.3 MB / 0.4988 GB, free: 4.484 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001707/0.001707, allocations: 109.7 kB / 0.5959 GB, free: 15.11 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1563, allocations: 86.98 MB / 0.6808 GB, free: 8.152 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7): time 0.3986/0.5549, allocations: 157.9 MB / 0.835 GB, free: 1.16 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02474/0.5797, allocations: 22.13 MB / 0.8566 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002036/0.5818, allocations: 63.69 kB / 0.8567 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002036/0.5839, allocations: 1.379 MB / 0.858 GB, free: 9.512 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001908/0.5858, allocations: 1.023 MB / 0.859 GB, free: 8.484 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001712/0.5875, allocations: 0.6366 MB / 0.8596 GB, free: 7.855 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002006/0.5896, allocations: 1.691 MB / 0.8613 GB, free: 6.16 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00138/0.591, allocations: 0.9662 MB / 0.8622 GB, free: 5.176 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0011/0.5921, allocations: 0.7242 MB / 0.8629 GB, free: 4.449 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001457/0.5935, allocations: 1.199 MB / 0.8641 GB, free: 3.25 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002321/0.5938, allocations: 92 kB / 0.8642 GB, free: 3.16 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004091/0.5942, allocations: 136 kB / 0.8643 GB, free: 3.027 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003896/0.5946, allocations: 420.3 kB / 0.8647 GB, free: 2.613 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0007282/0.5953, allocations: 0.6597 MB / 0.8654 GB, free: 1.949 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001592/0.5969, allocations: 1.565 MB / 0.8669 GB, free: 388 kB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.5969, allocations: 7.984 kB / 0.8669 GB, free: 380 kB / 0.6231 GB Notification: Performance of FrontEnd: time 1.202e-06/0.597, allocations: 0 / 0.8669 GB, free: 380 kB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.663e-05/0.597, allocations: 0 / 0.8669 GB, free: 380 kB / 0.6231 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.002937/0.6, allocations: 1.911 MB / 0.8688 GB, free: 14.4 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.6, allocations: 12.03 kB / 0.8688 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002718/0.6003, allocations: 182.7 kB / 0.869 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001072/0.6014, allocations: 0.875 MB / 0.8698 GB, free: 13.29 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001228/0.6015, allocations: 90.98 kB / 0.8699 GB, free: 13.19 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/0.6016, allocations: 68 kB / 0.87 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00117/0.6028, allocations: 0.7215 MB / 0.8707 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.189e-05/0.6028, allocations: 4 kB / 0.8707 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.911e-05/0.6029, allocations: 31.98 kB / 0.8707 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.327e-05/0.6029, allocations: 12 kB / 0.8707 GB, free: 12.33 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001059/0.604, allocations: 0.5399 MB / 0.8712 GB, free: 11.79 MB / 0.6387 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.004071/0.6081, allocations: 3.632 MB / 0.8748 GB, free: 7.879 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001246/0.6093, allocations: 0.6082 MB / 0.8754 GB, free: 7.262 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006656/0.61, allocations: 373.1 kB / 0.8757 GB, free: 6.898 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 4.331e-05/0.61, allocations: 12.56 kB / 0.8757 GB, free: 6.887 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006751/0.6107, allocations: 382.9 kB / 0.8761 GB, free: 6.504 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=65): time 2.224e-06/0.6107, allocations: 0 / 0.8761 GB, free: 6.504 MB / 0.6387 GB Notification: Performance of matching and sorting (n=65): time 0.004537/0.6153, allocations: 1.781 MB / 0.8779 GB, free: 4.676 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.751e-05/0.6153, allocations: 59.97 kB / 0.8779 GB, free: 4.605 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002066/0.6174, allocations: 2.259 MB / 0.8801 GB, free: 2.34 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.462e-05/0.6175, allocations: 41.64 kB / 0.8802 GB, free: 2.293 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005215/0.618, allocations: 0.7187 MB / 0.8809 GB, free: 1.566 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001633/0.6182, allocations: 213 kB / 0.8811 GB, free: 1.355 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001807/0.6184, allocations: 134.6 kB / 0.8812 GB, free: 1.215 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.6185, allocations: 330 kB / 0.8815 GB, free: 0.8867 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005722/0.619, allocations: 277.8 kB / 0.8818 GB, free: 0.6172 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006438/0.6197, allocations: 424.8 kB / 0.8822 GB, free: 156 kB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001122/0.6208, allocations: 0.6647 MB / 0.8828 GB, free: 15.44 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/0.6208, allocations: 0 / 0.8828 GB, free: 15.44 MB / 0.6544 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002085/0.6229, allocations: 1.12 MB / 0.8839 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.623, allocations: 8 kB / 0.8839 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.547e-06/0.623, allocations: 4 kB / 0.8839 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007473/0.6237, allocations: 271.7 kB / 0.8842 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004/0.6241, allocations: 123.8 kB / 0.8843 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004925/0.6291, allocations: 3.699 MB / 0.8879 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004915/0.6296, allocations: 95.17 kB / 0.888 GB, free: 10 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.549e-05/0.6296, allocations: 28 kB / 0.888 GB, free: 9.973 MB / 0.6544 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.0005292/0.6302, allocations: 467.8 kB / 0.8885 GB, free: 9.508 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001575/0.6303, allocations: 154 kB / 0.8886 GB, free: 9.355 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002346/0.6306, allocations: 187.7 kB / 0.8888 GB, free: 9.16 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.6306, allocations: 4 kB / 0.8888 GB, free: 9.156 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.6306, allocations: 4 kB / 0.8888 GB, free: 9.152 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/0.6306, allocations: 7.922 kB / 0.8888 GB, free: 9.145 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003056/0.6337, allocations: 2.029 MB / 0.8908 GB, free: 7.051 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.6337, allocations: 7.938 kB / 0.8908 GB, free: 7.043 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002562/0.6339, allocations: 59.89 kB / 0.8909 GB, free: 6.984 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007047/0.6347, allocations: 284.4 kB / 0.8911 GB, free: 6.703 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.039e-05/0.6347, allocations: 23.92 kB / 0.8912 GB, free: 6.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005438/0.6402, allocations: 5.228 MB / 0.8963 GB, free: 1.18 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.6402, allocations: 3.938 kB / 0.8963 GB, free: 1.176 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002424/0.6426, allocations: 1.404 MB / 0.8976 GB, free: 15.75 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003/0.6429, allocations: 263 kB / 0.8979 GB, free: 15.47 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001243/0.643, allocations: 19.92 kB / 0.8979 GB, free: 15.45 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003745/0.6434, allocations: 31.97 kB / 0.8979 GB, free: 15.42 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001409/0.6436, allocations: 68.47 kB / 0.898 GB, free: 15.36 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.612e-05/0.6436, allocations: 27.98 kB / 0.898 GB, free: 15.33 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001563/0.6452, allocations: 1.631 MB / 0.8996 GB, free: 13.7 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6452, allocations: 0 / 0.8996 GB, free: 13.7 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0008088/0.646, allocations: 276 kB / 0.8999 GB, free: 13.43 MB / 0.67 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.001043/0.6471, allocations: 494 kB / 0.9004 GB, free: 13.13 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001903/0.649, allocations: 0.9498 MB / 0.9013 GB, free: 12.16 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.649, allocations: 0.5 kB / 0.9013 GB, free: 12.16 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001004/0.65, allocations: 0.6748 MB / 0.9019 GB, free: 11.46 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001158/0.6512, allocations: 285.5 kB / 0.9022 GB, free: 11.2 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004069/0.6553, allocations: 3.179 MB / 0.9053 GB, free: 7.977 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008294/0.6561, allocations: 1.303 MB / 0.9066 GB, free: 6.641 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001371/0.6562, allocations: 63.42 kB / 0.9067 GB, free: 6.582 MB / 0.67 GB Notification: Performance of SimCode: time 2.41e-07/0.6563, allocations: 7.938 kB / 0.9067 GB, free: 6.574 MB / 0.67 GB Notification: Performance of Templates: time 0.02712/0.6834, allocations: 23.64 MB / 0.9297 GB, free: 14.99 MB / 0.7012 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)