Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.SimpleRoomThreeElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements") translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006326/0.006326, allocations: 104.7 kB / 15.74 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.001372/0.001372, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.48/1.48, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7822/0.7822, allocations: 132.2 MB / 422.7 MB, free: 1.664 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 67.89 kB / 0.5813 GB, free: 7.516 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4674/0.4688, allocations: 80.2 MB / 0.6597 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.209/0.6778, allocations: 161.7 MB / 0.8176 GB, free: 3.871 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.04125/0.7191, allocations: 27.05 MB / 0.844 GB, free: 8.73 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005866/0.7251, allocations: 79.62 kB / 0.8441 GB, free: 8.652 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003379/0.7285, allocations: 1.072 MB / 0.8451 GB, free: 7.574 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007139/0.7357, allocations: 1.788 MB / 0.8469 GB, free: 5.785 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005693/0.7414, allocations: 1.8 MB / 0.8486 GB, free: 3.996 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.008037/0.7494, allocations: 5.222 MB / 0.8537 GB, free: 14.76 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007587/0.7571, allocations: 4.509 MB / 0.8581 GB, free: 10.19 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005362/0.7624, allocations: 2.171 MB / 0.8603 GB, free: 8.012 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004791/0.7673, allocations: 2.588 MB / 0.8628 GB, free: 5.414 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0021/0.7694, allocations: 484 kB / 0.8633 GB, free: 4.941 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004042/0.7734, allocations: 1.093 MB / 0.8643 GB, free: 3.848 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.002329/0.7758, allocations: 1.246 MB / 0.8655 GB, free: 2.598 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.004668/0.7804, allocations: 2.177 MB / 0.8677 GB, free: 420 kB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.509/1.289, allocations: 6.204 MB / 0.8737 GB, free: 13.57 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 1.163e-05/1.29, allocations: 3.688 kB / 0.8737 GB, free: 13.57 MB / 0.6856 GB Notification: Performance of FrontEnd: time 3.406e-06/1.29, allocations: 0.7812 kB / 0.8737 GB, free: 13.57 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0003044/1.29, allocations: 0 / 0.8737 GB, free: 13.57 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: 882 * Number of variables: 882 Notification: Performance of Generate backend data structure: time 0.01647/1.306, allocations: 4.745 MB / 0.8784 GB, free: 11.76 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/1.306, allocations: 8.875 kB / 0.8784 GB, free: 11.76 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01627/1.323, allocations: 2.792 MB / 0.8811 GB, free: 11.54 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007187/1.33, allocations: 2.397 MB / 0.8834 GB, free: 10.91 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003032/1.33, allocations: 256.5 kB / 0.8837 GB, free: 10.9 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001869/1.332, allocations: 342 kB / 0.884 GB, free: 10.89 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01626/1.348, allocations: 5.385 MB / 0.8893 GB, free: 10.62 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.465e-05/1.349, allocations: 3.141 kB / 0.8893 GB, free: 10.62 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004657/1.349, allocations: 142.6 kB / 0.8894 GB, free: 10.62 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.397e-05/1.349, allocations: 84.62 kB / 0.8895 GB, free: 10.62 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01777/1.367, allocations: 6.524 MB / 0.8959 GB, free: 10.59 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.03194/1.399, allocations: 15.6 MB / 0.9111 GB, free: 6.359 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008692/1.408, allocations: 4.087 MB / 0.9151 GB, free: 6.273 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005292/1.413, allocations: 2.656 MB / 0.9177 GB, free: 6.246 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007905/1.414, allocations: 0.6748 MB / 0.9183 GB, free: 5.586 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005511/1.419, allocations: 2.568 MB / 0.9209 GB, free: 5.293 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=288): time 7.895e-06/1.419, allocations: 4.156 kB / 0.9209 GB, free: 5.293 MB / 0.6856 GB Notification: Performance of matching and sorting (n=288): time 0.02079/1.44, allocations: 8.388 MB / 0.929 GB, free: 2.902 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.792e-05/1.44, allocations: 210 kB / 0.9292 GB, free: 2.68 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003592/1.444, allocations: 2.519 MB / 0.9317 GB, free: 2.074 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0003293/1.444, allocations: 75.3 kB / 0.9318 GB, free: 2.043 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001061/1.445, allocations: 1.434 MB / 0.9332 GB, free: 1.363 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007759/1.446, allocations: 0.9552 MB / 0.9341 GB, free: 0.6641 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008906/1.447, allocations: 0.5093 MB / 0.9346 GB, free: 0.5547 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 5.644e-05/1.447, allocations: 301.1 kB / 0.9349 GB, free: 264 kB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00469/1.452, allocations: 2.077 MB / 0.9369 GB, free: 15.83 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00483/1.457, allocations: 2.383 MB / 0.9393 GB, free: 15.12 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009585/1.466, allocations: 4.431 MB / 0.9436 GB, free: 13.46 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.047e-06/1.466, allocations: 0 / 0.9436 GB, free: 13.46 MB / 0.7012 GB Notification: Performance of matching and sorting (n=327) (initialization): time 0.0127/1.479, allocations: 5.327 MB / 0.9488 GB, free: 8.48 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.004e-05/1.479, allocations: 8 kB / 0.9488 GB, free: 8.473 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.908e-05/1.479, allocations: 4 kB / 0.9488 GB, free: 8.469 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001407/1.48, allocations: 0.5464 MB / 0.9493 GB, free: 7.922 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004254/1.485, allocations: 0.7974 MB / 0.9501 GB, free: 7.152 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008625/1.493, allocations: 5.712 MB / 0.9557 GB, free: 1.32 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004511/1.498, allocations: 0.5449 MB / 0.9562 GB, free: 0.7734 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006052/1.498, allocations: 115.9 kB / 0.9563 GB, free: 0.6602 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 (282): * Single equations (assignments): 281 * 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 {(4,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002975/1.501, allocations: 0.9646 MB / 0.9573 GB, free: 15.71 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001018/1.502, allocations: 292.4 kB / 0.9575 GB, free: 15.43 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01384/1.516, allocations: 5.887 MB / 0.9633 GB, free: 9.504 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.228e-05/1.516, allocations: 28 kB / 0.9633 GB, free: 9.477 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.479e-05/1.516, allocations: 8 kB / 0.9633 GB, free: 9.469 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.011e-05/1.516, allocations: 15.94 kB / 0.9633 GB, free: 9.453 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01962/1.536, allocations: 9.899 MB / 0.973 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.728e-06/1.536, allocations: 0 / 0.973 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00386/1.54, allocations: 0.7464 MB / 0.9737 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001361/1.541, allocations: 0.5234 MB / 0.9743 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002764/1.542, allocations: 79.94 kB / 0.9743 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008529/1.55, allocations: 7.548 MB / 0.9817 GB, free: 6.387 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/1.55, allocations: 3.75 kB / 0.9817 GB, free: 6.387 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01968/1.57, allocations: 8.399 MB / 0.9899 GB, free: 13.92 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002181/1.572, allocations: 0.8455 MB / 0.9907 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006815/1.573, allocations: 67.84 kB / 0.9908 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003259/1.576, allocations: 391.4 kB / 0.9912 GB, free: 12.6 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004796/1.576, allocations: 194.1 kB / 0.9914 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002693/1.577, allocations: 107.9 kB / 0.9915 GB, free: 12.3 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002942/1.58, allocations: 1.83 MB / 0.9932 GB, free: 10.46 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3.9e-07/1.58, allocations: 0 / 0.9932 GB, free: 10.46 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.004418/1.584, allocations: 1.108 MB / 0.9943 GB, free: 9.355 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (thermalZoneThreeElements.volAir.dynBal.U,thermalZoneThreeElements.volAir.dynBal.m,thermalZoneThreeElements.extWallRC.thermCapExt[1].T,thermalZoneThreeElements.intWallRC.thermCapInt[1].T,thermalZoneThreeElements.floorRC.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 (260): * Single equations (assignments): 253 * 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 {(4,36,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.002733/1.587, allocations: 1.032 MB / 0.9953 GB, free: 8.797 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.01252/1.599, allocations: 5.108 MB / 1 GB, free: 3.688 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/1.599, allocations: 0 / 1 GB, free: 3.688 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.007155/1.607, allocations: 2.955 MB / 1.003 GB, free: 0.7539 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004776/1.611, allocations: 0.7194 MB / 1.004 GB, free: 96 kB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0167/1.628, allocations: 8.26 MB / 1.012 GB, free: 7.809 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002345/1.631, allocations: 2.551 MB / 1.014 GB, free: 5.23 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.00449/1.635, allocations: 1.142 MB / 1.016 GB, free: 4.086 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001239/1.636, allocations: 267.3 kB / 1.016 GB, free: 3.824 MB / 0.7637 GB Notification: Performance of SimCode: time 1.282e-06/1.636, allocations: 0 / 1.016 GB, free: 3.824 MB / 0.7637 GB Notification: Performance of Templates: time 0.08567/1.722, allocations: 50.6 MB / 1.065 GB, free: 1.809 MB / 0.8106 GB make -j1 -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.makefile (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.sim & ./IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe 2>&1)