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.007414/0.007414, allocations: 96.94 kB / 15.73 MB, free: 6.484 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.001505/0.001505, allocations: 191.3 kB / 16.67 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.442/1.442, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.031/1.031, allocations: 135.1 MB / 425.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 55.91 kB / 0.5856 GB, free: 3.418 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.546/0.5475, allocations: 80.92 MB / 0.6646 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.2045/0.752, allocations: 160.8 MB / 0.8216 GB, free: 316 kB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.03788/0.7899, allocations: 26.77 MB / 0.8478 GB, free: 5.453 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004664/0.7946, allocations: 75.62 kB / 0.8478 GB, free: 5.379 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003231/0.798, allocations: 1.026 MB / 0.8488 GB, free: 4.348 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006326/0.8043, allocations: 1.66 MB / 0.8505 GB, free: 2.684 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005325/0.8097, allocations: 1.71 MB / 0.8521 GB, free: 0.9844 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.007318/0.817, allocations: 4.835 MB / 0.8569 GB, free: 12.13 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006916/0.824, allocations: 4.259 MB / 0.861 GB, free: 7.809 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004599/0.8286, allocations: 1.998 MB / 0.863 GB, free: 5.805 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004228/0.8329, allocations: 2.45 MB / 0.8654 GB, free: 3.348 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.00169/0.8346, allocations: 452 kB / 0.8658 GB, free: 2.906 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003326/0.838, allocations: 1.046 MB / 0.8668 GB, free: 1.859 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001945/0.8399, allocations: 1.168 MB / 0.868 GB, free: 0.6875 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.4409/1.281, allocations: 2.04 MB / 0.8699 GB, free: 11.44 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01199/1.293, allocations: 5.824 MB / 0.8756 GB, free: 11.14 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.844e-06/1.293, allocations: 0 / 0.8756 GB, free: 11.14 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.424e-06/1.293, allocations: 0 / 0.8756 GB, free: 11.14 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0003073/1.293, allocations: 1.094 kB / 0.8756 GB, free: 11.14 MB / 0.6856 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.01611/1.309, allocations: 4.6 MB / 0.8801 GB, free: 9.285 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/1.309, allocations: 10.28 kB / 0.8801 GB, free: 9.285 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01506/1.325, allocations: 2.789 MB / 0.8829 GB, free: 9.055 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006124/1.331, allocations: 2.311 MB / 0.8851 GB, free: 8.43 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002513/1.331, allocations: 243 kB / 0.8853 GB, free: 8.422 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001375/1.332, allocations: 317.6 kB / 0.8856 GB, free: 8.418 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01505/1.347, allocations: 5.143 MB / 0.8907 GB, free: 8.148 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000116/1.348, allocations: 0.875 kB / 0.8907 GB, free: 8.148 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006576/1.348, allocations: 134 kB / 0.8908 GB, free: 8.148 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001335/1.348, allocations: 78.88 kB / 0.8909 GB, free: 8.148 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01905/1.367, allocations: 6.288 MB / 0.897 GB, free: 8.117 MB / 0.6856 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.03261/1.4, allocations: 14.44 MB / 0.9111 GB, free: 4.406 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01153/1.412, allocations: 4.522 MB / 0.9155 GB, free: 4.332 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00604/1.418, allocations: 2.451 MB / 0.9179 GB, free: 4.312 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001007/1.419, allocations: 0.671 MB / 0.9186 GB, free: 3.652 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00663/1.425, allocations: 2.466 MB / 0.921 GB, free: 3.543 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=270): time 7.744e-06/1.425, allocations: 0.7812 kB / 0.921 GB, free: 3.543 MB / 0.6856 GB Notification: Performance of matching and sorting (n=270): time 0.02417/1.45, allocations: 7.553 MB / 0.9284 GB, free: 1.418 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000106/1.45, allocations: 211.8 kB / 0.9286 GB, free: 1.195 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004854/1.455, allocations: 2.396 MB / 0.9309 GB, free: 0.6094 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0009807/1.456, allocations: 72.92 kB / 0.931 GB, free: 0.5781 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001603/1.457, allocations: 1.374 MB / 0.9323 GB, free: 15.91 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.001964/1.459, allocations: 0.9397 MB / 0.9332 GB, free: 15.21 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002566/1.462, allocations: 498.3 kB / 0.9337 GB, free: 15.11 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001217/1.462, allocations: 303.8 kB / 0.934 GB, free: 14.81 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005162/1.467, allocations: 1.968 MB / 0.9359 GB, free: 14.36 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005651/1.473, allocations: 2.276 MB / 0.9382 GB, free: 13.67 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01088/1.484, allocations: 4.225 MB / 0.9423 GB, free: 12.68 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.082e-05/1.484, allocations: 4 kB / 0.9423 GB, free: 12.67 MB / 0.7012 GB Notification: Performance of matching and sorting (n=308) (initialization): time 0.01536/1.499, allocations: 4.978 MB / 0.9471 GB, free: 8.34 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.526e-05/1.499, allocations: 4 kB / 0.9471 GB, free: 8.336 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.791e-05/1.499, allocations: 4 kB / 0.9472 GB, free: 8.332 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001023/1.5, allocations: 358.1 kB / 0.9475 GB, free: 7.98 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004852/1.505, allocations: 0.7806 MB / 0.9483 GB, free: 7.227 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006544/1.512, allocations: 4.26 MB / 0.9524 GB, free: 2.848 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005232/1.517, allocations: 0.533 MB / 0.9529 GB, free: 2.312 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001157/1.518, allocations: 111.9 kB / 0.953 GB, free: 2.203 MB / 0.7012 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.00425/1.522, allocations: 0.9281 MB / 0.9539 GB, free: 1.289 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001909/1.524, allocations: 286.1 kB / 0.9542 GB, free: 1.008 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01909/1.543, allocations: 5.541 MB / 0.9596 GB, free: 11.42 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.501e-05/1.544, allocations: 28 kB / 0.9597 GB, free: 11.39 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.275e-05/1.544, allocations: 4 kB / 0.9597 GB, free: 11.39 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.67e-05/1.544, allocations: 19.94 kB / 0.9597 GB, free: 11.37 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02751/1.571, allocations: 9.294 MB / 0.9688 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.191e-05/1.571, allocations: 0 / 0.9688 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004697/1.576, allocations: 0.7238 MB / 0.9695 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001383/1.577, allocations: 389.7 kB / 0.9698 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001002/1.578, allocations: 75.92 kB / 0.9699 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007862/1.586, allocations: 6.304 MB / 0.9761 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.142e-06/1.586, allocations: 0 / 0.9761 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02879/1.615, allocations: 7.944 MB / 0.9838 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00396/1.619, allocations: 0.8108 MB / 0.9846 GB, free: 1.457 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001904/1.621, allocations: 59.95 kB / 0.9847 GB, free: 1.398 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005444/1.627, allocations: 387.4 kB / 0.985 GB, free: 1.02 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001104/1.628, allocations: 174 kB / 0.9852 GB, free: 0.8477 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009026/1.629, allocations: 95.94 kB / 0.9853 GB, free: 0.7539 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.004924/1.634, allocations: 1.753 MB / 0.987 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3.2e-07/1.634, allocations: 0 / 0.987 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.006613/1.64, allocations: 1.042 MB / 0.988 GB, free: 13.95 MB / 0.7481 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.004446/1.645, allocations: 1.041 MB / 0.989 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.01388/1.659, allocations: 4.812 MB / 0.9937 GB, free: 8.496 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 8.156e-06/1.659, allocations: 0 / 0.9937 GB, free: 8.496 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.007856/1.667, allocations: 2.757 MB / 0.9964 GB, free: 5.754 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005603/1.672, allocations: 0.6693 MB / 0.9971 GB, free: 5.125 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01969/1.692, allocations: 7.928 MB / 1.005 GB, free: 13.17 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003872/1.696, allocations: 2.449 MB / 1.007 GB, free: 10.69 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.005538/1.701, allocations: 1.099 MB / 1.008 GB, free: 9.59 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002099/1.704, allocations: 263.3 kB / 1.009 GB, free: 9.332 MB / 0.7637 GB Notification: Performance of SimCode: time 7.61e-07/1.704, allocations: 0 / 1.009 GB, free: 9.332 MB / 0.7637 GB Notification: Performance of Templates: time 0.08347/1.787, allocations: 46.79 MB / 1.054 GB, free: 11 MB / 0.8106 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)