Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001596/0.001596, allocations: 183.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7422/0.7422, allocations: 133.3 MB / 150.1 MB, free: 11.13 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 222.9 MB / 404.7 MB, free: 6.09 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009609/0.0009608, allocations: 95.7 kB / 485.9 MB, free: 7.188 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009758/0.0009759, allocations: 55.92 kB / 0.5636 GB, free: 69.93 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1162, allocations: 80.42 MB / 0.6421 GB, free: 5.438 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.4022/0.5185, allocations: 158.4 MB / 0.7968 GB, free: 2.664 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.03003/0.5486, allocations: 26.6 MB / 0.8228 GB, free: 7.988 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002221/0.5508, allocations: 71.62 kB / 0.8229 GB, free: 7.918 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001791/0.5527, allocations: 0.9023 MB / 0.8238 GB, free: 7.012 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.003623/0.5563, allocations: 1.51 MB / 0.8252 GB, free: 5.5 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.003546/0.5598, allocations: 1.5 MB / 0.8267 GB, free: 4.012 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.005238/0.5651, allocations: 5.097 MB / 0.8317 GB, free: 14.9 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004219/0.5693, allocations: 3.83 MB / 0.8354 GB, free: 11.01 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001937/0.5713, allocations: 1.681 MB / 0.8371 GB, free: 9.32 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002507/0.5738, allocations: 2.288 MB / 0.8393 GB, free: 7.023 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0004462/0.5743, allocations: 244 kB / 0.8395 GB, free: 6.785 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001651/0.5759, allocations: 0.835 MB / 0.8403 GB, free: 5.949 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0007831/0.5767, allocations: 0.9458 MB / 0.8413 GB, free: 5 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.001759/0.5785, allocations: 1.802 MB / 0.843 GB, free: 3.188 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.004823/0.5833, allocations: 5.515 MB / 0.8484 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.5833, allocations: 0 / 0.8484 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.001e-06/0.5834, allocations: 0 / 0.8484 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.024e-05/0.5834, allocations: 4 kB / 0.8484 GB, free: 13.65 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 826 * Number of variables: 826 Notification: Performance of Generate backend data structure: time 0.008442/0.5919, allocations: 4.474 MB / 0.8528 GB, free: 9.105 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.5919, allocations: 8.031 kB / 0.8528 GB, free: 9.098 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01344/0.6054, allocations: 2.772 MB / 0.8555 GB, free: 6.316 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004784/0.6102, allocations: 2.269 MB / 0.8577 GB, free: 3.973 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001591/0.6104, allocations: 246.5 kB / 0.858 GB, free: 3.73 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005972/0.611, allocations: 319.9 kB / 0.8583 GB, free: 3.418 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01049/0.6215, allocations: 5.136 MB / 0.8633 GB, free: 14.2 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.522e-05/0.6216, allocations: 4 kB / 0.8633 GB, free: 14.2 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00033/0.6219, allocations: 132 kB / 0.8634 GB, free: 14.07 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.049e-05/0.622, allocations: 83.94 kB / 0.8635 GB, free: 13.99 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01445/0.6364, allocations: 6.291 MB / 0.8696 GB, free: 7.684 MB / 0.6042 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.02463/0.6611, allocations: 14.51 MB / 0.8838 GB, free: 8.645 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0105/0.6716, allocations: 4.513 MB / 0.8882 GB, free: 4.117 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005277/0.6769, allocations: 2.462 MB / 0.8906 GB, free: 1.645 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009078/0.6779, allocations: 0.6697 MB / 0.8913 GB, free: 0.8438 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005158/0.683, allocations: 2.454 MB / 0.8937 GB, free: 14.35 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=270): time 5.1e-06/0.6831, allocations: 4 kB / 0.8937 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of matching and sorting (n=270): time 0.0183/0.7014, allocations: 7.535 MB / 0.901 GB, free: 6.688 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001056/0.7015, allocations: 210 kB / 0.9012 GB, free: 6.438 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003012/0.7046, allocations: 2.393 MB / 0.9036 GB, free: 4.016 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0003081/0.7049, allocations: 73.7 kB / 0.9036 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.001097/0.706, allocations: 1.357 MB / 0.905 GB, free: 2.562 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008436/0.7068, allocations: 0.8932 MB / 0.9058 GB, free: 1.656 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009039/0.7077, allocations: 0.4888 MB / 0.9063 GB, free: 1.16 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.796e-05/0.7078, allocations: 305.1 kB / 0.9066 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004639/0.7125, allocations: 1.972 MB / 0.9085 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00484/0.7173, allocations: 2.265 MB / 0.9107 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009452/0.7268, allocations: 4.228 MB / 0.9149 GB, free: 8.227 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.686e-06/0.7269, allocations: 0 / 0.9149 GB, free: 8.227 MB / 0.6511 GB Notification: Performance of matching and sorting (n=308) (initialization): time 0.01131/0.7382, allocations: 4.963 MB / 0.9197 GB, free: 3.211 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/0.7382, allocations: 8 kB / 0.9197 GB, free: 3.203 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/0.7382, allocations: 11.94 kB / 0.9197 GB, free: 3.191 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000828/0.7391, allocations: 344.8 kB / 0.9201 GB, free: 2.852 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003761/0.7428, allocations: 0.7761 MB / 0.9208 GB, free: 2.074 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004981/0.7478, allocations: 3.916 MB / 0.9246 GB, free: 14.03 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003392/0.7512, allocations: 0.5479 MB / 0.9252 GB, free: 13.48 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002657/0.7515, allocations: 111.9 kB / 0.9253 GB, free: 13.37 MB / 0.6667 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 (278): * Single equations (assignments): 277 * 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.001592/0.7531, allocations: 0.928 MB / 0.9262 GB, free: 12.43 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005016/0.7536, allocations: 280.5 kB / 0.9265 GB, free: 12.15 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01326/0.7669, allocations: 5.54 MB / 0.9319 GB, free: 6.547 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-05/0.767, allocations: 35.94 kB / 0.9319 GB, free: 6.512 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/0.767, allocations: 8 kB / 0.9319 GB, free: 6.504 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-05/0.767, allocations: 11.95 kB / 0.9319 GB, free: 6.492 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01817/0.7852, allocations: 9.296 MB / 0.941 GB, free: 13.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.747e-06/0.7852, allocations: 0 / 0.941 GB, free: 13.07 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003728/0.789, allocations: 0.7293 MB / 0.9417 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001091/0.7901, allocations: 382.5 kB / 0.9421 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000327/0.7904, allocations: 71.94 kB / 0.9421 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006063/0.7965, allocations: 5.797 MB / 0.9478 GB, free: 5.789 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.7965, allocations: 0 / 0.9478 GB, free: 5.789 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5756/1.372, allocations: 125.4 MB / 1.07 GB, free: 156.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001951/1.374, allocations: 0.7976 MB / 1.071 GB, free: 156.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006091/1.375, allocations: 59.94 kB / 1.071 GB, free: 156 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003592/1.378, allocations: 411.9 kB / 1.072 GB, free: 155.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007479/1.379, allocations: 174 kB / 1.072 GB, free: 155.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002934/1.379, allocations: 99.92 kB / 1.072 GB, free: 155.3 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001962/1.381, allocations: 1.737 MB / 1.073 GB, free: 153.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/1.381, allocations: 0 / 1.073 GB, free: 153.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004678/1.386, allocations: 1.591 MB / 1.075 GB, free: 152 MB / 0.6823 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: 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 (254): * Single equations (assignments): 247 * 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 {(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.002321/1.388, allocations: 1.083 MB / 1.076 GB, free: 151.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.009604/1.398, allocations: 4.785 MB / 1.081 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/1.398, allocations: 4.125 kB / 1.081 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.005203/1.403, allocations: 2.763 MB / 1.083 GB, free: 143.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002965/1.406, allocations: 0.6294 MB / 1.084 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01593/1.422, allocations: 11.65 MB / 1.095 GB, free: 131.4 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001858/1.424, allocations: 2.536 MB / 1.098 GB, free: 128.9 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.006161/1.43, allocations: 1.42 MB / 1.099 GB, free: 127.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002417/1.433, allocations: 323.2 kB / 1.1 GB, free: 127.1 MB / 0.6823 GB Notification: Performance of SimCode: time 1.293e-06/1.433, allocations: 0 / 1.1 GB, free: 127.1 MB / 0.6823 GB Notification: Performance of Templates: time 0.1092/1.542, allocations: 94.88 MB / 1.192 GB, free: 32.43 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.makefile (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.sim & ./IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe 2>&1)