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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 107.8 kB / 16.41 MB, free: 6.473 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.001278/0.001278, allocations: 189.6 kB / 17.34 MB, free: 5.75 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.253/1.253, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002023/0.002023, allocations: 280.1 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8981/0.8981, allocations: 169.2 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001699/0.001699, allocations: 87.86 kB / 0.6821 GB, free: 7.016 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5035/0.5052, allocations: 86.98 MB / 0.767 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.1698/0.6751, allocations: 157 MB / 0.9204 GB, free: 6.324 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02817/0.7033, allocations: 21.88 MB / 0.9417 GB, free: 384 kB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002406/0.7058, allocations: 55.75 kB / 0.9418 GB, free: 328 kB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.002317/0.7082, allocations: 1.344 MB / 0.9431 GB, free: 14.97 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002053/0.7102, allocations: 0.9808 MB / 0.9441 GB, free: 13.99 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001734/0.712, allocations: 0.4991 MB / 0.9445 GB, free: 13.49 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002451/0.7145, allocations: 1.438 MB / 0.9459 GB, free: 12.05 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001387/0.7159, allocations: 0.7811 MB / 0.9467 GB, free: 11.25 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001195/0.7171, allocations: 0.6503 MB / 0.9473 GB, free: 10.6 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001683/0.7188, allocations: 1.098 MB / 0.9484 GB, free: 9.504 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002606/0.719, allocations: 72 kB / 0.9485 GB, free: 9.434 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004616/0.7195, allocations: 124 kB / 0.9486 GB, free: 9.312 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004095/0.7199, allocations: 376.5 kB / 0.949 GB, free: 8.941 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0008464/0.7208, allocations: 0.551 MB / 0.9495 GB, free: 8.387 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001878/0.7227, allocations: 1.369 MB / 0.9508 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.7227, allocations: 3.938 kB / 0.9508 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.623e-06/0.7227, allocations: 0 / 0.9508 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.329e-05/0.7227, allocations: 0 / 0.9508 GB, free: 7.012 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.003164/0.7259, allocations: 1.679 MB / 0.9525 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.726, allocations: 12.03 kB / 0.9525 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003104/0.7263, allocations: 159 kB / 0.9526 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00102/0.7273, allocations: 0.7593 MB / 0.9534 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000126/0.7275, allocations: 74.69 kB / 0.9535 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.333e-05/0.7276, allocations: 52 kB / 0.9535 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001037/0.7286, allocations: 0.5692 MB / 0.9541 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.003e-05/0.7286, allocations: 0 / 0.9541 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.04e-05/0.7287, allocations: 23.98 kB / 0.9541 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.189e-05/0.7287, allocations: 15.94 kB / 0.9541 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009165/0.7296, allocations: 443.7 kB / 0.9545 GB, free: 3.113 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.3254/1.055, allocations: 3.005 MB / 0.9575 GB, free: 191.5 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001354/1.056, allocations: 498 kB / 0.9579 GB, free: 191.5 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006831/1.057, allocations: 314.4 kB / 0.9582 GB, free: 191.4 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.63e-05/1.057, allocations: 9.578 kB / 0.9582 GB, free: 191.4 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006491/1.058, allocations: 324.7 kB / 0.9585 GB, free: 191.3 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=52): time 2.605e-06/1.058, allocations: 3.844 kB / 0.9586 GB, free: 191.3 MB / 0.7169 GB Notification: Performance of matching and sorting (n=52): time 0.003342/1.061, allocations: 1.354 MB / 0.9599 GB, free: 190.8 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.79e-05/1.061, allocations: 59.66 kB / 0.9599 GB, free: 190.7 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002052/1.063, allocations: 2.113 MB / 0.962 GB, free: 190.1 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.847e-05/1.063, allocations: 42.97 kB / 0.962 GB, free: 190 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003776/1.064, allocations: 0.6284 MB / 0.9626 GB, free: 189.6 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001069/1.064, allocations: 168.2 kB / 0.9628 GB, free: 189.5 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001467/1.064, allocations: 104.7 kB / 0.9629 GB, free: 189.4 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.674e-05/1.064, allocations: 327.2 kB / 0.9632 GB, free: 189.1 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00048/1.065, allocations: 237.7 kB / 0.9634 GB, free: 189.1 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005053/1.065, allocations: 348 kB / 0.9638 GB, free: 188.9 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008326/1.066, allocations: 0.5417 MB / 0.9643 GB, free: 188.6 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/1.066, allocations: 1.312 kB / 0.9643 GB, free: 188.6 MB / 0.7169 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001627/1.068, allocations: 0.9194 MB / 0.9652 GB, free: 188.2 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/1.068, allocations: 9.219 kB / 0.9652 GB, free: 188.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.098e-06/1.068, allocations: 3.719 kB / 0.9652 GB, free: 188.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004825/1.068, allocations: 197.1 kB / 0.9654 GB, free: 188.2 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003603/1.068, allocations: 103.2 kB / 0.9655 GB, free: 188.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002757/1.071, allocations: 3.043 MB / 0.9685 GB, free: 185.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000492/1.072, allocations: 86.33 kB / 0.9686 GB, free: 185.9 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.469e-05/1.072, allocations: 20.58 kB / 0.9686 GB, free: 185.9 MB / 0.7169 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.0004439/1.072, allocations: 435.7 kB / 0.969 GB, free: 185.7 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/1.072, allocations: 139.6 kB / 0.9691 GB, free: 185.6 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002059/1.073, allocations: 169.1 kB / 0.9693 GB, free: 185.5 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/1.073, allocations: 9.312 kB / 0.9693 GB, free: 185.5 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.689e-05/1.073, allocations: 0 / 0.9693 GB, free: 185.5 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.816e-06/1.073, allocations: 5.422 kB / 0.9693 GB, free: 185.5 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002277/1.075, allocations: 1.735 MB / 0.971 GB, free: 184.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/1.075, allocations: 1.688 kB / 0.971 GB, free: 184.6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002169/1.075, allocations: 52.17 kB / 0.971 GB, free: 184.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003809/1.076, allocations: 200.4 kB / 0.9712 GB, free: 184.4 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.318e-05/1.076, allocations: 15.89 kB / 0.9713 GB, free: 184.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00299/1.079, allocations: 4.604 MB / 0.9758 GB, free: 179.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/1.079, allocations: 0.7656 kB / 0.9758 GB, free: 179.8 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001607/1.08, allocations: 1.159 MB / 0.9769 GB, free: 178.6 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002254/1.08, allocations: 244.1 kB / 0.9771 GB, free: 178.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.611e-05/1.081, allocations: 16 kB / 0.9771 GB, free: 178.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003085/1.081, allocations: 31.97 kB / 0.9772 GB, free: 178.3 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001251/1.081, allocations: 63.23 kB / 0.9772 GB, free: 178.2 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.618e-05/1.081, allocations: 16 kB / 0.9772 GB, free: 178.2 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001135/1.082, allocations: 1.545 MB / 0.9787 GB, free: 176.6 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.8e-07/1.082, allocations: 4 kB / 0.9788 GB, free: 176.6 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0007324/1.083, allocations: 215.6 kB / 0.979 GB, free: 176.4 MB / 0.7169 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.0009586/1.084, allocations: 0.4947 MB / 0.9794 GB, free: 176.2 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001298/1.085, allocations: 0.7656 MB / 0.9802 GB, free: 175.4 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/1.085, allocations: 0 / 0.9802 GB, free: 175.4 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0007012/1.086, allocations: 0.5768 MB / 0.9807 GB, free: 174.8 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009401/1.087, allocations: 219 kB / 0.981 GB, free: 174.6 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003021/1.09, allocations: 2.849 MB / 0.9837 GB, free: 171.7 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005032/1.09, allocations: 1.229 MB / 0.9849 GB, free: 170.5 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001239/1.091, allocations: 59.36 kB / 0.985 GB, free: 170.4 MB / 0.7169 GB Notification: Performance of SimCode: time 5.11e-07/1.091, allocations: 2.844 kB / 0.985 GB, free: 170.4 MB / 0.7169 GB Notification: Performance of Templates: time 0.0197/1.11, allocations: 20.66 MB / 1.005 GB, free: 149.8 MB / 0.7169 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)