Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.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.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") translateModel(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 97.44 kB / 15.69 MB, free: 484 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00111/0.001111, allocations: 177.5 kB / 16.57 MB, free: 6.863 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.275/1.275, allocations: 223.2 MB / 240.5 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6411/0.6411, allocations: 113.8 MB / 405.4 MB, free: 4.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002894/0.0002895, allocations: 8 kB / 493 MB, free: 8.602 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1241, allocations: 77.15 MB / 0.5568 GB, free: 11.65 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.3973/0.5214, allocations: 136.2 MB / 0.6899 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02834/0.5498, allocations: 22.92 MB / 0.7123 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002528/0.5523, allocations: 63.62 kB / 0.7123 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002603/0.5549, allocations: 0.9723 MB / 0.7133 GB, free: 9.293 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.006389/0.5614, allocations: 2.203 MB / 0.7154 GB, free: 7.094 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00456/0.5659, allocations: 1.709 MB / 0.7171 GB, free: 5.422 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.004905/0.5708, allocations: 3.081 MB / 0.7201 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004162/0.575, allocations: 3.032 MB / 0.7231 GB, free: 15.27 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002392/0.5774, allocations: 1.393 MB / 0.7244 GB, free: 13.87 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002701/0.5802, allocations: 1.727 MB / 0.7261 GB, free: 12.13 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0007039/0.5809, allocations: 116 kB / 0.7262 GB, free: 12.02 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001998/0.5829, allocations: 0.5853 MB / 0.7268 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.001131/0.584, allocations: 0.7432 MB / 0.7275 GB, free: 10.69 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.00105/0.5851, allocations: 0.6714 MB / 0.7282 GB, free: 10.01 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.005043/0.5901, allocations: 4.602 MB / 0.7327 GB, free: 5.395 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.5902, allocations: 0 / 0.7327 GB, free: 5.395 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.956e-06/0.5902, allocations: 0 / 0.7327 GB, free: 5.395 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0002125/0.5904, allocations: 0 / 0.7327 GB, free: 5.395 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 852 * Number of variables: 852 Notification: Performance of Generate backend data structure: time 0.01003/0.6004, allocations: 4.101 MB / 0.7367 GB, free: 1.207 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.6005, allocations: 8.031 kB / 0.7367 GB, free: 1.199 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01385/0.6143, allocations: 2.905 MB / 0.7395 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005835/0.6202, allocations: 2.262 MB / 0.7417 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002475/0.6205, allocations: 258.7 kB / 0.742 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009929/0.6215, allocations: 324 kB / 0.7423 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01288/0.6344, allocations: 5.327 MB / 0.7475 GB, free: 5.977 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.144e-05/0.6345, allocations: 7.984 kB / 0.7475 GB, free: 5.969 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006341/0.6351, allocations: 140 kB / 0.7476 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.207e-05/0.6352, allocations: 80 kB / 0.7477 GB, free: 5.754 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01513/0.6503, allocations: 6.534 MB / 0.7541 GB, free: 15.21 MB / 0.5762 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.02827/0.6786, allocations: 15.06 MB / 0.7688 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01148/0.6901, allocations: 4.903 MB / 0.7736 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009537/0.6911, allocations: 0.6776 MB / 0.7742 GB, free: 9.914 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006047/0.6972, allocations: 2.695 MB / 0.7769 GB, free: 7.18 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=291): time 4.96e-06/0.6972, allocations: 4 kB / 0.7769 GB, free: 7.176 MB / 0.5919 GB Notification: Performance of matching and sorting (n=291): time 0.0209/0.7181, allocations: 7.984 MB / 0.7847 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001244/0.7183, allocations: 222.2 kB / 0.7849 GB, free: 14.81 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003831/0.7221, allocations: 2.52 MB / 0.7873 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.000641/0.7228, allocations: 85.7 kB / 0.7874 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.00132/0.7241, allocations: 1.404 MB / 0.7888 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.001401/0.7255, allocations: 0.9395 MB / 0.7897 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004227/0.7259, allocations: 52 kB / 0.7898 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002475/0.7262, allocations: 415.1 kB / 0.7901 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004931/0.7311, allocations: 2.074 MB / 0.7922 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005264/0.7364, allocations: 2.407 MB / 0.7945 GB, free: 4.77 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005005/0.7414, allocations: 2.204 MB / 0.7967 GB, free: 2.547 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.103e-06/0.7415, allocations: 0 / 0.7967 GB, free: 2.547 MB / 0.6075 GB Notification: Performance of matching and sorting (n=328) (initialization): time 0.01186/0.7533, allocations: 5.193 MB / 0.8017 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.838e-05/0.7534, allocations: 11.95 kB / 0.8018 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.849e-05/0.7534, allocations: 8 kB / 0.8018 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008094/0.7542, allocations: 344.8 kB / 0.8021 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004303/0.7585, allocations: 0.8542 MB / 0.8029 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00514/0.7637, allocations: 4.022 MB / 0.8069 GB, free: 7.938 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003957/0.7677, allocations: 0.5907 MB / 0.8074 GB, free: 7.344 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003875/0.7681, allocations: 111.9 kB / 0.8075 GB, free: 7.234 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition1,$PRE.intGai.nextTimeEvent,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,$PRE.HDifTil[1].incAng.decAng.tNext,HDifTil[1].incAng.decAng.tNext,$PRE.HDifTil[2].incAng.decAng.tNext,HDifTil[2].incAng.decAng.tNext,$PRE.HDirTil[1].incAng.decAng.tNext,HDirTil[1].incAng.decAng.tNext,$PRE.HDirTil[2].incAng.decAng.tNext,HDirTil[2].incAng.decAng.tNext,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (298): * Single equations (assignments): 297 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 28} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002135/0.7702, allocations: 0.983 MB / 0.8085 GB, free: 6.246 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000685/0.7709, allocations: 284.4 kB / 0.8088 GB, free: 5.965 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01357/0.7845, allocations: 5.93 MB / 0.8146 GB, free: 15.97 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-05/0.7846, allocations: 31.95 kB / 0.8146 GB, free: 15.94 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.15e-05/0.7846, allocations: 12 kB / 0.8146 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.92e-05/0.7846, allocations: 15.94 kB / 0.8146 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005784/0.7904, allocations: 3.863 MB / 0.8184 GB, free: 12 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.478e-05/0.7904, allocations: 0 / 0.8184 GB, free: 12 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004037/0.7945, allocations: 0.7918 MB / 0.8192 GB, free: 11.2 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001068/0.7956, allocations: 380.1 kB / 0.8195 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004531/0.796, allocations: 79.92 kB / 0.8196 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006405/0.8025, allocations: 5.913 MB / 0.8254 GB, free: 4.543 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.8025, allocations: 0 / 0.8254 GB, free: 4.543 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2664/1.069, allocations: 8.4 MB / 0.8336 GB, free: 224.6 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002485/1.071, allocations: 0.9134 MB / 0.8345 GB, free: 224.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006454/1.072, allocations: 60.97 kB / 0.8345 GB, free: 224.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003459/1.076, allocations: 455.3 kB / 0.835 GB, free: 224.4 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005059/1.076, allocations: 221 kB / 0.8352 GB, free: 224.4 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002998/1.076, allocations: 107.7 kB / 0.8353 GB, free: 224.4 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002769/1.079, allocations: 1.843 MB / 0.8371 GB, free: 223.8 MB / 0.6387 GB Notification: Performance of sort global known variables: time 6.31e-07/1.079, allocations: 0 / 0.8371 GB, free: 223.8 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003171/1.082, allocations: 1.085 MB / 0.8381 GB, free: 223.6 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.volAir.dynBal.U,thermalZoneTwoElements.volAir.dynBal.m,thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[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 (279): * Single equations (assignments): 265 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 25,(1,100.0%) 3} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002458/1.085, allocations: 1.05 MB / 0.8392 GB, free: 223.4 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01208/1.097, allocations: 5.072 MB / 0.8441 GB, free: 221.9 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.022e-06/1.097, allocations: 1.188 kB / 0.8441 GB, free: 221.9 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.006238/1.103, allocations: 2.93 MB / 0.847 GB, free: 220.8 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003121/1.106, allocations: 0.5769 MB / 0.8475 GB, free: 220.7 MB / 0.6387 GB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is set to 'isProtected' (=false) by default. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01526/1.122, allocations: 9.606 MB / 0.8569 GB, free: 216.2 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001879/1.124, allocations: 2.612 MB / 0.8595 GB, free: 215.2 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.004341/1.128, allocations: 1.157 MB / 0.8606 GB, free: 214.9 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001104/1.129, allocations: 295.4 kB / 0.8609 GB, free: 214.9 MB / 0.6387 GB Notification: Performance of SimCode: time 9.01e-07/1.129, allocations: 0 / 0.8609 GB, free: 214.9 MB / 0.6387 GB Notification: Performance of Templates: time 0.0616/1.191, allocations: 45.79 MB / 0.9056 GB, free: 176.1 MB / 0.6387 GB make -j1 -f IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.makefile (rm -f IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; mkfifo IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe >> ../files/IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.sim & ./IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe 2>&1)