Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.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.SimpleRoomOneElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement") translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001351/0.001352, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001684/0.001684, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.405/1.405, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9661/0.9661, allocations: 135.1 MB / 425.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 67.83 kB / 0.5053 GB, free: 5.332 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1867/0.1881, allocations: 80.92 MB / 0.5844 GB, free: 4.566 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.5062/0.6943, allocations: 160.1 MB / 0.7407 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03467/0.729, allocations: 26.61 MB / 0.7667 GB, free: 2.062 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003945/0.733, allocations: 71.62 kB / 0.7668 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0026/0.7357, allocations: 0.9869 MB / 0.7677 GB, free: 1 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005367/0.7411, allocations: 1.606 MB / 0.7693 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004436/0.7455, allocations: 1.631 MB / 0.7709 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.006215/0.7518, allocations: 4.556 MB / 0.7753 GB, free: 9.211 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005285/0.7571, allocations: 4.093 MB / 0.7793 GB, free: 5.07 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003813/0.7609, allocations: 1.925 MB / 0.7812 GB, free: 3.141 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00341/0.7643, allocations: 2.335 MB / 0.7835 GB, free: 0.7969 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0008756/0.7652, allocations: 424 kB / 0.7839 GB, free: 392 kB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002669/0.7679, allocations: 1.011 MB / 0.7849 GB, free: 15.37 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001053/0.769, allocations: 1.102 MB / 0.786 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002409/0.7714, allocations: 1.939 MB / 0.7878 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.006802/0.7782, allocations: 5.394 MB / 0.7931 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.7782, allocations: 3.938 kB / 0.7931 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.773e-06/0.7782, allocations: 0 / 0.7931 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001199/0.7784, allocations: 0 / 0.7931 GB, free: 6.902 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: 790 * Number of variables: 790 Notification: Performance of Generate backend data structure: time 0.009966/0.7883, allocations: 4.307 MB / 0.7973 GB, free: 2.527 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.7884, allocations: 16.02 kB / 0.7973 GB, free: 2.512 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01381/0.8022, allocations: 2.749 MB / 0.8 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005064/0.8073, allocations: 2.164 MB / 0.8021 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001985/0.8076, allocations: 234.2 kB / 0.8024 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008194/0.8084, allocations: 300 kB / 0.8026 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01184/0.8202, allocations: 4.963 MB / 0.8075 GB, free: 7.969 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-05/0.8203, allocations: 3.938 kB / 0.8075 GB, free: 7.965 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006688/0.821, allocations: 124 kB / 0.8076 GB, free: 7.844 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-05/0.8211, allocations: 79.94 kB / 0.8077 GB, free: 7.766 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01542/0.8365, allocations: 6.099 MB / 0.8136 GB, free: 1.652 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.032/0.8686, allocations: 13.65 MB / 0.827 GB, free: 3.57 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01125/0.8799, allocations: 4.355 MB / 0.8312 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005706/0.8856, allocations: 2.316 MB / 0.8335 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001083/0.8867, allocations: 0.6695 MB / 0.8341 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006263/0.893, allocations: 2.374 MB / 0.8365 GB, free: 9.684 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=257): time 8.285e-06/0.8931, allocations: 0 / 0.8365 GB, free: 9.684 MB / 0.6544 GB Notification: Performance of matching and sorting (n=257): time 0.01956/0.9126, allocations: 6.939 MB / 0.8432 GB, free: 2.621 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001222/0.9128, allocations: 206 kB / 0.8434 GB, free: 2.375 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003901/0.9167, allocations: 2.311 MB / 0.8457 GB, free: 32 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0004815/0.9172, allocations: 73.78 kB / 0.8458 GB, free: 15.95 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001346/0.9186, allocations: 1.297 MB / 0.847 GB, free: 14.64 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.00113/0.9197, allocations: 0.8471 MB / 0.8479 GB, free: 13.78 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001199/0.9209, allocations: 484.1 kB / 0.8483 GB, free: 13.3 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.9211, allocations: 301.1 kB / 0.8486 GB, free: 13 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004774/0.9258, allocations: 1.89 MB / 0.8504 GB, free: 11.11 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005195/0.931, allocations: 2.189 MB / 0.8526 GB, free: 8.84 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009932/0.941, allocations: 4.069 MB / 0.8566 GB, free: 4.68 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.44e-05/0.9411, allocations: 4 kB / 0.8566 GB, free: 4.676 MB / 0.67 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.3609/1.302, allocations: 4.692 MB / 0.8611 GB, free: 215.1 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.692e-05/1.302, allocations: 6.625 kB / 0.8612 GB, free: 215.1 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.035e-05/1.302, allocations: 6.375 kB / 0.8612 GB, free: 215.1 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007989/1.303, allocations: 233.5 kB / 0.8614 GB, free: 215.1 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004414/1.307, allocations: 0.7733 MB / 0.8621 GB, free: 215.1 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003666/1.311, allocations: 3.378 MB / 0.8654 GB, free: 213.6 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004116/1.315, allocations: 0.5212 MB / 0.8659 GB, free: 213.6 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005787/1.316, allocations: 110.8 kB / 0.866 GB, free: 213.6 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 (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.002041/1.318, allocations: 0.899 MB / 0.8669 GB, free: 213.5 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007739/1.319, allocations: 257.4 kB / 0.8672 GB, free: 213.5 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01191/1.33, allocations: 5.268 MB / 0.8723 GB, free: 212 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.137e-05/1.331, allocations: 28.81 kB / 0.8723 GB, free: 212 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.809e-06/1.331, allocations: 3.031 kB / 0.8723 GB, free: 212 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.483e-05/1.331, allocations: 13.12 kB / 0.8724 GB, free: 212 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01663/1.347, allocations: 8.825 MB / 0.881 GB, free: 208.9 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.119e-05/1.347, allocations: 1.594 kB / 0.881 GB, free: 208.9 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003496/1.351, allocations: 0.7157 MB / 0.8817 GB, free: 208.9 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007806/1.352, allocations: 275.4 kB / 0.8819 GB, free: 208.8 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002883/1.352, allocations: 73.23 kB / 0.882 GB, free: 208.8 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004112/1.356, allocations: 5.227 MB / 0.8871 GB, free: 204.4 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/1.356, allocations: 0 / 0.8871 GB, free: 204.4 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01641/1.372, allocations: 7.533 MB / 0.8945 GB, free: 201.9 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001924/1.374, allocations: 0.7673 MB / 0.8952 GB, free: 201.5 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005177/1.375, allocations: 61.72 kB / 0.8953 GB, free: 201.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002958/1.378, allocations: 397.1 kB / 0.8957 GB, free: 201.4 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004236/1.378, allocations: 166.7 kB / 0.8958 GB, free: 201.3 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002446/1.379, allocations: 92.59 kB / 0.8959 GB, free: 201.3 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002738/1.381, allocations: 1.686 MB / 0.8976 GB, free: 200.7 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.71e-07/1.381, allocations: 0 / 0.8976 GB, free: 200.7 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003661/1.385, allocations: 0.9749 MB / 0.8985 GB, free: 200.5 MB / 0.67 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.002634/1.388, allocations: 1.023 MB / 0.8995 GB, free: 200.2 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.02171/1.409, allocations: 7.756 MB / 0.9071 GB, free: 198.8 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 8.817e-06/1.409, allocations: 5.125 kB / 0.9071 GB, free: 198.8 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.006842/1.416, allocations: 2.611 MB / 0.9096 GB, free: 197.9 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003676/1.42, allocations: 0.6397 MB / 0.9103 GB, free: 197.6 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0168/1.437, allocations: 7.553 MB / 0.9176 GB, free: 194.5 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003077/1.44, allocations: 2.371 MB / 0.9199 GB, free: 193.5 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.00485/1.445, allocations: 1.099 MB / 0.921 GB, free: 193.3 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001147/1.446, allocations: 256.1 kB / 0.9213 GB, free: 193.3 MB / 0.67 GB Notification: Performance of SimCode: time 1.463e-06/1.446, allocations: 0 / 0.9213 GB, free: 193.3 MB / 0.67 GB Notification: Performance of Templates: time 0.07192/1.518, allocations: 43.47 MB / 0.9637 GB, free: 159 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.makefile (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.sim & ./IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe 2>&1)