Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements") translateModel(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 114.8 kB / 17.08 MB, free: 5.969 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.001437/0.001437, allocations: 198.9 kB / 18.02 MB, free: 5.047 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.335/1.335, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7143/0.7143, allocations: 115.3 MB / 407.2 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 64.98 kB / 0.5583 GB, free: 32.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1346, allocations: 76.18 MB / 0.6327 GB, free: 4.426 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.5004/0.6351, allocations: 163.6 MB / 0.7924 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.03511/0.6703, allocations: 27.39 MB / 0.8192 GB, free: 8.902 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004436/0.6748, allocations: 84.5 kB / 0.8193 GB, free: 8.871 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003363/0.6782, allocations: 1.125 MB / 0.8204 GB, free: 8.082 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.007346/0.6856, allocations: 1.977 MB / 0.8223 GB, free: 6.855 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006162/0.6917, allocations: 1.898 MB / 0.8242 GB, free: 5.492 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.009191/0.701, allocations: 5.95 MB / 0.83 GB, free: 1.965 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007088/0.7081, allocations: 4.575 MB / 0.8344 GB, free: 15.22 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005048/0.7132, allocations: 2.34 MB / 0.8367 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004789/0.718, allocations: 2.771 MB / 0.8394 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001662/0.7197, allocations: 0.5078 MB / 0.8399 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003555/0.7233, allocations: 1.124 MB / 0.841 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.002111/0.7254, allocations: 1.312 MB / 0.8423 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.004794/0.7302, allocations: 2.385 MB / 0.8446 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01073/0.741, allocations: 6.673 MB / 0.8511 GB, free: 2.773 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 9.097e-06/0.741, allocations: 0 / 0.8511 GB, free: 2.773 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.713e-06/0.7411, allocations: 11.88 kB / 0.8512 GB, free: 2.762 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.000242/0.7413, allocations: 0 / 0.8512 GB, free: 2.762 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 908 * Number of variables: 908 Notification: Performance of Generate backend data structure: time 0.0146/0.7559, allocations: 5.083 MB / 0.8561 GB, free: 13.6 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.756, allocations: 8.031 kB / 0.8561 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01455/0.7705, allocations: 2.815 MB / 0.8589 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006138/0.7767, allocations: 2.5 MB / 0.8613 GB, free: 8.242 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003215/0.7771, allocations: 267.1 kB / 0.8616 GB, free: 7.98 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001392/0.7785, allocations: 351.9 kB / 0.8619 GB, free: 7.637 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01638/0.7949, allocations: 5.588 MB / 0.8674 GB, free: 1.98 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.533e-05/0.795, allocations: 0 / 0.8674 GB, free: 1.98 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005648/0.7956, allocations: 155.9 kB / 0.8675 GB, free: 1.828 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.277e-05/0.7957, allocations: 84 kB / 0.8676 GB, free: 1.746 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01737/0.8131, allocations: 6.716 MB / 0.8742 GB, free: 11.02 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.03162/0.8447, allocations: 16.86 MB / 0.8906 GB, free: 9.508 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01004/0.8548, allocations: 4.404 MB / 0.8949 GB, free: 5.09 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006369/0.8612, allocations: 2.776 MB / 0.8976 GB, free: 2.309 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001065/0.8623, allocations: 0.6678 MB / 0.8983 GB, free: 1.527 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00683/0.8692, allocations: 2.826 MB / 0.901 GB, free: 14.67 MB / 0.67 GB Notification: Performance of pre-optimization done (n=309): time 7.233e-06/0.8692, allocations: 0 / 0.901 GB, free: 14.67 MB / 0.67 GB Notification: Performance of matching and sorting (n=309): time 0.02418/0.8934, allocations: 8.85 MB / 0.9097 GB, free: 5.707 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001464/0.8936, allocations: 218.3 kB / 0.9099 GB, free: 5.449 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003938/0.8976, allocations: 2.648 MB / 0.9125 GB, free: 2.785 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0008837/0.8985, allocations: 85.8 kB / 0.9126 GB, free: 2.695 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001446/0.8999, allocations: 1.474 MB / 0.914 GB, free: 1.207 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001567/0.9015, allocations: 1.013 MB / 0.915 GB, free: 208 kB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001215/0.9027, allocations: 0.5454 MB / 0.9155 GB, free: 15.65 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.9029, allocations: 301.1 kB / 0.9158 GB, free: 15.36 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005424/0.9083, allocations: 2.195 MB / 0.918 GB, free: 13.16 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006223/0.9146, allocations: 2.524 MB / 0.9204 GB, free: 10.56 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0116/0.9262, allocations: 4.657 MB / 0.925 GB, free: 5.824 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.746e-05/0.9263, allocations: 4 kB / 0.925 GB, free: 5.82 MB / 0.6856 GB Notification: Performance of matching and sorting (n=355) (initialization): time 0.01513/0.9414, allocations: 5.62 MB / 0.9305 GB, free: 160 kB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.552e-05/0.9415, allocations: 8 kB / 0.9305 GB, free: 152 kB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.755e-05/0.9415, allocations: 4 kB / 0.9305 GB, free: 148 kB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001368/0.9429, allocations: 0.5441 MB / 0.931 GB, free: 15.6 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004753/0.9476, allocations: 0.8307 MB / 0.9318 GB, free: 14.77 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008304/0.956, allocations: 5.731 MB / 0.9374 GB, free: 8.895 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004669/0.9607, allocations: 0.5827 MB / 0.938 GB, free: 8.309 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008604/0.9616, allocations: 123.9 kB / 0.9381 GB, free: 8.188 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 34 ($PRE.intGai.nextTimeEvent,$whenCondition1,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,HDirTil[2].incAng.decAng.tNext,$PRE.HDirTil[2].incAng.decAng.tNext,HDirTil[1].incAng.decAng.tNext,$PRE.HDirTil[1].incAng.decAng.tNext,HDifTil[2].incAng.decAng.tNext,$PRE.HDifTil[2].incAng.decAng.tNext,HDifTil[1].incAng.decAng.tNext,$PRE.HDifTil[1].incAng.decAng.tNext,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (310): * Single equations (assignments): 309 * 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 {(4,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002682/0.9643, allocations: 1.032 MB / 0.9391 GB, free: 7.148 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009502/0.9653, allocations: 304.2 kB / 0.9394 GB, free: 6.848 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01538/0.9806, allocations: 6.264 MB / 0.9455 GB, free: 0.5234 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.74e-05/0.9807, allocations: 28 kB / 0.9455 GB, free: 0.4961 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.154e-05/0.9807, allocations: 8 kB / 0.9455 GB, free: 500 kB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.336e-05/0.9808, allocations: 15.94 kB / 0.9456 GB, free: 484 kB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006735/0.9875, allocations: 4.081 MB / 0.9495 GB, free: 12.42 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.179e-05/0.9876, allocations: 0 / 0.9495 GB, free: 12.42 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004433/0.9921, allocations: 0.7722 MB / 0.9503 GB, free: 11.64 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001533/0.9936, allocations: 0.5296 MB / 0.9508 GB, free: 11.11 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007633/0.9944, allocations: 87.92 kB / 0.9509 GB, free: 11.02 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008653/1.003, allocations: 7.535 MB / 0.9583 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/1.003, allocations: 0 / 0.9583 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02133/1.024, allocations: 8.909 MB / 0.967 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002458/1.027, allocations: 0.9025 MB / 0.9678 GB, free: 9.273 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007575/1.028, allocations: 75.89 kB / 0.9679 GB, free: 9.199 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00351/1.031, allocations: 423.3 kB / 0.9683 GB, free: 8.785 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005928/1.032, allocations: 226.3 kB / 0.9685 GB, free: 8.562 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003116/1.032, allocations: 115.9 kB / 0.9686 GB, free: 8.449 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.003002/1.035, allocations: 1.919 MB / 0.9705 GB, free: 6.523 MB / 0.7325 GB Notification: Performance of sort global known variables: time 5.71e-07/1.035, allocations: 0 / 0.9705 GB, free: 6.523 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00415/1.039, allocations: 1.208 MB / 0.9717 GB, free: 5.312 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (thermalZoneThreeElements.volAir.dynBal.U,thermalZoneThreeElements.volAir.dynBal.m,thermalZoneThreeElements.extWallRC.thermCapExt[1].T,thermalZoneThreeElements.intWallRC.thermCapInt[1].T,thermalZoneThreeElements.floorRC.thermCapExt[1].T) * Number of discrete variables: 21 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifTil[1].incAng.decAng.tNext,HDifTil[2].incAng.decAng.tNext,HDirTil[1].incAng.decAng.tNext,HDirTil[2].incAng.decAng.tNext,intGai.nextTimeEvent,intGai.nextTimeEventScaled) * Number of discrete states: 11 (intGai.nextTimeEventScaled,intGai.nextTimeEvent,HDirTil[2].incAng.decAng.tNext,HDirTil[1].incAng.decAng.tNext,HDifTil[2].incAng.decAng.tNext,HDifTil[1].incAng.decAng.tNext,weaDat.decAng.tNext,weaDat.eqnTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.tNext,weaDat.locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (285): * Single equations (assignments): 271 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(4,36,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002801/1.042, allocations: 1.072 MB / 0.9727 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01364/1.056, allocations: 5.425 MB / 0.978 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 8.766e-06/1.056, allocations: 4 kB / 0.978 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.007468/1.063, allocations: 3.108 MB / 0.9811 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004548/1.068, allocations: 0.7758 MB / 0.9818 GB, free: 11.28 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01725/1.085, allocations: 8.678 MB / 0.9903 GB, free: 2.562 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002284/1.088, allocations: 2.548 MB / 0.9928 GB, free: 15.99 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002055/1.09, allocations: 339.2 kB / 0.9931 GB, free: 15.66 MB / 0.7637 GB Notification: Performance of SimCode: time 8.52e-07/1.09, allocations: 0 / 0.9931 GB, free: 15.66 MB / 0.7637 GB Notification: Performance of Templates: time 0.4515/1.541, allocations: 92.99 MB / 1.084 GB, free: 321.6 MB / 0.8106 GB make -j1 -f IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.makefile (rm -f IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; mkfifo IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe >> ../files/IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.sim & ./IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe 2>&1)