Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.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.TestCase6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7817/0.7817, allocations: 143.4 MB / 159.2 MB, free: 4.926 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.00121/0.00121, allocations: 188.5 kB / 191.9 MB, free: 5.715 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.426/1.426, 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.001004/0.001004, allocations: 103.5 kB / 0.517 GB, free: 3.719 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001883/0.001883, allocations: 274.6 kB / 0.5973 GB, free: 49.36 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 79.86 kB / 0.6885 GB, free: 3.824 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3378/0.3393, allocations: 81.3 MB / 0.7679 GB, free: 27.64 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.4895/0.8289, allocations: 154.7 MB / 0.919 GB, free: 1.312 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.02561/0.8545, allocations: 21.69 MB / 0.9402 GB, free: 0.9805 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003472/0.858, allocations: 47.34 kB / 0.9402 GB, free: 0.9805 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.002326/0.8604, allocations: 1.309 MB / 0.9415 GB, free: 0.9414 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.002397/0.8629, allocations: 0.9283 MB / 0.9424 GB, free: 0.9062 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001688/0.8646, allocations: 451.4 kB / 0.9428 GB, free: 0.8945 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.002277/0.8669, allocations: 1.531 MB / 0.9443 GB, free: 0.8906 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001477/0.8683, allocations: 0.7075 MB / 0.945 GB, free: 0.793 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001599/0.87, allocations: 0.5765 MB / 0.9456 GB, free: 0.7891 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001631/0.8716, allocations: 1.098 MB / 0.9467 GB, free: 0.7734 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0003083/0.8719, allocations: 44.62 kB / 0.9467 GB, free: 0.7734 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006323/0.8726, allocations: 95.62 kB / 0.9468 GB, free: 0.7695 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0004381/0.873, allocations: 359.1 kB / 0.9471 GB, free: 0.7578 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0007528/0.8738, allocations: 0.5272 MB / 0.9476 GB, free: 0.5273 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001239/0.875, allocations: 1.313 MB / 0.9489 GB, free: 264 kB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.875, allocations: 0 / 0.9489 GB, free: 264 kB / 0.5573 GB Notification: Performance of FrontEnd: time 8.32e-07/0.8751, allocations: 0 / 0.9489 GB, free: 264 kB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.495e-05/0.8751, allocations: 4 kB / 0.9489 GB, free: 260 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.002505/0.8776, allocations: 1.682 MB / 0.9506 GB, free: 15.27 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.8776, allocations: 6.938 kB / 0.9506 GB, free: 15.27 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002546/0.8779, allocations: 164.4 kB / 0.9507 GB, free: 15.19 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009176/0.8788, allocations: 0.7346 MB / 0.9515 GB, free: 14.77 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000119/0.879, allocations: 82.91 kB / 0.9515 GB, free: 14.74 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.647e-05/0.879, allocations: 52.59 kB / 0.9516 GB, free: 14.74 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009247/0.88, allocations: 0.5657 MB / 0.9521 GB, free: 14.66 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.262e-05/0.88, allocations: 6.969 kB / 0.9521 GB, free: 14.66 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.594e-05/0.8801, allocations: 20.55 kB / 0.9522 GB, free: 14.66 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.604e-05/0.8801, allocations: 10.03 kB / 0.9522 GB, free: 14.66 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007839/0.8809, allocations: 451 kB / 0.9526 GB, free: 14.65 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.003531/0.8844, allocations: 3.012 MB / 0.9555 GB, free: 13.05 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009571/0.8854, allocations: 0.4892 MB / 0.956 GB, free: 13.02 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005391/0.8859, allocations: 328.6 kB / 0.9563 GB, free: 13 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 4.133e-05/0.886, allocations: 5.094 kB / 0.9563 GB, free: 13 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005398/0.8865, allocations: 333.8 kB / 0.9567 GB, free: 12.94 MB / 0.573 GB Notification: Performance of pre-optimization done (n=52): time 2.584e-06/0.8865, allocations: 0 / 0.9567 GB, free: 12.94 MB / 0.573 GB Notification: Performance of matching and sorting (n=52): time 0.002971/0.8895, allocations: 1.342 MB / 0.958 GB, free: 12.59 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.549e-05/0.8896, allocations: 65.25 kB / 0.958 GB, free: 12.53 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001948/0.8915, allocations: 2.115 MB / 0.9601 GB, free: 12.36 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 4.637e-05/0.8916, allocations: 34.98 kB / 0.9601 GB, free: 12.33 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000399/0.892, allocations: 0.6223 MB / 0.9607 GB, free: 12.19 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001288/0.8921, allocations: 170.3 kB / 0.9609 GB, free: 12.09 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001415/0.8923, allocations: 104 kB / 0.961 GB, free: 12.07 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.8924, allocations: 333.6 kB / 0.9613 GB, free: 11.76 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004705/0.8929, allocations: 237.8 kB / 0.9615 GB, free: 11.75 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005332/0.8934, allocations: 349.3 kB / 0.9619 GB, free: 11.64 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000887/0.8943, allocations: 0.5459 MB / 0.9624 GB, free: 11.52 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.8943, allocations: 2.781 kB / 0.9624 GB, free: 11.52 MB / 0.573 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001718/0.8961, allocations: 0.9117 MB / 0.9633 GB, free: 11.38 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.8961, allocations: 7.203 kB / 0.9633 GB, free: 11.38 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.607e-06/0.8961, allocations: 2.312 kB / 0.9633 GB, free: 11.38 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005247/0.8966, allocations: 191.8 kB / 0.9635 GB, free: 11.38 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000387/0.897, allocations: 116.1 kB / 0.9636 GB, free: 11.36 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003374/0.9004, allocations: 2.798 MB / 0.9663 GB, free: 9.684 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005813/0.901, allocations: 80.62 kB / 0.9664 GB, free: 9.648 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.924e-05/0.9011, allocations: 25.02 kB / 0.9664 GB, free: 9.645 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 24 (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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 56 * 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 {(2,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005877/0.9017, allocations: 444.4 kB / 0.9669 GB, free: 9.434 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001566/0.9018, allocations: 139 kB / 0.967 GB, free: 9.359 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002326/0.9021, allocations: 170.4 kB / 0.9672 GB, free: 9.285 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.9021, allocations: 5.062 kB / 0.9672 GB, free: 9.285 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-05/0.9021, allocations: 1.781 kB / 0.9672 GB, free: 9.285 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.9021, allocations: 7.172 kB / 0.9672 GB, free: 9.281 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002561/0.9047, allocations: 1.731 MB / 0.9689 GB, free: 8.477 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.9047, allocations: 0 / 0.9689 GB, free: 8.477 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002361/0.9049, allocations: 58.28 kB / 0.9689 GB, free: 8.469 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004503/0.9054, allocations: 194.9 kB / 0.9691 GB, free: 8.406 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.128e-05/0.9054, allocations: 14.27 kB / 0.9691 GB, free: 8.398 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004324/0.9098, allocations: 4.185 MB / 0.9732 GB, free: 4.965 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.9098, allocations: 0 / 0.9732 GB, free: 4.965 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01586/0.9257, allocations: 10.56 MB / 0.9835 GB, free: 13 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004581/0.9262, allocations: 234.4 kB / 0.9837 GB, free: 12.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001392/0.9263, allocations: 10.75 kB / 0.9838 GB, free: 12.79 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004087/0.9267, allocations: 41.42 kB / 0.9838 GB, free: 12.77 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000175/0.9269, allocations: 57.45 kB / 0.9839 GB, free: 12.74 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.926e-05/0.927, allocations: 23.08 kB / 0.9839 GB, free: 12.73 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002165/0.9292, allocations: 1.542 MB / 0.9854 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9292, allocations: 0 / 0.9854 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001321/0.9305, allocations: 335.5 kB / 0.9857 GB, free: 11.5 MB / 0.5886 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: 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 (34): * Single equations (assignments): 24 * 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): 2 systems {(2,14,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.001077/0.9316, allocations: 487.3 kB / 0.9862 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001658/0.9333, allocations: 0.7652 MB / 0.9869 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.9333, allocations: 0.5625 kB / 0.9869 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0009844/0.9343, allocations: 0.5826 MB / 0.9875 GB, free: 9.844 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001146/0.9354, allocations: 222.5 kB / 0.9877 GB, free: 9.637 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005333/0.9408, allocations: 3.839 MB / 0.9914 GB, free: 5.734 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009625/0.9418, allocations: 1.255 MB / 0.9927 GB, free: 4.453 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0003812/0.9422, allocations: 101.1 kB / 0.9928 GB, free: 4.352 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001497/0.9423, allocations: 51.42 kB / 0.9928 GB, free: 4.301 MB / 0.5886 GB Notification: Performance of SimCode: time 4.81e-07/0.9423, allocations: 0 / 0.9928 GB, free: 4.301 MB / 0.5886 GB Notification: Performance of Templates: time 0.02304/0.9654, allocations: 12.86 MB / 1.005 GB, free: 7.637 MB / 0.6042 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1)