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.0009262/0.0009261, allocations: 89.89 kB / 15.36 MB, free: 0.7383 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.006729/0.006729, allocations: 171.4 kB / 16.26 MB, free: 6.613 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.397/1.397, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.027/1.027, allocations: 135.3 MB / 426.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003513/0.0003514, allocations: 5.438 kB / 0.5076 GB, free: 4.758 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2083/0.2087, allocations: 82.31 MB / 0.588 GB, free: 2.617 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.5867/0.7954, allocations: 156.2 MB / 0.7405 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.04159/0.8371, allocations: 26.31 MB / 0.7662 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004768/0.8419, allocations: 67.62 kB / 0.7663 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00261/0.8445, allocations: 0.8984 MB / 0.7671 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006655/0.8512, allocations: 1.507 MB / 0.7686 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005242/0.8565, allocations: 1.514 MB / 0.7701 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007854/0.8643, allocations: 5.054 MB / 0.775 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005527/0.8699, allocations: 3.486 MB / 0.7784 GB, free: 8.684 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003116/0.873, allocations: 1.365 MB / 0.7798 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003762/0.8768, allocations: 1.894 MB / 0.7816 GB, free: 5.41 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0006174/0.8774, allocations: 108 kB / 0.7817 GB, free: 5.305 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002506/0.88, allocations: 0.71 MB / 0.7824 GB, free: 4.594 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0008207/0.8808, allocations: 0.7389 MB / 0.7831 GB, free: 3.852 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002228/0.883, allocations: 1.57 MB / 0.7847 GB, free: 2.266 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.006723/0.8898, allocations: 5.302 MB / 0.7898 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.8898, allocations: 0 / 0.7898 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.833e-06/0.8898, allocations: 0 / 0.7898 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.000189/0.89, allocations: 0 / 0.7898 GB, free: 12.95 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.009529/0.8996, allocations: 3.81 MB / 0.7936 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.8996, allocations: 8.031 kB / 0.7936 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01463/0.9143, allocations: 2.889 MB / 0.7964 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005811/0.9201, allocations: 2.263 MB / 0.7986 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002225/0.9204, allocations: 246.5 kB / 0.7988 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007639/0.9212, allocations: 312 kB / 0.7991 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01232/0.9335, allocations: 5.194 MB / 0.8042 GB, free: 14 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.974e-05/0.9336, allocations: 4 kB / 0.8042 GB, free: 14 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003701/0.934, allocations: 139.9 kB / 0.8043 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.752e-05/0.934, allocations: 79.94 kB / 0.8044 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01575/0.9498, allocations: 6.374 MB / 0.8106 GB, free: 7.395 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.028/0.9778, allocations: 14.56 MB / 0.8249 GB, free: 8.316 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01023/0.9881, allocations: 4.519 MB / 0.8293 GB, free: 3.785 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00519/0.9933, allocations: 2.458 MB / 0.8317 GB, free: 1.32 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009021/0.9942, allocations: 0.6696 MB / 0.8323 GB, free: 0.5195 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005302/0.9996, allocations: 2.469 MB / 0.8347 GB, free: 14.01 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=270): time 5.1e-06/0.9996, allocations: 0 / 0.8347 GB, free: 14.01 MB / 0.6544 GB Notification: Performance of matching and sorting (n=270): time 0.01831/1.018, allocations: 7.578 MB / 0.8421 GB, free: 6.309 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001222/1.018, allocations: 210 kB / 0.8423 GB, free: 6.059 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003246/1.021, allocations: 2.397 MB / 0.8447 GB, free: 3.633 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0003568/1.022, allocations: 73.7 kB / 0.8447 GB, free: 3.555 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001182/1.023, allocations: 1.353 MB / 0.8461 GB, free: 2.184 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009382/1.024, allocations: 0.8893 MB / 0.8469 GB, free: 1.281 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003478/1.024, allocations: 202.5 kB / 0.8471 GB, free: 1.078 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001018/1.024, allocations: 305.2 kB / 0.8474 GB, free: 0.7773 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004675/1.029, allocations: 1.98 MB / 0.8494 GB, free: 14.79 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004966/1.034, allocations: 2.277 MB / 0.8516 GB, free: 12.44 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009672/1.044, allocations: 4.236 MB / 0.8557 GB, free: 8.117 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.698e-06/1.044, allocations: 0 / 0.8557 GB, free: 8.117 MB / 0.67 GB Notification: Performance of matching and sorting (n=308) (initialization): time 0.01163/1.055, allocations: 4.975 MB / 0.8606 GB, free: 3.09 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.723e-05/1.055, allocations: 8 kB / 0.8606 GB, free: 3.082 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.456e-05/1.055, allocations: 4 kB / 0.8606 GB, free: 3.078 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008525/1.056, allocations: 349.3 kB / 0.8609 GB, free: 2.734 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003787/1.06, allocations: 0.7878 MB / 0.8617 GB, free: 1.945 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3617/1.422, allocations: 3.913 MB / 0.8655 GB, free: 210.7 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0043/1.426, allocations: 0.5563 MB / 0.8661 GB, free: 210.7 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005864/1.427, allocations: 113.2 kB / 0.8662 GB, free: 210.7 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.002257/1.429, allocations: 0.9191 MB / 0.8671 GB, free: 210.6 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006863/1.43, allocations: 276.2 kB / 0.8673 GB, free: 210.6 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01241/1.442, allocations: 5.554 MB / 0.8727 GB, free: 210.4 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.101e-05/1.442, allocations: 32.31 kB / 0.8728 GB, free: 210.4 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/1.442, allocations: 2.969 kB / 0.8728 GB, free: 210.4 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-05/1.442, allocations: 13.36 kB / 0.8728 GB, free: 210.4 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03157/1.474, allocations: 9.305 MB / 0.8819 GB, free: 207.5 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.306e-05/1.474, allocations: 3.812 kB / 0.8819 GB, free: 207.5 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006143/1.48, allocations: 0.7281 MB / 0.8826 GB, free: 207.4 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001762/1.482, allocations: 382.4 kB / 0.883 GB, free: 207.3 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008537/1.483, allocations: 74.19 kB / 0.883 GB, free: 207.3 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008227/1.491, allocations: 5.797 MB / 0.8887 GB, free: 202.9 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/1.491, allocations: 3.562 kB / 0.8887 GB, free: 202.9 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02797/1.519, allocations: 7.931 MB / 0.8964 GB, free: 200.2 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003254/1.522, allocations: 0.8501 MB / 0.8973 GB, free: 199.7 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001398/1.524, allocations: 52.98 kB / 0.8973 GB, free: 199.7 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005211/1.529, allocations: 428.1 kB / 0.8977 GB, free: 199.6 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009319/1.53, allocations: 176.6 kB / 0.8979 GB, free: 199.6 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006552/1.53, allocations: 95.75 kB / 0.898 GB, free: 199.6 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.005085/1.536, allocations: 1.741 MB / 0.8997 GB, free: 199 MB / 0.67 GB Notification: Performance of sort global known variables: time 7.61e-07/1.536, allocations: 0 / 0.8997 GB, free: 199 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.005809/1.541, allocations: 1.03 MB / 0.9007 GB, free: 198.7 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.004153/1.546, allocations: 1.021 MB / 0.9017 GB, free: 198.4 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01906/1.565, allocations: 4.811 MB / 0.9064 GB, free: 196.9 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 9.598e-06/1.565, allocations: 1.156 kB / 0.9064 GB, free: 196.9 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.01105/1.576, allocations: 2.765 MB / 0.9091 GB, free: 195.9 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008665/1.585, allocations: 0.6338 MB / 0.9097 GB, free: 195.7 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02787/1.612, allocations: 9.467 MB / 0.919 GB, free: 190.9 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005055/1.618, allocations: 2.443 MB / 0.9213 GB, free: 189.9 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.009312/1.627, allocations: 1.095 MB / 0.9224 GB, free: 189.7 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002607/1.63, allocations: 265.2 kB / 0.9227 GB, free: 189.7 MB / 0.67 GB Notification: Performance of SimCode: time 1.152e-06/1.63, allocations: 0 / 0.9227 GB, free: 189.7 MB / 0.67 GB Notification: Performance of Templates: time 0.09435/1.724, allocations: 43.64 MB / 0.9653 GB, free: 157.4 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)