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/Complex 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) 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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001732/0.001732, allocations: 185.1 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5466/0.5466, allocations: 87.5 MB / 104.9 MB, free: 13.02 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 222.9 MB / 349.1 MB, free: 2.75 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001005/0.001006, allocations: 100.8 kB / 420 MB, free: 8.508 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001134/0.001134, allocations: 55.91 kB / 0.4891 GB, free: 7.715 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3837/0.3848, allocations: 70.05 MB / 0.5575 GB, free: 44.74 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.5075/0.8924, allocations: 159.3 MB / 0.7131 GB, free: 1.559 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.03364/0.926, allocations: 26.88 MB / 0.7393 GB, free: 1.188 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004672/0.9308, allocations: 71.16 kB / 0.7394 GB, free: 1.188 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.002433/0.9333, allocations: 0.9467 MB / 0.7403 GB, free: 1.168 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.005489/0.9388, allocations: 1.585 MB / 0.7419 GB, free: 1.105 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.004506/0.9433, allocations: 1.598 MB / 0.7434 GB, free: 1.055 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.007442/0.9507, allocations: 5.509 MB / 0.7488 GB, free: 1.035 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005779/0.9565, allocations: 4.04 MB / 0.7528 GB, free: 16.42 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003335/0.9599, allocations: 1.774 MB / 0.7545 GB, free: 16.41 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005964/0.9659, allocations: 2.432 MB / 0.7569 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.001784/0.9677, allocations: 261 kB / 0.7571 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003509/0.9712, allocations: 0.8608 MB / 0.758 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.001811/0.973, allocations: 1.005 MB / 0.7589 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.004626/0.9777, allocations: 1.932 MB / 0.7608 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.009567/0.9873, allocations: 5.903 MB / 0.7666 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.9873, allocations: 2.906 kB / 0.7666 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.543e-06/0.9873, allocations: 0 / 0.7666 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0002079/0.9875, allocations: 0 / 0.7666 GB, free: 14.03 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 882 * Number of variables: 882 Notification: Performance of Generate backend data structure: time 0.01366/1.001, allocations: 4.738 MB / 0.7712 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/1.001, allocations: 14.73 kB / 0.7712 GB, free: 11.28 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01323/1.015, allocations: 2.789 MB / 0.774 GB, free: 9.949 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006216/1.021, allocations: 2.376 MB / 0.7763 GB, free: 8.398 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002124/1.021, allocations: 266.9 kB / 0.7765 GB, free: 8.277 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009312/1.022, allocations: 337.4 kB / 0.7769 GB, free: 8.164 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01187/1.034, allocations: 5.387 MB / 0.7821 GB, free: 4.348 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-05/1.034, allocations: 8 kB / 0.7821 GB, free: 4.34 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003818/1.034, allocations: 140 kB / 0.7823 GB, free: 4.203 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-05/1.034, allocations: 87.94 kB / 0.7823 GB, free: 4.117 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01523/1.05, allocations: 6.525 MB / 0.7887 GB, free: 13.59 MB / 0.5417 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.03028/1.08, allocations: 15.71 MB / 0.8041 GB, free: 13.59 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009204/1.089, allocations: 4.077 MB / 0.808 GB, free: 9.508 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005741/1.095, allocations: 2.661 MB / 0.8106 GB, free: 6.844 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009056/1.096, allocations: 0.6672 MB / 0.8113 GB, free: 6.062 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005815/1.102, allocations: 2.569 MB / 0.8138 GB, free: 3.453 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=288): time 5.09e-06/1.102, allocations: 3 kB / 0.8138 GB, free: 3.453 MB / 0.5573 GB Notification: Performance of matching and sorting (n=288): time 0.02134/1.123, allocations: 8.399 MB / 0.822 GB, free: 10.96 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/1.123, allocations: 210.2 kB / 0.8222 GB, free: 10.71 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003389/1.127, allocations: 2.505 MB / 0.8246 GB, free: 8.188 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.000447/1.127, allocations: 77.69 kB / 0.8247 GB, free: 8.105 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001218/1.128, allocations: 1.439 MB / 0.8261 GB, free: 6.652 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001146/1.13, allocations: 0.949 MB / 0.8271 GB, free: 5.711 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009769/1.13, allocations: 0.5126 MB / 0.8276 GB, free: 5.191 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 9.095e-05/1.131, allocations: 301.1 kB / 0.8278 GB, free: 4.895 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00475/1.135, allocations: 2.062 MB / 0.8299 GB, free: 2.828 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004968/1.14, allocations: 2.371 MB / 0.8322 GB, free: 396 kB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009841/1.15, allocations: 4.433 MB / 0.8365 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.736e-06/1.15, allocations: 0 / 0.8365 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of matching and sorting (n=327) (initialization): time 0.01212/1.162, allocations: 5.317 MB / 0.8417 GB, free: 6.562 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3e-05/1.162, allocations: 15.88 kB / 0.8417 GB, free: 6.547 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-05/1.162, allocations: 4 kB / 0.8417 GB, free: 6.543 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00122/1.164, allocations: 0.5453 MB / 0.8422 GB, free: 5.996 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003881/1.168, allocations: 0.7921 MB / 0.843 GB, free: 5.23 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007191/1.175, allocations: 5.303 MB / 0.8482 GB, free: 15.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004429/1.179, allocations: 0.5614 MB / 0.8487 GB, free: 15.25 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004831/1.18, allocations: 111.9 kB / 0.8488 GB, free: 15.14 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.intGai.nextTimeEvent,$whenCondition1,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (282): * Single equations (assignments): 281 * 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.002132/1.182, allocations: 0.9777 MB / 0.8498 GB, free: 14.18 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007515/1.183, allocations: 284.4 kB / 0.8501 GB, free: 13.89 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01326/1.196, allocations: 5.883 MB / 0.8558 GB, free: 7.977 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.548e-05/1.196, allocations: 32 kB / 0.8559 GB, free: 7.945 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/1.196, allocations: 4 kB / 0.8559 GB, free: 7.941 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-05/1.196, allocations: 11.95 kB / 0.8559 GB, free: 7.93 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01929/1.215, allocations: 9.899 MB / 0.8655 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.838e-06/1.215, allocations: 4 kB / 0.8655 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003716/1.219, allocations: 0.7403 MB / 0.8663 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001391/1.22, allocations: 0.5279 MB / 0.8668 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003914/1.221, allocations: 79.94 kB / 0.8669 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007754/1.229, allocations: 6.968 MB / 0.8737 GB, free: 5.426 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/1.229, allocations: 0 / 0.8737 GB, free: 5.426 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.672/1.901, allocations: 129.4 MB / 1 GB, free: 296.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002349/1.903, allocations: 0.8519 MB / 1.001 GB, free: 295.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005701/1.904, allocations: 59.84 kB / 1.001 GB, free: 295.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002982/1.907, allocations: 415.3 kB / 1.001 GB, free: 294.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004251/1.907, allocations: 190.1 kB / 1.001 GB, free: 294.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002386/1.907, allocations: 103.9 kB / 1.002 GB, free: 294.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002088/1.909, allocations: 1.823 MB / 1.003 GB, free: 292.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.21e-07/1.909, allocations: 0 / 1.003 GB, free: 292.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004792/1.914, allocations: 1.711 MB / 1.005 GB, free: 291.1 MB / 0.698 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: 7 ($whenCondition3,$whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,intGai.nextTimeEvent,intGai.nextTimeEventScaled) * Number of discrete states: 4 (intGai.nextTimeEvent,intGai.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (260): * Single equations (assignments): 253 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002301/1.917, allocations: 1.083 MB / 1.006 GB, free: 290.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00982/1.926, allocations: 5.093 MB / 1.011 GB, free: 285.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/1.926, allocations: 4 kB / 1.011 GB, free: 285.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00524/1.932, allocations: 2.948 MB / 1.014 GB, free: 282.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003453/1.935, allocations: 0.6574 MB / 1.015 GB, free: 281.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01756/1.953, allocations: 12.4 MB / 1.027 GB, free: 269.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002022/1.955, allocations: 2.647 MB / 1.029 GB, free: 266.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.006234/1.961, allocations: 1.444 MB / 1.031 GB, free: 265.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002523/1.964, allocations: 327.2 kB / 1.031 GB, free: 264.8 MB / 0.698 GB Notification: Performance of SimCode: time 6.91e-07/1.964, allocations: 0 / 1.031 GB, free: 264.8 MB / 0.698 GB Notification: Performance of Templates: time 0.1225/2.086, allocations: 99.73 MB / 1.128 GB, free: 165.3 MB / 0.698 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)