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.001167/0.001167, allocations: 109.1 kB / 16.41 MB, free: 6.484 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.001124/0.001124, allocations: 195.8 kB / 17.34 MB, free: 5.762 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.294/1.294, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6775/0.6775, allocations: 115.3 MB / 406.5 MB, free: 6.199 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 62.48 kB / 0.5577 GB, free: 32.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1362, allocations: 76.18 MB / 0.632 GB, free: 4.434 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.4674/0.6036, allocations: 162 MB / 0.7902 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0304/0.6341, allocations: 26.94 MB / 0.8165 GB, free: 9.539 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003666/0.6378, allocations: 75.25 kB / 0.8166 GB, free: 9.512 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002425/0.6403, allocations: 1.046 MB / 0.8176 GB, free: 8.789 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005296/0.6456, allocations: 1.792 MB / 0.8194 GB, free: 7.688 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004124/0.6497, allocations: 1.721 MB / 0.821 GB, free: 6.477 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.005603/0.6554, allocations: 5.293 MB / 0.8262 GB, free: 3.348 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004633/0.66, allocations: 4.176 MB / 0.8303 GB, free: 0.8594 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003562/0.6636, allocations: 2.129 MB / 0.8324 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003708/0.6673, allocations: 2.529 MB / 0.8348 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0008271/0.6682, allocations: 459.5 kB / 0.8353 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002474/0.6706, allocations: 1.061 MB / 0.8363 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0009937/0.6717, allocations: 1.178 MB / 0.8375 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002448/0.6741, allocations: 2.124 MB / 0.8395 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00681/0.6809, allocations: 5.971 MB / 0.8454 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.385e-06/0.681, allocations: 4 kB / 0.8454 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.765e-06/0.681, allocations: 0 / 0.8454 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0002289/0.6812, allocations: 0 / 0.8454 GB, free: 6.895 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.01103/0.6923, allocations: 4.63 MB / 0.8499 GB, free: 2.18 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.6923, allocations: 12.03 kB / 0.8499 GB, free: 2.168 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01312/0.7055, allocations: 2.769 MB / 0.8526 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004198/0.7097, allocations: 2.328 MB / 0.8549 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001897/0.7099, allocations: 238.4 kB / 0.8551 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007056/0.7106, allocations: 308 kB / 0.8554 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01109/0.7217, allocations: 5.162 MB / 0.8604 GB, free: 7.254 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.985e-05/0.7218, allocations: 7.984 kB / 0.8605 GB, free: 7.246 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003858/0.7222, allocations: 132 kB / 0.8606 GB, free: 7.117 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.82e-05/0.7222, allocations: 80 kB / 0.8607 GB, free: 7.039 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01409/0.7363, allocations: 6.291 MB / 0.8668 GB, free: 0.7344 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.024/0.7604, allocations: 14.8 MB / 0.8813 GB, free: 1.441 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01036/0.7707, allocations: 4.696 MB / 0.8858 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005052/0.7758, allocations: 2.447 MB / 0.8882 GB, free: 10.28 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008771/0.7767, allocations: 0.673 MB / 0.8889 GB, free: 9.488 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00549/0.7822, allocations: 2.629 MB / 0.8915 GB, free: 6.82 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=278): time 4.588e-06/0.7822, allocations: 0 / 0.8915 GB, free: 6.82 MB / 0.6544 GB Notification: Performance of matching and sorting (n=278): time 0.01668/0.7989, allocations: 7.405 MB / 0.8987 GB, free: 15.3 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/0.7991, allocations: 210.1 kB / 0.8989 GB, free: 15.05 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003231/0.8023, allocations: 2.434 MB / 0.9013 GB, free: 12.59 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0002641/0.8026, allocations: 77.7 kB / 0.9013 GB, free: 12.5 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.00107/0.8037, allocations: 1.339 MB / 0.9026 GB, free: 11.15 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007727/0.8044, allocations: 0.9062 MB / 0.9035 GB, free: 10.25 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008614/0.8053, allocations: 0.5008 MB / 0.904 GB, free: 9.746 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 8.687e-05/0.8054, allocations: 309 kB / 0.9043 GB, free: 9.441 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004465/0.8099, allocations: 2.031 MB / 0.9063 GB, free: 7.406 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004733/0.8146, allocations: 2.34 MB / 0.9086 GB, free: 4.992 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009195/0.8238, allocations: 4.277 MB / 0.9128 GB, free: 0.6289 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.935e-06/0.8239, allocations: 0 / 0.9128 GB, free: 0.6289 MB / 0.67 GB Notification: Performance of matching and sorting (n=322) (initialization): time 0.01121/0.8351, allocations: 5.001 MB / 0.9176 GB, free: 11.58 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.766e-05/0.8351, allocations: 9.562 kB / 0.9177 GB, free: 11.57 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.529e-05/0.8351, allocations: 4 kB / 0.9177 GB, free: 11.57 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006618/0.8358, allocations: 231.6 kB / 0.9179 GB, free: 11.34 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00392/0.8397, allocations: 0.8189 MB / 0.9187 GB, free: 10.52 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004349/0.8441, allocations: 3.367 MB / 0.922 GB, free: 7.023 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004409/0.8485, allocations: 0.5557 MB / 0.9225 GB, free: 6.465 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009212/0.8495, allocations: 119.8 kB / 0.9226 GB, free: 6.348 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.002973/0.8525, allocations: 0.95 MB / 0.9235 GB, free: 5.387 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001099/0.8536, allocations: 272.6 kB / 0.9238 GB, free: 5.117 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0139/0.8675, allocations: 5.626 MB / 0.9293 GB, free: 15.43 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-05/0.8675, allocations: 28 kB / 0.9293 GB, free: 15.4 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-05/0.8676, allocations: 8 kB / 0.9293 GB, free: 15.39 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.37e-05/0.8676, allocations: 11.95 kB / 0.9293 GB, free: 15.38 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00491/0.8725, allocations: 3.692 MB / 0.933 GB, free: 11.71 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.908e-05/0.8726, allocations: 3.938 kB / 0.933 GB, free: 11.7 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003595/0.8762, allocations: 0.7448 MB / 0.9337 GB, free: 10.96 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007361/0.8769, allocations: 268.2 kB / 0.9339 GB, free: 10.69 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002805/0.8772, allocations: 83.92 kB / 0.934 GB, free: 10.61 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004707/0.8819, allocations: 5.224 MB / 0.9391 GB, free: 5.082 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.8819, allocations: 0 / 0.9391 GB, free: 5.082 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01701/0.8989, allocations: 8.03 MB / 0.947 GB, free: 12.96 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001591/0.9006, allocations: 0.8288 MB / 0.9478 GB, free: 12.11 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006305/0.9012, allocations: 67.84 kB / 0.9478 GB, free: 12.04 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003215/0.9044, allocations: 425.9 kB / 0.9482 GB, free: 11.63 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004399/0.9049, allocations: 198 kB / 0.9484 GB, free: 11.43 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002496/0.9051, allocations: 111.9 kB / 0.9485 GB, free: 11.32 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002466/0.9076, allocations: 1.773 MB / 0.9503 GB, free: 9.539 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.31e-07/0.9076, allocations: 0 / 0.9503 GB, free: 9.539 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002789/0.9104, allocations: 1.068 MB / 0.9513 GB, free: 8.469 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.002705/0.9131, allocations: 1.063 MB / 0.9524 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01142/0.9246, allocations: 4.905 MB / 0.9571 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.9246, allocations: 0 / 0.9571 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.005752/0.9304, allocations: 2.781 MB / 0.9599 GB, free: 16 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003279/0.9337, allocations: 0.7016 MB / 0.9605 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01342/0.9471, allocations: 7.921 MB / 0.9683 GB, free: 7.383 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002161/0.9493, allocations: 2.453 MB / 0.9707 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.003421/0.9527, allocations: 1.131 MB / 0.9718 GB, free: 3.766 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001148/0.9539, allocations: 287.2 kB / 0.9721 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of SimCode: time 6.71e-07/0.9539, allocations: 0 / 0.9721 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of Templates: time 0.07414/1.028, allocations: 49.02 MB / 1.02 GB, free: 2.801 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)