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.001198/0.001197, allocations: 105.5 kB / 16.4 MB, free: 6.453 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.001052/0.001053, allocations: 193.2 kB / 17.34 MB, free: 5.719 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.345/1.345, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6988/0.6988, allocations: 115.3 MB / 406.5 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0024/0.0024, allocations: 58.08 kB / 0.5577 GB, free: 32.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2133/0.2157, allocations: 76.18 MB / 0.632 GB, free: 4.426 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.5647/0.7804, allocations: 162 MB / 0.7902 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02932/0.8098, allocations: 26.95 MB / 0.8165 GB, free: 9.391 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003577/0.8134, allocations: 71.91 kB / 0.8166 GB, free: 9.367 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002179/0.8157, allocations: 1.041 MB / 0.8176 GB, free: 8.648 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004709/0.8204, allocations: 1.788 MB / 0.8194 GB, free: 7.551 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004198/0.8246, allocations: 1.735 MB / 0.821 GB, free: 6.328 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.005887/0.8305, allocations: 5.293 MB / 0.8262 GB, free: 3.203 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004658/0.8352, allocations: 4.179 MB / 0.8303 GB, free: 0.707 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004353/0.8395, allocations: 2.134 MB / 0.8324 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003998/0.8435, allocations: 2.53 MB / 0.8349 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001119/0.8447, allocations: 459.8 kB / 0.8353 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002966/0.8477, allocations: 1.064 MB / 0.8363 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001047/0.8487, allocations: 1.171 MB / 0.8375 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002696/0.8514, allocations: 2.123 MB / 0.8395 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.007715/0.8592, allocations: 5.98 MB / 0.8454 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.8592, allocations: 0 / 0.8454 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.383e-06/0.8592, allocations: 0 / 0.8454 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001795/0.8594, allocations: 4 kB / 0.8454 GB, free: 6.738 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.01027/0.8697, allocations: 4.63 MB / 0.8499 GB, free: 2.023 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.8697, allocations: 8.031 kB / 0.8499 GB, free: 2.016 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01372/0.8835, allocations: 2.777 MB / 0.8526 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005084/0.8886, allocations: 2.322 MB / 0.8549 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001726/0.8888, allocations: 238.4 kB / 0.8551 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005473/0.8893, allocations: 312 kB / 0.8554 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0111/0.9004, allocations: 5.158 MB / 0.8605 GB, free: 7.102 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.011e-05/0.9005, allocations: 4 kB / 0.8605 GB, free: 7.098 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003478/0.9009, allocations: 128 kB / 0.8606 GB, free: 6.973 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-05/0.9009, allocations: 76 kB / 0.8607 GB, free: 6.898 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01475/0.9157, allocations: 6.291 MB / 0.8668 GB, free: 0.5938 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.02595/0.9417, allocations: 14.8 MB / 0.8813 GB, free: 1.297 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01053/0.9522, allocations: 4.708 MB / 0.8858 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00518/0.9574, allocations: 2.442 MB / 0.8882 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000891/0.9583, allocations: 0.6738 MB / 0.8889 GB, free: 9.336 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005584/0.9639, allocations: 2.625 MB / 0.8915 GB, free: 6.672 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=278): time 4.628e-06/0.9639, allocations: 0 / 0.8915 GB, free: 6.672 MB / 0.6544 GB Notification: Performance of matching and sorting (n=278): time 0.01793/0.9819, allocations: 7.4 MB / 0.8987 GB, free: 15.15 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001182/0.982, allocations: 210.1 kB / 0.8989 GB, free: 14.9 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003284/0.9853, allocations: 2.438 MB / 0.9013 GB, free: 12.44 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0003843/0.9857, allocations: 77.7 kB / 0.9013 GB, free: 12.36 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001164/0.9869, allocations: 1.336 MB / 0.9026 GB, free: 11 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009316/0.9878, allocations: 0.9044 MB / 0.9035 GB, free: 10.11 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009273/0.9887, allocations: 0.5047 MB / 0.904 GB, free: 9.598 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 9.999e-05/0.9889, allocations: 313.1 kB / 0.9043 GB, free: 9.289 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004759/0.9936, allocations: 2.034 MB / 0.9063 GB, free: 7.25 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005207/0.9988, allocations: 2.34 MB / 0.9086 GB, free: 4.84 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009836/1.009, allocations: 4.281 MB / 0.9128 GB, free: 484 kB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.624e-06/1.009, allocations: 0 / 0.9128 GB, free: 484 kB / 0.67 GB Notification: Performance of matching and sorting (n=322) (initialization): time 0.01202/1.021, allocations: 4.991 MB / 0.9176 GB, free: 11.43 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.728e-05/1.021, allocations: 11.98 kB / 0.9177 GB, free: 11.42 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.806e-05/1.021, allocations: 4 kB / 0.9177 GB, free: 11.42 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007215/1.022, allocations: 231 kB / 0.9179 GB, free: 11.19 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004115/1.026, allocations: 0.8267 MB / 0.9187 GB, free: 10.36 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00411/1.03, allocations: 3.371 MB / 0.922 GB, free: 6.863 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003889/1.034, allocations: 0.5577 MB / 0.9225 GB, free: 6.305 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003267/1.034, allocations: 119.8 kB / 0.9226 GB, free: 6.188 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.001892/1.036, allocations: 0.946 MB / 0.9236 GB, free: 5.23 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006349/1.037, allocations: 272.6 kB / 0.9238 GB, free: 4.961 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01318/1.05, allocations: 5.622 MB / 0.9293 GB, free: 15.28 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.407e-05/1.05, allocations: 32 kB / 0.9293 GB, free: 15.25 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-05/1.05, allocations: 11.98 kB / 0.9294 GB, free: 15.23 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.993e-05/1.05, allocations: 11.95 kB / 0.9294 GB, free: 15.22 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005088/1.055, allocations: 3.692 MB / 0.933 GB, free: 11.55 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.375e-05/1.055, allocations: 3.938 kB / 0.933 GB, free: 11.54 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003814/1.059, allocations: 0.741 MB / 0.9337 GB, free: 10.8 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008172/1.06, allocations: 262.3 kB / 0.9339 GB, free: 10.54 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000306/1.06, allocations: 87.91 kB / 0.934 GB, free: 10.45 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005035/1.065, allocations: 5.223 MB / 0.9391 GB, free: 4.93 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.23e-05/1.065, allocations: 4.031 kB / 0.9391 GB, free: 4.926 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01774/1.083, allocations: 8.026 MB / 0.947 GB, free: 12.81 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002071/1.085, allocations: 0.8249 MB / 0.9478 GB, free: 11.96 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004911/1.085, allocations: 71.83 kB / 0.9478 GB, free: 11.89 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003162/1.089, allocations: 427.3 kB / 0.9483 GB, free: 11.47 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004584/1.089, allocations: 206 kB / 0.9485 GB, free: 11.27 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002546/1.089, allocations: 107.9 kB / 0.9486 GB, free: 11.16 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002417/1.092, allocations: 1.773 MB / 0.9503 GB, free: 9.379 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.71e-07/1.092, allocations: 0 / 0.9503 GB, free: 9.379 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002582/1.094, allocations: 1.064 MB / 0.9513 GB, free: 8.312 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.002408/1.097, allocations: 1.058 MB / 0.9524 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01116/1.108, allocations: 4.909 MB / 0.9572 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/1.108, allocations: 0 / 0.9572 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.005928/1.114, allocations: 2.788 MB / 0.9599 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003224/1.117, allocations: 0.688 MB / 0.9605 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01455/1.132, allocations: 7.919 MB / 0.9683 GB, free: 7.238 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002087/1.134, allocations: 2.453 MB / 0.9707 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00414/1.138, allocations: 1.139 MB / 0.9718 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001204/1.139, allocations: 287.2 kB / 0.9721 GB, free: 3.332 MB / 0.7325 GB Notification: Performance of SimCode: time 7.41e-07/1.139, allocations: 0 / 0.9721 GB, free: 3.332 MB / 0.7325 GB Notification: Performance of Templates: time 0.08729/1.226, allocations: 49.82 MB / 1.021 GB, free: 1.855 MB / 0.7794 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)