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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001382/0.001382, allocations: 197.2 kB / 16.14 MB, free: 6.711 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.371/1.371, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.023/1.023, allocations: 135.1 MB / 425.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 63.38 kB / 0.5047 GB, free: 5.77 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1853/0.1865, allocations: 80.92 MB / 0.5837 GB, free: 5.016 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.5376/0.7242, allocations: 158.4 MB / 0.7384 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03867/0.7629, allocations: 26.61 MB / 0.7644 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004765/0.7677, allocations: 67.62 kB / 0.7644 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003128/0.7709, allocations: 0.8984 MB / 0.7653 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007163/0.7781, allocations: 1.521 MB / 0.7668 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005669/0.7838, allocations: 1.501 MB / 0.7683 GB, free: 472 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008566/0.7923, allocations: 5.054 MB / 0.7732 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006981/0.7994, allocations: 3.828 MB / 0.7769 GB, free: 7.508 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003493/0.8029, allocations: 1.669 MB / 0.7786 GB, free: 5.832 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003896/0.8068, allocations: 2.296 MB / 0.7808 GB, free: 3.527 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001427/0.8083, allocations: 240 kB / 0.781 GB, free: 3.293 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003042/0.8113, allocations: 0.839 MB / 0.7819 GB, free: 2.453 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001807/0.8132, allocations: 0.9418 MB / 0.7828 GB, free: 1.508 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.003827/0.817, allocations: 1.802 MB / 0.7845 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.006768/0.8238, allocations: 5.514 MB / 0.7899 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.8238, allocations: 0 / 0.7899 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.653e-06/0.8238, allocations: 0 / 0.7899 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001636/0.824, allocations: 0 / 0.7899 GB, free: 10.16 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: 826 * Number of variables: 826 Notification: Performance of Generate backend data structure: time 0.01011/0.8341, allocations: 4.484 MB / 0.7943 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/0.8342, allocations: 12.03 kB / 0.7943 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01369/0.8479, allocations: 2.772 MB / 0.797 GB, free: 2.816 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005752/0.8537, allocations: 2.262 MB / 0.7992 GB, free: 488 kB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002464/0.854, allocations: 242.5 kB / 0.7995 GB, free: 244 kB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001206/0.8552, allocations: 316 kB / 0.7998 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01195/0.8671, allocations: 5.14 MB / 0.8048 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.871e-05/0.8672, allocations: 4 kB / 0.8048 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003814/0.8676, allocations: 132 kB / 0.8049 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.019e-05/0.8677, allocations: 79.94 kB / 0.805 GB, free: 10.5 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01431/0.882, allocations: 6.299 MB / 0.8111 GB, free: 4.184 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.02531/0.9073, allocations: 14.51 MB / 0.8253 GB, free: 5.16 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009681/0.9171, allocations: 4.507 MB / 0.8297 GB, free: 0.6406 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005076/0.9222, allocations: 2.462 MB / 0.8321 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009337/0.9231, allocations: 0.6618 MB / 0.8328 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005299/0.9284, allocations: 2.462 MB / 0.8352 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=270): time 4.479e-06/0.9284, allocations: 4 kB / 0.8352 GB, free: 10.87 MB / 0.6544 GB Notification: Performance of matching and sorting (n=270): time 0.01778/0.9462, allocations: 7.535 MB / 0.8425 GB, free: 3.215 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001756/0.9464, allocations: 214 kB / 0.8427 GB, free: 2.961 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003232/0.9497, allocations: 2.39 MB / 0.8451 GB, free: 0.543 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0003886/0.9501, allocations: 73.7 kB / 0.8451 GB, free: 476 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001205/0.9513, allocations: 1.353 MB / 0.8465 GB, free: 15.09 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009913/0.9523, allocations: 0.897 MB / 0.8473 GB, free: 14.18 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008964/0.9532, allocations: 0.4888 MB / 0.8478 GB, free: 13.69 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.9533, allocations: 309 kB / 0.8481 GB, free: 13.38 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004627/0.958, allocations: 1.964 MB / 0.85 GB, free: 11.41 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004826/0.9628, allocations: 2.273 MB / 0.8522 GB, free: 9.066 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009281/0.9721, allocations: 4.228 MB / 0.8564 GB, free: 4.75 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.276e-06/0.9721, allocations: 4 kB / 0.8564 GB, free: 4.746 MB / 0.67 GB Notification: Performance of matching and sorting (n=308) (initialization): time 0.3224/1.295, allocations: 4.953 MB / 0.8612 GB, free: 215.2 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.551e-05/1.295, allocations: 11.56 kB / 0.8612 GB, free: 215.2 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.06e-05/1.295, allocations: 3.344 kB / 0.8612 GB, free: 215.2 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009146/1.296, allocations: 354.4 kB / 0.8616 GB, free: 215.2 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004218/1.3, allocations: 0.7771 MB / 0.8623 GB, free: 215.2 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004386/1.304, allocations: 3.915 MB / 0.8662 GB, free: 213.6 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003942/1.308, allocations: 0.5453 MB / 0.8667 GB, free: 213.6 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003892/1.309, allocations: 110.6 kB / 0.8668 GB, free: 213.5 MB / 0.67 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.001859/1.31, allocations: 0.9234 MB / 0.8677 GB, free: 213.1 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006212/1.311, allocations: 270.6 kB / 0.868 GB, free: 213.1 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01172/1.323, allocations: 5.547 MB / 0.8734 GB, free: 211.4 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-05/1.323, allocations: 28.88 kB / 0.8734 GB, free: 211.4 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.819e-06/1.323, allocations: 3.25 kB / 0.8734 GB, free: 211.4 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.651e-05/1.323, allocations: 13.5 kB / 0.8734 GB, free: 211.4 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01687/1.34, allocations: 9.296 MB / 0.8825 GB, free: 208.2 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.868e-06/1.34, allocations: 0 / 0.8825 GB, free: 208.2 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00352/1.343, allocations: 0.7204 MB / 0.8832 GB, free: 208.1 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001016/1.344, allocations: 390 kB / 0.8836 GB, free: 208 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002984/1.345, allocations: 78.5 kB / 0.8836 GB, free: 208 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00483/1.35, allocations: 5.784 MB / 0.8893 GB, free: 203.6 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/1.35, allocations: 3.422 kB / 0.8893 GB, free: 203.6 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01643/1.366, allocations: 7.921 MB / 0.897 GB, free: 200.9 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001832/1.368, allocations: 0.7963 MB / 0.8978 GB, free: 200.4 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005607/1.368, allocations: 61.05 kB / 0.8979 GB, free: 200.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003117/1.372, allocations: 409.1 kB / 0.8983 GB, free: 200.3 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005149/1.372, allocations: 177.5 kB / 0.8984 GB, free: 200.3 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002675/1.372, allocations: 101.5 kB / 0.8985 GB, free: 200.3 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002778/1.375, allocations: 1.744 MB / 0.9002 GB, free: 199.7 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.31e-07/1.375, allocations: 0 / 0.9002 GB, free: 199.7 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003812/1.379, allocations: 1.027 MB / 0.9012 GB, free: 199.4 MB / 0.67 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.002583/1.382, allocations: 1.033 MB / 0.9022 GB, free: 199.1 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01274/1.394, allocations: 4.789 MB / 0.9069 GB, free: 197.6 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-05/1.394, allocations: 1.312 kB / 0.9069 GB, free: 197.6 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.006493/1.401, allocations: 2.763 MB / 0.9096 GB, free: 196.6 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003507/1.404, allocations: 0.6157 MB / 0.9102 GB, free: 196.4 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01585/1.42, allocations: 9.351 MB / 0.9193 GB, free: 191.7 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002679/1.423, allocations: 2.448 MB / 0.9217 GB, free: 190.7 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.005096/1.428, allocations: 1.102 MB / 0.9228 GB, free: 190.4 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001217/1.429, allocations: 264.4 kB / 0.9231 GB, free: 190.4 MB / 0.67 GB Notification: Performance of SimCode: time 7.42e-07/1.429, allocations: 1.062 kB / 0.9231 GB, free: 190.4 MB / 0.67 GB Notification: Performance of Templates: time 0.0772/1.507, allocations: 44.3 MB / 0.9663 GB, free: 156.2 MB / 0.67 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)