Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.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.SimpleRoomOneElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement") translateModel(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 110.5 kB / 17.08 MB, free: 6.016 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.001095/0.001095, allocations: 199 kB / 18.02 MB, free: 5.094 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.295/1.295, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7042/0.7042, allocations: 115.3 MB / 407.2 MB, free: 6.215 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 68.53 kB / 0.5583 GB, free: 32.41 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1471, allocations: 76.18 MB / 0.6327 GB, free: 4.422 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.5286/0.6758, allocations: 161.9 MB / 0.7909 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.03027/0.7061, allocations: 26.95 MB / 0.8172 GB, free: 9.543 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00325/0.7094, allocations: 75.25 kB / 0.8172 GB, free: 9.516 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002563/0.712, allocations: 1.044 MB / 0.8183 GB, free: 8.793 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005469/0.7175, allocations: 1.787 MB / 0.82 GB, free: 7.695 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004459/0.722, allocations: 1.724 MB / 0.8217 GB, free: 6.484 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.006812/0.7288, allocations: 5.301 MB / 0.8269 GB, free: 3.348 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005735/0.7346, allocations: 4.171 MB / 0.8309 GB, free: 0.8555 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003891/0.7385, allocations: 2.132 MB / 0.833 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004093/0.7426, allocations: 2.53 MB / 0.8355 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001309/0.7439, allocations: 462.3 kB / 0.8359 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00316/0.7471, allocations: 1.06 MB / 0.837 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001738/0.7489, allocations: 1.174 MB / 0.8381 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.003927/0.7528, allocations: 2.13 MB / 0.8402 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00849/0.7613, allocations: 5.97 MB / 0.846 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.7613, allocations: 4 kB / 0.846 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.126e-06/0.7613, allocations: 0 / 0.846 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0002323/0.7616, allocations: 3.938 kB / 0.846 GB, free: 6.914 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: 816 * Number of variables: 816 Notification: Performance of Generate backend data structure: time 0.01191/0.7735, allocations: 4.632 MB / 0.8506 GB, free: 2.199 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.7735, allocations: 8.031 kB / 0.8506 GB, free: 2.191 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01359/0.7871, allocations: 2.777 MB / 0.8533 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00532/0.7925, allocations: 2.316 MB / 0.8555 GB, free: 13.06 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000263/0.7928, allocations: 242.4 kB / 0.8558 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001056/0.7938, allocations: 308 kB / 0.8561 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01289/0.8067, allocations: 5.162 MB / 0.8611 GB, free: 7.277 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-05/0.8069, allocations: 0 / 0.8611 GB, free: 7.277 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006709/0.8075, allocations: 135.9 kB / 0.8612 GB, free: 7.145 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-05/0.8076, allocations: 76 kB / 0.8613 GB, free: 7.07 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01493/0.8225, allocations: 6.295 MB / 0.8675 GB, free: 0.7617 MB / 0.6231 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.02981/0.8524, allocations: 14.8 MB / 0.8819 GB, free: 1.465 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01058/0.863, allocations: 4.7 MB / 0.8865 GB, free: 12.75 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005337/0.8684, allocations: 2.448 MB / 0.8889 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001002/0.8694, allocations: 0.671 MB / 0.8895 GB, free: 9.508 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006001/0.8754, allocations: 2.622 MB / 0.8921 GB, free: 6.848 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=278): time 5.38e-06/0.8754, allocations: 0 / 0.8921 GB, free: 6.848 MB / 0.6544 GB Notification: Performance of matching and sorting (n=278): time 0.01839/0.8938, allocations: 7.4 MB / 0.8993 GB, free: 15.33 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001299/0.894, allocations: 214.1 kB / 0.8995 GB, free: 15.07 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004623/0.8986, allocations: 2.434 MB / 0.9019 GB, free: 12.61 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0007332/0.8994, allocations: 81.7 kB / 0.902 GB, free: 12.53 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001695/0.9011, allocations: 1.337 MB / 0.9033 GB, free: 11.18 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001356/0.9025, allocations: 0.9082 MB / 0.9042 GB, free: 10.28 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001568/0.9041, allocations: 0.5008 MB / 0.9047 GB, free: 9.77 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.9042, allocations: 313 kB / 0.905 GB, free: 9.461 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004859/0.909, allocations: 2.031 MB / 0.907 GB, free: 7.426 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005075/0.9141, allocations: 2.333 MB / 0.9092 GB, free: 5.02 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009643/0.9238, allocations: 4.281 MB / 0.9134 GB, free: 0.6523 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-05/0.9238, allocations: 0 / 0.9134 GB, free: 0.6523 MB / 0.67 GB Notification: Performance of matching and sorting (n=322) (initialization): time 0.01191/0.9358, allocations: 4.997 MB / 0.9183 GB, free: 11.61 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.018e-05/0.9358, allocations: 8.109 kB / 0.9183 GB, free: 11.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.64e-05/0.9358, allocations: 7.938 kB / 0.9183 GB, free: 11.59 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006534/0.9365, allocations: 237.8 kB / 0.9185 GB, free: 11.36 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004009/0.9405, allocations: 0.8073 MB / 0.9193 GB, free: 10.55 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00429/0.9448, allocations: 3.38 MB / 0.9226 GB, free: 7.043 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004098/0.9489, allocations: 0.5557 MB / 0.9232 GB, free: 6.484 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005849/0.9496, allocations: 115.8 kB / 0.9233 GB, free: 6.371 MB / 0.6856 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 (300): * Single equations (assignments): 299 * 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,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002478/0.952, allocations: 0.95 MB / 0.9242 GB, free: 5.41 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001116/0.9532, allocations: 272.6 kB / 0.9245 GB, free: 5.141 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01408/0.9673, allocations: 5.634 MB / 0.93 GB, free: 15.45 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-05/0.9673, allocations: 28 kB / 0.93 GB, free: 15.42 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.495e-05/0.9674, allocations: 8 kB / 0.93 GB, free: 15.41 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.173e-05/0.9674, allocations: 11.95 kB / 0.93 GB, free: 15.4 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006283/0.9737, allocations: 3.693 MB / 0.9336 GB, free: 11.72 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.037e-05/0.9737, allocations: 3.938 kB / 0.9336 GB, free: 11.72 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003897/0.9776, allocations: 0.741 MB / 0.9343 GB, free: 10.98 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008711/0.9785, allocations: 271.9 kB / 0.9346 GB, free: 10.7 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004708/0.979, allocations: 83.91 kB / 0.9347 GB, free: 10.62 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005146/0.9842, allocations: 5.221 MB / 0.9398 GB, free: 5.098 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.9842, allocations: 0 / 0.9398 GB, free: 5.098 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01824/1.002, allocations: 8.03 MB / 0.9476 GB, free: 12.98 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002063/1.005, allocations: 0.8367 MB / 0.9484 GB, free: 12.12 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008805/1.005, allocations: 67.84 kB / 0.9485 GB, free: 12.05 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003552/1.009, allocations: 418.2 kB / 0.9489 GB, free: 11.65 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005327/1.01, allocations: 206 kB / 0.9491 GB, free: 11.45 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003877/1.01, allocations: 107.9 kB / 0.9492 GB, free: 11.34 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.003067/1.013, allocations: 1.781 MB / 0.9509 GB, free: 9.547 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.4e-07/1.013, allocations: 0 / 0.9509 GB, free: 9.547 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003443/1.017, allocations: 1.06 MB / 0.952 GB, free: 8.484 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (thermalZoneOneElement.volAir.dynBal.U,thermalZoneOneElement.volAir.dynBal.m,thermalZoneOneElement.extWallRC.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 (276): * Single equations (assignments): 262 * 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 {(2,16,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.002737/1.019, allocations: 1.048 MB / 0.953 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01189/1.031, allocations: 4.905 MB / 0.9578 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.704e-06/1.031, allocations: 4 kB / 0.9578 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.006598/1.038, allocations: 2.777 MB / 0.9605 GB, free: 44 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004298/1.042, allocations: 0.6957 MB / 0.9612 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01673/1.059, allocations: 7.883 MB / 0.9689 GB, free: 7.453 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002695/1.062, allocations: 2.377 MB / 0.9712 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002273/1.064, allocations: 327.2 kB / 0.9715 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of SimCode: time 2.394e-06/1.064, allocations: 0 / 0.9715 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of Templates: time 0.3866/1.451, allocations: 85.59 MB / 1.055 GB, free: 332.3 MB / 0.8106 GB make -j1 -f IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.makefile (rm -f IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; mkfifo IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe >> ../files/IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.sim & ./IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe 2>&1)