Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.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.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") translateModel(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 115.7 kB / 17.08 MB, free: 5.969 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.001226/0.001226, allocations: 196.6 kB / 18.02 MB, free: 5.047 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.323/1.323, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7175/0.7175, allocations: 115.3 MB / 407.2 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 65.62 kB / 0.5583 GB, free: 32.22 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.1739, allocations: 76.18 MB / 0.6327 GB, free: 4.406 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.587/0.761, allocations: 162.6 MB / 0.7915 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.03584/0.797, allocations: 27.13 MB / 0.818 GB, free: 9.148 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00401/0.801, allocations: 77.91 kB / 0.8181 GB, free: 9.121 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003091/0.8042, allocations: 1.074 MB / 0.8191 GB, free: 8.375 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006393/0.8106, allocations: 1.89 MB / 0.821 GB, free: 7.207 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005149/0.8157, allocations: 1.787 MB / 0.8227 GB, free: 5.941 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.007679/0.8234, allocations: 5.56 MB / 0.8281 GB, free: 2.652 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006378/0.8298, allocations: 4.34 MB / 0.8324 GB, free: 56 kB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004629/0.8345, allocations: 2.224 MB / 0.8345 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004399/0.8389, allocations: 2.62 MB / 0.8371 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001498/0.8405, allocations: 485.5 kB / 0.8376 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003449/0.8439, allocations: 1.091 MB / 0.8386 GB, free: 13 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001973/0.8459, allocations: 1.23 MB / 0.8398 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.004537/0.8505, allocations: 2.233 MB / 0.842 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.009811/0.8603, allocations: 6.266 MB / 0.8481 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.8604, allocations: 0 / 0.8481 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.845e-06/0.8604, allocations: 0 / 0.8481 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0002746/0.8607, allocations: 0 / 0.8481 GB, free: 5.039 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: 852 * Number of variables: 852 Notification: Performance of Generate backend data structure: time 0.01292/0.8736, allocations: 4.822 MB / 0.8528 GB, free: 144 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.8736, allocations: 8.031 kB / 0.8529 GB, free: 136 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01432/0.888, allocations: 2.792 MB / 0.8556 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00513/0.8931, allocations: 2.396 MB / 0.8579 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002232/0.8934, allocations: 254.7 kB / 0.8582 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009111/0.8943, allocations: 324 kB / 0.8585 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01362/0.9079, allocations: 5.342 MB / 0.8637 GB, free: 4.922 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.463e-05/0.9081, allocations: 0 / 0.8637 GB, free: 4.922 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004571/0.9085, allocations: 140 kB / 0.8638 GB, free: 4.785 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-05/0.9086, allocations: 80 kB / 0.8639 GB, free: 4.707 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01627/0.9249, allocations: 6.476 MB / 0.8702 GB, free: 14.21 MB / 0.6387 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.03051/0.9554, allocations: 15.67 MB / 0.8855 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0117/0.9672, allocations: 4.862 MB / 0.8903 GB, free: 9.105 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005817/0.973, allocations: 2.58 MB / 0.8928 GB, free: 6.52 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009487/0.974, allocations: 0.6759 MB / 0.8935 GB, free: 5.73 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006264/0.9803, allocations: 2.72 MB / 0.8961 GB, free: 2.977 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=291): time 5.711e-06/0.9803, allocations: 0 / 0.8961 GB, free: 2.977 MB / 0.6544 GB Notification: Performance of matching and sorting (n=291): time 0.0207/1.001, allocations: 8.009 MB / 0.9039 GB, free: 10.85 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001414/1.001, allocations: 214.2 kB / 0.9041 GB, free: 10.6 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003517/1.005, allocations: 2.52 MB / 0.9066 GB, free: 8.055 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0005813/1.005, allocations: 85.69 kB / 0.9067 GB, free: 7.965 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001299/1.007, allocations: 1.391 MB / 0.908 GB, free: 6.559 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001218/1.008, allocations: 0.961 MB / 0.909 GB, free: 5.609 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009919/1.009, allocations: 0.513 MB / 0.9095 GB, free: 5.09 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001091/1.009, allocations: 305.1 kB / 0.9098 GB, free: 4.789 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005013/1.014, allocations: 2.101 MB / 0.9118 GB, free: 2.684 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005616/1.02, allocations: 2.432 MB / 0.9142 GB, free: 184 kB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01067/1.03, allocations: 4.444 MB / 0.9185 GB, free: 11.65 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.295e-05/1.03, allocations: 4 kB / 0.9185 GB, free: 11.65 MB / 0.6856 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.01362/1.044, allocations: 5.261 MB / 0.9237 GB, free: 6.34 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.024e-05/1.044, allocations: 4 kB / 0.9237 GB, free: 6.336 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.791e-05/1.044, allocations: 4 kB / 0.9237 GB, free: 6.332 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008814/1.045, allocations: 352.7 kB / 0.924 GB, free: 5.984 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004441/1.049, allocations: 0.819 MB / 0.9248 GB, free: 5.164 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00558/1.055, allocations: 4.222 MB / 0.9289 GB, free: 0.8086 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004349/1.059, allocations: 0.5518 MB / 0.9295 GB, free: 260 kB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006687/1.06, allocations: 119.9 kB / 0.9296 GB, free: 140 kB / 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 (306): * Single equations (assignments): 305 * 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 {(3,28,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002213/1.062, allocations: 0.9856 MB / 0.9306 GB, free: 15.14 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008161/1.063, allocations: 284.4 kB / 0.9308 GB, free: 14.86 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01375/1.077, allocations: 5.908 MB / 0.9366 GB, free: 8.891 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-05/1.077, allocations: 28 kB / 0.9366 GB, free: 8.863 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/1.077, allocations: 4 kB / 0.9366 GB, free: 8.859 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.074e-05/1.077, allocations: 23.88 kB / 0.9367 GB, free: 8.836 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005572/1.083, allocations: 3.86 MB / 0.9404 GB, free: 4.996 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.158e-05/1.083, allocations: 0 / 0.9404 GB, free: 4.996 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00395/1.087, allocations: 0.7489 MB / 0.9412 GB, free: 4.246 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00113/1.088, allocations: 383 kB / 0.9415 GB, free: 3.863 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005098/1.088, allocations: 87.86 kB / 0.9416 GB, free: 3.777 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00635/1.095, allocations: 6.303 MB / 0.9478 GB, free: 13.18 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/1.095, allocations: 4 kB / 0.9478 GB, free: 13.17 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01906/1.114, allocations: 8.413 MB / 0.956 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00238/1.116, allocations: 0.8637 MB / 0.9568 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009086/1.117, allocations: 75.83 kB / 0.9569 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003531/1.121, allocations: 417.4 kB / 0.9573 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005409/1.121, allocations: 222 kB / 0.9575 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002859/1.122, allocations: 107.9 kB / 0.9576 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002672/1.124, allocations: 1.838 MB / 0.9594 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.11e-07/1.124, allocations: 0 / 0.9594 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003374/1.128, allocations: 1.122 MB / 0.9605 GB, free: 8 kB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.volAir.dynBal.U,thermalZoneTwoElements.volAir.dynBal.m,thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[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 (279): * Single equations (assignments): 265 * 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 {(3,25,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.002688/1.13, allocations: 1.063 MB / 0.9615 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01227/1.143, allocations: 5.144 MB / 0.9666 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.874e-06/1.143, allocations: 4 kB / 0.9666 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.006601/1.149, allocations: 2.914 MB / 0.9694 GB, free: 7.184 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003626/1.153, allocations: 0.7272 MB / 0.9701 GB, free: 6.492 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01548/1.168, allocations: 8.237 MB / 0.9782 GB, free: 14.22 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002006/1.17, allocations: 2.447 MB / 0.9805 GB, free: 11.74 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001997/1.173, allocations: 335.1 kB / 0.9809 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of SimCode: time 7.21e-07/1.173, allocations: 0 / 0.9809 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of Templates: time 0.4323/1.605, allocations: 88.4 MB / 1.067 GB, free: 328 MB / 0.8106 GB make -j1 -f IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.makefile (rm -f IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; mkfifo IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe >> ../files/IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.sim & ./IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe 2>&1)