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.008256/0.008256, allocations: 101.6 kB / 15.73 MB, free: 5.996 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.001638/0.001638, allocations: 190.1 kB / 16.67 MB, free: 5.93 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.459/1.459, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9649/0.9649, allocations: 135.1 MB / 425.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 55.91 kB / 0.5856 GB, free: 3.406 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5098/0.5112, allocations: 80.92 MB / 0.6646 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.2151/0.7263, allocations: 160.1 MB / 0.821 GB, free: 0.9766 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.03784/0.7642, allocations: 26.59 MB / 0.847 GB, free: 6.293 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003557/0.7678, allocations: 75.62 kB / 0.847 GB, free: 6.219 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002853/0.7707, allocations: 0.983 MB / 0.848 GB, free: 5.23 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006373/0.7771, allocations: 1.603 MB / 0.8496 GB, free: 3.621 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005167/0.7823, allocations: 1.65 MB / 0.8512 GB, free: 1.98 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.007579/0.7899, allocations: 4.571 MB / 0.8556 GB, free: 13.4 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006524/0.7964, allocations: 4.101 MB / 0.8596 GB, free: 9.234 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004318/0.8008, allocations: 1.927 MB / 0.8615 GB, free: 7.301 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004177/0.805, allocations: 2.335 MB / 0.8638 GB, free: 4.957 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001518/0.8065, allocations: 424 kB / 0.8642 GB, free: 4.543 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003251/0.8098, allocations: 1.038 MB / 0.8652 GB, free: 3.504 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001592/0.8114, allocations: 1.102 MB / 0.8663 GB, free: 2.398 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.003746/0.8151, allocations: 1.932 MB / 0.8682 GB, free: 468 kB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.4841/1.299, allocations: 5.522 MB / 0.8736 GB, free: 12.14 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/1.299, allocations: 0 / 0.8736 GB, free: 12.14 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.475e-06/1.299, allocations: 2.766 kB / 0.8736 GB, free: 12.14 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001889/1.3, allocations: 0.5 kB / 0.8736 GB, free: 12.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: 790 * Number of variables: 790 Notification: Performance of Generate backend data structure: time 0.014/1.314, allocations: 4.419 MB / 0.8779 GB, free: 10.36 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.233e-05/1.314, allocations: 9.781 kB / 0.8779 GB, free: 10.36 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01463/1.328, allocations: 2.768 MB / 0.8806 GB, free: 10.13 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005534/1.334, allocations: 2.232 MB / 0.8828 GB, free: 9.547 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002374/1.334, allocations: 230 kB / 0.883 GB, free: 9.539 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001037/1.335, allocations: 301.4 kB / 0.8833 GB, free: 9.539 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01283/1.348, allocations: 4.966 MB / 0.8881 GB, free: 9.27 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.69e-05/1.348, allocations: 1.062 kB / 0.8881 GB, free: 9.27 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003736/1.348, allocations: 130.4 kB / 0.8883 GB, free: 9.27 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.409e-05/1.349, allocations: 75 kB / 0.8883 GB, free: 9.27 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01588/1.364, allocations: 6.103 MB / 0.8943 GB, free: 9.238 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.02414/1.389, allocations: 13.56 MB / 0.9075 GB, free: 5.973 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009384/1.398, allocations: 4.362 MB / 0.9118 GB, free: 5.895 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005055/1.403, allocations: 2.324 MB / 0.9141 GB, free: 5.879 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007843/1.404, allocations: 0.67 MB / 0.9147 GB, free: 5.219 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005242/1.409, allocations: 2.371 MB / 0.917 GB, free: 5.121 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=257): time 6.402e-06/1.409, allocations: 0 / 0.917 GB, free: 5.121 MB / 0.6856 GB Notification: Performance of matching and sorting (n=257): time 0.01649/1.426, allocations: 6.957 MB / 0.9238 GB, free: 3.578 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.147e-05/1.426, allocations: 206.3 kB / 0.924 GB, free: 3.355 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00331/1.429, allocations: 2.311 MB / 0.9263 GB, free: 2.781 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0006036/1.43, allocations: 69.39 kB / 0.9263 GB, free: 2.75 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001008/1.431, allocations: 1.326 MB / 0.9276 GB, free: 2.105 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008497/1.432, allocations: 0.8928 MB / 0.9285 GB, free: 1.449 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008534/1.432, allocations: 484.2 kB / 0.929 GB, free: 1.344 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 3.98e-05/1.433, allocations: 301.1 kB / 0.9293 GB, free: 1.047 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004096/1.437, allocations: 1.898 MB / 0.9311 GB, free: 0.6094 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004467/1.441, allocations: 2.188 MB / 0.9332 GB, free: 15.95 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009204/1.45, allocations: 4.062 MB / 0.9372 GB, free: 14.97 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.145e-05/1.45, allocations: 2.969 kB / 0.9372 GB, free: 14.97 MB / 0.7012 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01132/1.462, allocations: 4.713 MB / 0.9418 GB, free: 13.25 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.564e-05/1.462, allocations: 9.406 kB / 0.9418 GB, free: 13.24 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.492e-05/1.462, allocations: 8 kB / 0.9418 GB, free: 13.23 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000626/1.462, allocations: 229.8 kB / 0.9421 GB, free: 13.05 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003963/1.466, allocations: 0.7751 MB / 0.9428 GB, free: 12.32 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003991/1.47, allocations: 3.378 MB / 0.9461 GB, free: 9.473 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003946/1.474, allocations: 0.5214 MB / 0.9466 GB, free: 8.949 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003863/1.475, allocations: 111.9 kB / 0.9467 GB, free: 8.84 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 (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.002105/1.477, allocations: 0.8979 MB / 0.9476 GB, free: 7.957 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007583/1.478, allocations: 266.3 kB / 0.9479 GB, free: 7.695 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01307/1.491, allocations: 5.273 MB / 0.953 GB, free: 2.371 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.338e-05/1.491, allocations: 28 kB / 0.953 GB, free: 2.344 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.15e-05/1.491, allocations: 4 kB / 0.953 GB, free: 2.34 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-05/1.491, allocations: 15.05 kB / 0.9531 GB, free: 2.328 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02029/1.511, allocations: 8.819 MB / 0.9617 GB, free: 9.461 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.967e-06/1.511, allocations: 0 / 0.9617 GB, free: 9.461 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003724/1.515, allocations: 0.7221 MB / 0.9624 GB, free: 8.766 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008389/1.516, allocations: 265.2 kB / 0.9626 GB, free: 8.5 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002928/1.516, allocations: 69.14 kB / 0.9627 GB, free: 8.434 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005211/1.521, allocations: 5.24 MB / 0.9678 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/1.521, allocations: 4.031 kB / 0.9678 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01789/1.539, allocations: 7.543 MB / 0.9752 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002231/1.541, allocations: 0.7875 MB / 0.9759 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007497/1.542, allocations: 51.95 kB / 0.976 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003306/1.546, allocations: 387.4 kB / 0.9764 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000431/1.546, allocations: 173 kB / 0.9765 GB, free: 9.887 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002688/1.546, allocations: 99.69 kB / 0.9766 GB, free: 9.793 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002844/1.549, allocations: 1.692 MB / 0.9783 GB, free: 8.086 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.533e-06/1.549, allocations: 0 / 0.9783 GB, free: 8.086 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003838/1.553, allocations: 0.9793 MB / 0.9792 GB, free: 7.105 MB / 0.7325 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.002736/1.556, allocations: 1.025 MB / 0.9802 GB, free: 6.488 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01209/1.568, allocations: 4.589 MB / 0.9847 GB, free: 1.883 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.052e-05/1.568, allocations: 3.75 kB / 0.9847 GB, free: 1.883 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.006475/1.574, allocations: 2.611 MB / 0.9873 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003942/1.578, allocations: 0.6438 MB / 0.9879 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01504/1.593, allocations: 7.586 MB / 0.9953 GB, free: 7.062 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002099/1.596, allocations: 2.366 MB / 0.9976 GB, free: 4.668 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.004163/1.6, allocations: 1.083 MB / 0.9987 GB, free: 3.586 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001348/1.601, allocations: 263.2 kB / 0.9989 GB, free: 3.328 MB / 0.7481 GB Notification: Performance of SimCode: time 1.082e-06/1.601, allocations: 0 / 0.9989 GB, free: 3.328 MB / 0.7481 GB Notification: Performance of Templates: time 0.08109/1.682, allocations: 44.1 MB / 1.042 GB, free: 7.664 MB / 0.795 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)