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.001618/0.001618, allocations: 105.7 kB / 15.98 MB, free: 6.352 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.001938/0.001938, allocations: 190.6 kB / 16.91 MB, free: 6.195 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.411/1.411, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7636/0.7636, allocations: 122.9 MB / 413.6 MB, free: 44 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 67.91 kB / 0.4906 GB, free: 7.789 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3171/0.3185, allocations: 77.93 MB / 0.5667 GB, free: 32.73 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.1579/0.4765, allocations: 159.7 MB / 0.7227 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03355/0.51, allocations: 26.59 MB / 0.7487 GB, free: 72 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002983/0.5131, allocations: 67.62 kB / 0.7487 GB, free: 4 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.2883/0.8014, allocations: 0.9153 MB / 0.7496 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005433/0.8069, allocations: 1.635 MB / 0.7512 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004088/0.811, allocations: 1.548 MB / 0.7527 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007428/0.8184, allocations: 5.299 MB / 0.7579 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006483/0.8249, allocations: 4.17 MB / 0.762 GB, free: 17.45 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004177/0.8291, allocations: 2.114 MB / 0.764 GB, free: 17.45 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004066/0.8332, allocations: 2.565 MB / 0.7665 GB, free: 17.44 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001533/0.8347, allocations: 458.1 kB / 0.767 GB, free: 17.44 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003373/0.8381, allocations: 1.044 MB / 0.768 GB, free: 17.42 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001583/0.8397, allocations: 1.184 MB / 0.7692 GB, free: 17.31 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0035/0.8432, allocations: 2.13 MB / 0.7712 GB, free: 16.73 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.006893/0.8502, allocations: 5.868 MB / 0.777 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.8502, allocations: 2.906 kB / 0.777 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.753e-06/0.8502, allocations: 0.75 kB / 0.777 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002072/0.8504, allocations: 0 / 0.777 GB, free: 15.95 MB / 0.5919 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.01258/0.863, allocations: 4.626 MB / 0.7815 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.863, allocations: 11.59 kB / 0.7815 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01394/0.877, allocations: 2.764 MB / 0.7842 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005291/0.8823, allocations: 2.295 MB / 0.7864 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002095/0.8826, allocations: 239.7 kB / 0.7867 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001208/0.8838, allocations: 314.2 kB / 0.787 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01365/0.8975, allocations: 5.162 MB / 0.792 GB, free: 13 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001024/0.8976, allocations: 3.906 kB / 0.792 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008352/0.8984, allocations: 134.1 kB / 0.7921 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.118e-05/0.8985, allocations: 81.45 kB / 0.7922 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01487/0.9134, allocations: 6.29 MB / 0.7984 GB, free: 11.94 MB / 0.5919 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.02536/0.9388, allocations: 14.88 MB / 0.8129 GB, free: 4.68 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01064/0.9494, allocations: 4.713 MB / 0.8175 GB, free: 1.75 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005367/0.9548, allocations: 2.439 MB / 0.8199 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009797/0.9558, allocations: 0.6675 MB / 0.8205 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006066/0.9619, allocations: 2.624 MB / 0.8231 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=278): time 7.203e-06/0.962, allocations: 3.984 kB / 0.8231 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of matching and sorting (n=278): time 0.01862/0.9806, allocations: 7.398 MB / 0.8303 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001369/0.9808, allocations: 214.1 kB / 0.8305 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004008/0.9848, allocations: 2.43 MB / 0.8329 GB, free: 1.645 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0005102/0.9853, allocations: 81.7 kB / 0.833 GB, free: 1.559 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001239/0.9866, allocations: 1.333 MB / 0.8343 GB, free: 216 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.001105/0.9877, allocations: 0.9067 MB / 0.8352 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001268/0.989, allocations: 0.5121 MB / 0.8357 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 9.022e-05/0.9891, allocations: 302.3 kB / 0.836 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004738/0.9938, allocations: 2.031 MB / 0.8379 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005124/0.999, allocations: 2.343 MB / 0.8402 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009811/1.009, allocations: 4.281 MB / 0.8444 GB, free: 5.695 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.018e-05/1.009, allocations: 0 / 0.8444 GB, free: 5.695 MB / 0.6231 GB Notification: Performance of matching and sorting (n=322) (initialization): time 0.01316/1.022, allocations: 4.998 MB / 0.8493 GB, free: 0.6797 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.94e-05/1.022, allocations: 8 kB / 0.8493 GB, free: 0.6719 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.811e-05/1.022, allocations: 6.906 kB / 0.8493 GB, free: 0.668 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007276/1.023, allocations: 228.9 kB / 0.8495 GB, free: 452 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00477/1.028, allocations: 0.8129 MB / 0.8503 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004709/1.032, allocations: 3.379 MB / 0.8536 GB, free: 12.16 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004517/1.037, allocations: 0.5769 MB / 0.8542 GB, free: 11.58 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007624/1.038, allocations: 111.9 kB / 0.8543 GB, free: 11.47 MB / 0.6387 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.002658/1.04, allocations: 0.9457 MB / 0.8552 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001014/1.041, allocations: 284.5 kB / 0.8555 GB, free: 10.26 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01468/1.056, allocations: 5.626 MB / 0.861 GB, free: 4.586 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.332e-05/1.056, allocations: 35.94 kB / 0.861 GB, free: 4.551 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/1.056, allocations: 0 / 0.861 GB, free: 4.551 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.537e-05/1.056, allocations: 19.94 kB / 0.861 GB, free: 4.531 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005962/1.062, allocations: 3.688 MB / 0.8646 GB, free: 0.8555 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.822e-05/1.062, allocations: 0 / 0.8646 GB, free: 0.8555 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004187/1.066, allocations: 0.7437 MB / 0.8654 GB, free: 140 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009107/1.067, allocations: 266.4 kB / 0.8656 GB, free: 15.87 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005667/1.068, allocations: 79.92 kB / 0.8657 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005222/1.073, allocations: 5.239 MB / 0.8708 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/1.073, allocations: 4.031 kB / 0.8708 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01914/1.092, allocations: 8.024 MB / 0.8786 GB, free: 2.168 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001992/1.094, allocations: 0.8288 MB / 0.8794 GB, free: 1.316 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008893/1.095, allocations: 67.84 kB / 0.8795 GB, free: 1.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003711/1.099, allocations: 449.1 kB / 0.8799 GB, free: 0.8125 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000558/1.1, allocations: 202 kB / 0.8801 GB, free: 0.6133 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003525/1.1, allocations: 103.9 kB / 0.8802 GB, free: 0.5117 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.002763/1.103, allocations: 1.776 MB / 0.882 GB, free: 14.73 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.4e-07/1.103, allocations: 4 kB / 0.882 GB, free: 14.72 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003162/1.106, allocations: 1.06 MB / 0.883 GB, free: 13.66 MB / 0.67 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.002602/1.109, allocations: 1.05 MB / 0.884 GB, free: 13.05 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.02177/1.13, allocations: 8.531 MB / 0.8924 GB, free: 4.543 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/1.13, allocations: 4.688 kB / 0.8924 GB, free: 4.539 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.006498/1.137, allocations: 2.773 MB / 0.8951 GB, free: 1.789 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00391/1.141, allocations: 0.7036 MB / 0.8958 GB, free: 1.125 MB / 0.67 GB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01668/1.158, allocations: 9.444 MB / 0.905 GB, free: 7.648 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002705/1.16, allocations: 2.449 MB / 0.9074 GB, free: 5.164 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.005243/1.166, allocations: 1.142 MB / 0.9085 GB, free: 4.02 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001483/1.167, allocations: 283.2 kB / 0.9088 GB, free: 3.742 MB / 0.6856 GB Notification: Performance of SimCode: time 8.62e-07/1.167, allocations: 0 / 0.9088 GB, free: 3.742 MB / 0.6856 GB Notification: Performance of Templates: time 0.07719/1.244, allocations: 47.94 MB / 0.9556 GB, free: 4.336 MB / 0.7325 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)