Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements") translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008979/0.00898, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.002154/0.002154, allocations: 191.3 kB / 16.67 MB, free: 5.523 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.32/1.32, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.808/0.808, allocations: 135.1 MB / 425.7 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 56.44 kB / 0.5856 GB, free: 21.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.1598, allocations: 80.92 MB / 0.6646 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.6403/0.8001, allocations: 161.7 MB / 0.8226 GB, free: 4.496 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.03951/0.8397, allocations: 27.05 MB / 0.849 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005153/0.8449, allocations: 79.34 kB / 0.8491 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003515/0.8485, allocations: 1.073 MB / 0.8501 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.008513/0.857, allocations: 1.785 MB / 0.8518 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005663/0.8627, allocations: 1.799 MB / 0.8536 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.008076/0.8708, allocations: 5.234 MB / 0.8587 GB, free: 7.594 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007927/0.8787, allocations: 4.505 MB / 0.8631 GB, free: 3.773 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005377/0.8841, allocations: 2.168 MB / 0.8652 GB, free: 1.602 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004576/0.8888, allocations: 2.596 MB / 0.8678 GB, free: 15 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001908/0.8907, allocations: 484 kB / 0.8682 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003837/0.8946, allocations: 1.081 MB / 0.8693 GB, free: 13.44 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.002296/0.8969, allocations: 1.254 MB / 0.8705 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.005159/0.9021, allocations: 2.181 MB / 0.8726 GB, free: 9.992 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01069/0.9128, allocations: 6.208 MB / 0.8787 GB, free: 3.766 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 8.285e-06/0.9128, allocations: 0 / 0.8787 GB, free: 3.766 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.402e-06/0.9128, allocations: 0 / 0.8787 GB, free: 3.766 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0002672/0.9131, allocations: 0 / 0.8787 GB, free: 3.766 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 882 * Number of variables: 882 Notification: Performance of Generate backend data structure: time 0.01399/0.9271, allocations: 4.746 MB / 0.8833 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/0.9272, allocations: 9.109 kB / 0.8833 GB, free: 14.94 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01387/0.941, allocations: 2.795 MB / 0.8861 GB, free: 12.13 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006344/0.9474, allocations: 2.397 MB / 0.8884 GB, free: 9.66 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003352/0.9478, allocations: 254.9 kB / 0.8887 GB, free: 9.41 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001344/0.9491, allocations: 336 kB / 0.889 GB, free: 9.082 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01534/0.9645, allocations: 5.385 MB / 0.8942 GB, free: 3.625 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001348/0.9647, allocations: 7.938 kB / 0.8942 GB, free: 3.617 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001069/0.9657, allocations: 143.9 kB / 0.8944 GB, free: 3.477 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.888e-05/0.9658, allocations: 84 kB / 0.8945 GB, free: 3.395 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01769/0.9835, allocations: 6.535 MB / 0.9008 GB, free: 12.85 MB / 0.67 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.03472/1.018, allocations: 15.61 MB / 0.9161 GB, free: 12.62 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009216/1.028, allocations: 4.073 MB / 0.9201 GB, free: 8.547 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006249/1.034, allocations: 2.663 MB / 0.9227 GB, free: 5.871 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001116/1.035, allocations: 0.6697 MB / 0.9233 GB, free: 5.07 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006262/1.041, allocations: 2.573 MB / 0.9258 GB, free: 2.457 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=288): time 4.86e-06/1.041, allocations: 3.938 kB / 0.9258 GB, free: 2.453 MB / 0.6856 GB Notification: Performance of matching and sorting (n=288): time 0.02228/1.064, allocations: 8.39 MB / 0.934 GB, free: 9.941 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001491/1.064, allocations: 214.1 kB / 0.9342 GB, free: 9.688 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004193/1.068, allocations: 2.521 MB / 0.9367 GB, free: 7.145 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0006094/1.069, allocations: 81.7 kB / 0.9368 GB, free: 7.059 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001434/1.07, allocations: 1.424 MB / 0.9382 GB, free: 5.621 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.00137/1.071, allocations: 0.9626 MB / 0.9391 GB, free: 4.645 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001761/1.073, allocations: 0.505 MB / 0.9396 GB, free: 4.133 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001144/1.073, allocations: 301.1 kB / 0.9399 GB, free: 3.836 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004857/1.078, allocations: 2.054 MB / 0.9419 GB, free: 1.777 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00525/1.083, allocations: 2.376 MB / 0.9442 GB, free: 15.33 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01018/1.094, allocations: 4.434 MB / 0.9485 GB, free: 10.81 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.314e-05/1.094, allocations: 0 / 0.9485 GB, free: 10.81 MB / 0.7169 GB Notification: Performance of matching and sorting (n=327) (initialization): time 0.01306/1.107, allocations: 5.322 MB / 0.9537 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.973e-05/1.107, allocations: 8.156 kB / 0.9537 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/1.107, allocations: 4 kB / 0.9537 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001316/1.108, allocations: 0.5413 MB / 0.9543 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003951/1.112, allocations: 0.7917 MB / 0.955 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008128/1.12, allocations: 5.732 MB / 0.9606 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004075/1.124, allocations: 0.5419 MB / 0.9612 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007635/1.125, allocations: 115.9 kB / 0.9613 GB, free: 13.56 MB / 0.7325 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 (282): * Single equations (assignments): 281 * 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 {(4,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002792/1.128, allocations: 0.9747 MB / 0.9622 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001247/1.129, allocations: 288.4 kB / 0.9625 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01476/1.144, allocations: 5.886 MB / 0.9683 GB, free: 6.344 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.672e-05/1.144, allocations: 28 kB / 0.9683 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.777e-05/1.144, allocations: 11.94 kB / 0.9683 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.783e-05/1.144, allocations: 15.95 kB / 0.9683 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02063/1.165, allocations: 9.878 MB / 0.978 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.927e-06/1.165, allocations: 0 / 0.978 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003672/1.168, allocations: 0.7567 MB / 0.9787 GB, free: 11.54 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001383/1.17, allocations: 0.5216 MB / 0.9792 GB, free: 11 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003139/1.17, allocations: 83.92 kB / 0.9793 GB, free: 10.92 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008946/1.179, allocations: 7.553 MB / 0.9867 GB, free: 3.062 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/1.179, allocations: 7.984 kB / 0.9867 GB, free: 3.055 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01792/1.197, allocations: 8.39 MB / 0.9949 GB, free: 10.57 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001773/1.199, allocations: 0.8404 MB / 0.9957 GB, free: 9.711 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006535/1.2, allocations: 67.83 kB / 0.9958 GB, free: 9.645 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003087/1.203, allocations: 399.4 kB / 0.9961 GB, free: 9.254 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004647/1.203, allocations: 190.1 kB / 0.9963 GB, free: 9.066 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002819/1.203, allocations: 103.9 kB / 0.9964 GB, free: 8.965 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.003002/1.206, allocations: 1.834 MB / 0.9982 GB, free: 7.121 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.91e-07/1.206, allocations: 0 / 0.9982 GB, free: 7.121 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.003365/1.21, allocations: 1.099 MB / 0.9993 GB, free: 6.02 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (thermalZoneThreeElements.volAir.dynBal.U,thermalZoneThreeElements.volAir.dynBal.m,thermalZoneThreeElements.extWallRC.thermCapExt[1].T,thermalZoneThreeElements.intWallRC.thermCapInt[1].T,thermalZoneThreeElements.floorRC.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 (260): * Single equations (assignments): 253 * 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 {(4,36,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.002533/1.212, allocations: 1.035 MB / 1 GB, free: 5.316 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.01124/1.224, allocations: 5.12 MB / 1.005 GB, free: 160 kB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/1.224, allocations: 0 / 1.005 GB, free: 160 kB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.006059/1.23, allocations: 2.948 MB / 1.008 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003318/1.233, allocations: 0.7204 MB / 1.009 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01948/1.253, allocations: 8.266 MB / 1.017 GB, free: 4.184 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003981/1.257, allocations: 2.559 MB / 1.019 GB, free: 1.598 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.004955/1.262, allocations: 1.124 MB / 1.021 GB, free: 480 kB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001941/1.264, allocations: 275.2 kB / 1.021 GB, free: 208 kB / 0.7794 GB Notification: Performance of SimCode: time 1.032e-06/1.264, allocations: 0 / 1.021 GB, free: 208 kB / 0.7794 GB Notification: Performance of Templates: time 0.3919/1.656, allocations: 50.58 MB / 1.07 GB, free: 317.1 MB / 0.8262 GB make -j1 -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.makefile (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.sim & ./IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe 2>&1)