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.008532/0.008532, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.002039/0.002039, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.522/1.522, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.018/1.018, allocations: 135.1 MB / 425.7 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 63.89 kB / 0.5856 GB, free: 3.395 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5395/0.5409, allocations: 80.91 MB / 0.6646 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.2031/0.744, allocations: 160.1 MB / 0.821 GB, free: 0.9414 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0368/0.7809, allocations: 26.61 MB / 0.847 GB, free: 6.246 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004641/0.7856, allocations: 71.62 kB / 0.847 GB, free: 6.176 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002893/0.7885, allocations: 0.9869 MB / 0.848 GB, free: 5.184 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006265/0.7948, allocations: 1.635 MB / 0.8496 GB, free: 3.543 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005036/0.7999, allocations: 1.648 MB / 0.8512 GB, free: 1.906 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.00719/0.8071, allocations: 4.582 MB / 0.8557 GB, free: 13.31 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006206/0.8133, allocations: 4.094 MB / 0.8597 GB, free: 9.148 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004064/0.8174, allocations: 1.962 MB / 0.8616 GB, free: 7.184 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003768/0.8212, allocations: 2.339 MB / 0.8639 GB, free: 4.836 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001397/0.8226, allocations: 428 kB / 0.8643 GB, free: 4.418 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003032/0.8256, allocations: 1.027 MB / 0.8653 GB, free: 3.391 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001748/0.8274, allocations: 1.106 MB / 0.8664 GB, free: 2.281 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.003991/0.8314, allocations: 1.928 MB / 0.8683 GB, free: 352 kB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.5473/1.379, allocations: 5.499 MB / 0.8736 GB, free: 12.42 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/1.379, allocations: 1.984 kB / 0.8736 GB, free: 12.42 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.204e-06/1.379, allocations: 0.5 kB / 0.8736 GB, free: 12.42 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0002459/1.379, allocations: 1.562 kB / 0.8736 GB, free: 12.42 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.01391/1.393, allocations: 4.308 MB / 0.8778 GB, free: 10.75 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.4e-05/1.393, allocations: 9.656 kB / 0.8778 GB, free: 10.75 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01576/1.409, allocations: 2.751 MB / 0.8805 GB, free: 10.54 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006685/1.416, allocations: 2.211 MB / 0.8827 GB, free: 9.977 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002811/1.416, allocations: 229.4 kB / 0.8829 GB, free: 9.969 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001227/1.417, allocations: 302.2 kB / 0.8832 GB, free: 9.969 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01444/1.432, allocations: 4.967 MB / 0.888 GB, free: 9.695 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.062e-05/1.432, allocations: 1.719 kB / 0.888 GB, free: 9.695 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004145/1.432, allocations: 125 kB / 0.8882 GB, free: 9.695 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.92e-05/1.432, allocations: 76.03 kB / 0.8882 GB, free: 9.695 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01697/1.449, allocations: 6.106 MB / 0.8942 GB, free: 9.664 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.03128/1.48, allocations: 13.54 MB / 0.9074 GB, free: 6.406 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01132/1.492, allocations: 4.349 MB / 0.9117 GB, free: 6.34 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00578/1.498, allocations: 2.315 MB / 0.9139 GB, free: 6.324 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009611/1.499, allocations: 0.6757 MB / 0.9146 GB, free: 5.66 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006449/1.505, allocations: 2.37 MB / 0.9169 GB, free: 5.562 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=257): time 5.21e-06/1.505, allocations: 4.438 kB / 0.9169 GB, free: 5.562 MB / 0.6856 GB Notification: Performance of matching and sorting (n=257): time 0.01915/1.524, allocations: 6.941 MB / 0.9237 GB, free: 3.988 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.253e-05/1.524, allocations: 211.7 kB / 0.9239 GB, free: 3.762 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004207/1.529, allocations: 2.309 MB / 0.9261 GB, free: 3.191 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0007119/1.529, allocations: 71.14 kB / 0.9262 GB, free: 3.16 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001191/1.53, allocations: 1.3 MB / 0.9275 GB, free: 2.535 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.001207/1.532, allocations: 0.8504 MB / 0.9283 GB, free: 1.918 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001575/1.533, allocations: 478 kB / 0.9288 GB, free: 1.812 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 4.289e-05/1.533, allocations: 305.2 kB / 0.9291 GB, free: 1.516 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004575/1.538, allocations: 1.898 MB / 0.9309 GB, free: 1.078 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004839/1.543, allocations: 2.186 MB / 0.933 GB, free: 428 kB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009905/1.553, allocations: 4.083 MB / 0.937 GB, free: 15.48 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.697e-05/1.553, allocations: 0 / 0.937 GB, free: 15.48 MB / 0.7012 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01361/1.566, allocations: 4.704 MB / 0.9416 GB, free: 13.65 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 4.664e-05/1.566, allocations: 9.25 kB / 0.9416 GB, free: 13.64 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.511e-05/1.566, allocations: 8.156 kB / 0.9416 GB, free: 13.64 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008775/1.567, allocations: 226.4 kB / 0.9419 GB, free: 13.46 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004632/1.572, allocations: 0.7695 MB / 0.9426 GB, free: 12.73 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005125/1.577, allocations: 3.378 MB / 0.9459 GB, free: 9.805 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00466/1.582, allocations: 0.5207 MB / 0.9464 GB, free: 9.281 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007587/1.583, allocations: 110.4 kB / 0.9465 GB, free: 9.176 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.00334/1.586, allocations: 0.8932 MB / 0.9474 GB, free: 8.301 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001373/1.587, allocations: 256.8 kB / 0.9476 GB, free: 8.047 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01499/1.602, allocations: 5.266 MB / 0.9528 GB, free: 2.727 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.728e-05/1.602, allocations: 28 kB / 0.9528 GB, free: 2.699 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.386e-05/1.602, allocations: 1.203 kB / 0.9528 GB, free: 2.699 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.194e-05/1.602, allocations: 11.95 kB / 0.9528 GB, free: 2.688 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02195/1.624, allocations: 8.817 MB / 0.9614 GB, free: 9.824 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-05/1.624, allocations: 0 / 0.9614 GB, free: 9.824 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003994/1.628, allocations: 0.7198 MB / 0.9621 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009349/1.629, allocations: 272.2 kB / 0.9624 GB, free: 8.855 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004255/1.63, allocations: 73.03 kB / 0.9625 GB, free: 8.785 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005622/1.636, allocations: 5.236 MB / 0.9676 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/1.636, allocations: 0 / 0.9676 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01896/1.655, allocations: 7.534 MB / 0.9749 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002248/1.657, allocations: 0.778 MB / 0.9757 GB, free: 10.87 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001092/1.658, allocations: 55.84 kB / 0.9758 GB, free: 10.81 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00371/1.662, allocations: 387.4 kB / 0.9761 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005517/1.662, allocations: 165.9 kB / 0.9763 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003449/1.663, allocations: 91.94 kB / 0.9764 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.003446/1.666, allocations: 1.692 MB / 0.978 GB, free: 8.473 MB / 0.7325 GB Notification: Performance of sort global known variables: time 4e-07/1.666, allocations: 1.203 kB / 0.978 GB, free: 8.473 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.004202/1.67, allocations: 0.97 MB / 0.979 GB, free: 7.5 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.003011/1.673, allocations: 1.03 MB / 0.98 GB, free: 6.887 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01184/1.685, allocations: 4.58 MB / 0.9844 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/1.685, allocations: 4.688 kB / 0.9844 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.006287/1.691, allocations: 2.612 MB / 0.987 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004481/1.696, allocations: 0.6535 MB / 0.9876 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01694/1.713, allocations: 7.458 MB / 0.9949 GB, free: 7.582 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00315/1.716, allocations: 2.366 MB / 0.9972 GB, free: 5.188 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.005796/1.722, allocations: 1.09 MB / 0.9983 GB, free: 4.102 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002069/1.724, allocations: 263.2 kB / 0.9985 GB, free: 3.844 MB / 0.7481 GB Notification: Performance of SimCode: time 7.41e-07/1.724, allocations: 0 / 0.9985 GB, free: 3.844 MB / 0.7481 GB Notification: Performance of Templates: time 0.09187/1.816, allocations: 44.1 MB / 1.042 GB, free: 8.176 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)