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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 182.7 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.473/0.473, allocations: 87.5 MB / 104.9 MB, free: 13.04 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.358/1.358, allocations: 222.9 MB / 349.1 MB, free: 2.758 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.001071/0.001071, allocations: 113.7 kB / 420 MB, free: 8.492 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00107/0.00107, allocations: 47.92 kB / 0.4891 GB, free: 7.715 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.3298, allocations: 70.07 MB / 0.5575 GB, free: 44.75 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.4545/0.7844, allocations: 157.7 MB / 0.7115 GB, free: 1.52 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0321/0.8165, allocations: 26.45 MB / 0.7374 GB, free: 1.16 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003525/0.8201, allocations: 66.97 kB / 0.7374 GB, free: 1.16 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.00246/0.8226, allocations: 0.871 MB / 0.7383 GB, free: 1.145 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.004614/0.8273, allocations: 1.463 MB / 0.7397 GB, free: 1.078 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.004319/0.8316, allocations: 1.455 MB / 0.7411 GB, free: 1.031 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.005894/0.8375, allocations: 4.817 MB / 0.7458 GB, free: 1.016 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004677/0.8422, allocations: 3.707 MB / 0.7494 GB, free: 16.44 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003102/0.8453, allocations: 1.605 MB / 0.751 GB, free: 16.44 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003357/0.8487, allocations: 2.178 MB / 0.7531 GB, free: 16.13 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0006606/0.8494, allocations: 231.9 kB / 0.7534 GB, free: 16.13 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002697/0.8521, allocations: 0.8277 MB / 0.7542 GB, free: 16.11 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.000904/0.853, allocations: 0.8985 MB / 0.755 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.002395/0.8554, allocations: 1.712 MB / 0.7567 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.006553/0.862, allocations: 5.228 MB / 0.7618 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 8.316e-06/0.862, allocations: 1.547 kB / 0.7618 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.687e-06/0.862, allocations: 0 / 0.7618 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001913/0.8622, allocations: 2.906 kB / 0.7618 GB, free: 14.69 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: 790 * Number of variables: 790 Notification: Performance of Generate backend data structure: time 0.01247/0.8747, allocations: 4.294 MB / 0.766 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/0.8748, allocations: 7.219 kB / 0.766 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01339/0.8882, allocations: 2.756 MB / 0.7687 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00604/0.8943, allocations: 2.184 MB / 0.7708 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001815/0.8945, allocations: 235.2 kB / 0.7711 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007959/0.8953, allocations: 302.4 kB / 0.7714 GB, free: 10.53 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01468/0.91, allocations: 4.962 MB / 0.7762 GB, free: 7.82 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-05/0.9102, allocations: 4 kB / 0.7762 GB, free: 7.816 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006293/0.9108, allocations: 123.1 kB / 0.7763 GB, free: 7.723 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.38e-05/0.9109, allocations: 79.19 kB / 0.7764 GB, free: 7.719 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02511/0.936, allocations: 6.107 MB / 0.7824 GB, free: 2.594 MB / 0.5261 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.04767/0.9837, allocations: 13.64 MB / 0.7957 GB, free: 4.812 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01727/1.001, allocations: 4.357 MB / 0.7999 GB, free: 480 kB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009483/1.011, allocations: 2.312 MB / 0.8022 GB, free: 14.15 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001413/1.012, allocations: 0.6781 MB / 0.8029 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009901/1.022, allocations: 2.369 MB / 0.8052 GB, free: 10.96 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=257): time 1.028e-05/1.022, allocations: 0 / 0.8052 GB, free: 10.96 MB / 0.5573 GB Notification: Performance of matching and sorting (n=257): time 0.02918/1.051, allocations: 6.945 MB / 0.812 GB, free: 3.902 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002052/1.052, allocations: 206 kB / 0.8122 GB, free: 3.656 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006364/1.058, allocations: 2.299 MB / 0.8144 GB, free: 1.324 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.001175/1.059, allocations: 73.7 kB / 0.8145 GB, free: 1.246 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001973/1.061, allocations: 1.304 MB / 0.8157 GB, free: 15.92 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002217/1.063, allocations: 0.8433 MB / 0.8166 GB, free: 15.09 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001638/1.065, allocations: 484.1 kB / 0.817 GB, free: 14.61 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001385/1.065, allocations: 309.1 kB / 0.8173 GB, free: 14.3 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007894/1.073, allocations: 1.893 MB / 0.8192 GB, free: 12.4 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009248/1.082, allocations: 2.184 MB / 0.8213 GB, free: 10.14 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01456/1.097, allocations: 4.06 MB / 0.8253 GB, free: 6.008 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.745e-05/1.097, allocations: 4 kB / 0.8253 GB, free: 6.004 MB / 0.573 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01428/1.111, allocations: 4.704 MB / 0.8299 GB, free: 1.277 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 3.148e-05/1.111, allocations: 8 kB / 0.8299 GB, free: 1.27 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.625e-05/1.111, allocations: 4 kB / 0.8299 GB, free: 1.266 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006882/1.112, allocations: 235.5 kB / 0.8301 GB, free: 1.035 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004109/1.116, allocations: 0.7699 MB / 0.8309 GB, free: 300 kB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00427/1.121, allocations: 3.092 MB / 0.8339 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004718/1.125, allocations: 0.544 MB / 0.8344 GB, free: 12.54 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009881/1.126, allocations: 107.9 kB / 0.8345 GB, free: 12.44 MB / 0.5886 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 (272): * Single equations (assignments): 271 * 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.003556/1.13, allocations: 0.8863 MB / 0.8354 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001438/1.131, allocations: 260.8 kB / 0.8356 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01605/1.147, allocations: 5.27 MB / 0.8408 GB, free: 5.98 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.125e-05/1.147, allocations: 24 kB / 0.8408 GB, free: 5.957 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.427e-05/1.148, allocations: 4 kB / 0.8408 GB, free: 5.953 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-05/1.148, allocations: 11.95 kB / 0.8408 GB, free: 5.941 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02332/1.171, allocations: 8.823 MB / 0.8494 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.537e-05/1.171, allocations: 0 / 0.8494 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004052/1.175, allocations: 0.7213 MB / 0.8501 GB, free: 12.37 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009546/1.176, allocations: 267.2 kB / 0.8504 GB, free: 12.1 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006411/1.177, allocations: 79.86 kB / 0.8505 GB, free: 12.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005018/1.182, allocations: 4.796 MB / 0.8551 GB, free: 6.957 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1.182, allocations: 4.031 kB / 0.8551 GB, free: 6.953 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6658/1.848, allocations: 122.3 MB / 0.9745 GB, free: 308.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002485/1.85, allocations: 0.7722 MB / 0.9753 GB, free: 308.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007317/1.851, allocations: 63.66 kB / 0.9753 GB, free: 308.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003467/1.854, allocations: 402.3 kB / 0.9757 GB, free: 308.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004518/1.855, allocations: 168.8 kB / 0.9759 GB, free: 308.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002496/1.855, allocations: 93.16 kB / 0.976 GB, free: 308.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00233/1.857, allocations: 1.683 MB / 0.9776 GB, free: 308.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.8e-07/1.857, allocations: 0 / 0.9776 GB, free: 308.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.005431/1.863, allocations: 1.502 MB / 0.9791 GB, free: 308.3 MB / 0.698 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: 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 (251): * Single equations (assignments): 244 * 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 {(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.002826/1.866, allocations: 1.066 MB / 0.9801 GB, free: 308.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01276/1.878, allocations: 4.588 MB / 0.9846 GB, free: 307.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/1.878, allocations: 0 / 0.9846 GB, free: 307.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.006087/1.885, allocations: 2.609 MB / 0.9872 GB, free: 305.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003912/1.889, allocations: 0.6033 MB / 0.9878 GB, free: 305.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01866/1.907, allocations: 11.09 MB / 0.9986 GB, free: 295.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00221/1.909, allocations: 2.445 MB / 1.001 GB, free: 293.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.006506/1.916, allocations: 1.411 MB / 1.002 GB, free: 292.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00263/1.919, allocations: 318.9 kB / 1.003 GB, free: 292.3 MB / 0.698 GB Notification: Performance of SimCode: time 1.623e-06/1.919, allocations: 0.7656 kB / 1.003 GB, free: 292.3 MB / 0.698 GB Notification: Performance of Templates: time 0.1156/2.034, allocations: 91.34 MB / 1.092 GB, free: 202.1 MB / 0.698 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)