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.00665/0.00665, allocations: 100.9 kB / 15.73 MB, free: 6.055 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.00143/0.00143, allocations: 197.3 kB / 16.68 MB, free: 5.969 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.384/1.384, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8354/0.8354, allocations: 132.2 MB / 422.7 MB, free: 6.512 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 58.69 kB / 0.5813 GB, free: 23.85 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.1553, allocations: 80.22 MB / 0.6597 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.7033/0.8587, allocations: 161.7 MB / 0.8176 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.03866/0.8974, allocations: 27.04 MB / 0.844 GB, free: 4.09 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003287/0.9007, allocations: 87.25 kB / 0.8441 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002766/0.9035, allocations: 1.066 MB / 0.8451 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005659/0.9092, allocations: 1.788 MB / 0.8469 GB, free: 1.934 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004752/0.914, allocations: 1.804 MB / 0.8486 GB, free: 0.5117 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.007391/0.9214, allocations: 5.228 MB / 0.8537 GB, free: 13.35 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006586/0.928, allocations: 4.511 MB / 0.8582 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005064/0.9331, allocations: 2.163 MB / 0.8603 GB, free: 8.258 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006359/0.9395, allocations: 2.606 MB / 0.8628 GB, free: 5.645 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.002319/0.9418, allocations: 484 kB / 0.8633 GB, free: 5.172 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003825/0.9457, allocations: 1.081 MB / 0.8643 GB, free: 4.09 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001935/0.9476, allocations: 1.239 MB / 0.8655 GB, free: 2.848 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.004017/0.9517, allocations: 2.185 MB / 0.8677 GB, free: 0.6523 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.008476/0.9602, allocations: 6.204 MB / 0.8737 GB, free: 10.43 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.9602, allocations: 0 / 0.8737 GB, free: 10.43 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.735e-06/0.9602, allocations: 4 kB / 0.8737 GB, free: 10.42 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001545/0.9604, allocations: 0 / 0.8737 GB, free: 10.42 MB / 0.6387 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.01052/0.9709, allocations: 4.748 MB / 0.8784 GB, free: 5.602 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/0.971, allocations: 12.03 kB / 0.8784 GB, free: 5.59 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01338/0.9844, allocations: 2.795 MB / 0.8811 GB, free: 2.785 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00508/0.9895, allocations: 2.393 MB / 0.8834 GB, free: 324 kB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001879/0.9897, allocations: 258.9 kB / 0.8837 GB, free: 64 kB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000747/0.9904, allocations: 336 kB / 0.884 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01205/1.003, allocations: 5.389 MB / 0.8893 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.833e-05/1.003, allocations: 3.938 kB / 0.8893 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003912/1.003, allocations: 144 kB / 0.8894 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001048/1.003, allocations: 84 kB / 0.8895 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01569/1.019, allocations: 6.531 MB / 0.8959 GB, free: 3.504 MB / 0.6544 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.03133/1.05, allocations: 15.6 MB / 0.9111 GB, free: 3.281 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00929/1.06, allocations: 4.084 MB / 0.9151 GB, free: 15.18 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005745/1.065, allocations: 2.655 MB / 0.9177 GB, free: 12.52 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001071/1.066, allocations: 0.6775 MB / 0.9184 GB, free: 11.71 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006224/1.073, allocations: 2.565 MB / 0.9209 GB, free: 9.109 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=288): time 5.511e-06/1.073, allocations: 0 / 0.9209 GB, free: 9.109 MB / 0.6856 GB Notification: Performance of matching and sorting (n=288): time 0.02384/1.097, allocations: 8.39 MB / 0.929 GB, free: 0.5977 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001394/1.097, allocations: 218.2 kB / 0.9293 GB, free: 348 kB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00491/1.102, allocations: 2.521 MB / 0.9317 GB, free: 13.8 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0007084/1.102, allocations: 77.69 kB / 0.9318 GB, free: 13.71 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001712/1.104, allocations: 1.435 MB / 0.9332 GB, free: 12.26 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.001535/1.106, allocations: 0.951 MB / 0.9341 GB, free: 11.3 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001903/1.108, allocations: 0.505 MB / 0.9346 GB, free: 10.79 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001172/1.108, allocations: 301.1 kB / 0.9349 GB, free: 10.49 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005123/1.113, allocations: 2.058 MB / 0.9369 GB, free: 8.426 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005423/1.118, allocations: 2.384 MB / 0.9392 GB, free: 5.969 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01061/1.129, allocations: 4.431 MB / 0.9436 GB, free: 1.453 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.103e-05/1.129, allocations: 0 / 0.9436 GB, free: 1.453 MB / 0.7012 GB Notification: Performance of matching and sorting (n=327) (initialization): time 0.01399/1.143, allocations: 5.322 MB / 0.9488 GB, free: 12.08 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.328e-05/1.143, allocations: 8 kB / 0.9488 GB, free: 12.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.765e-05/1.143, allocations: 7.938 kB / 0.9488 GB, free: 12.07 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00139/1.144, allocations: 0.5414 MB / 0.9493 GB, free: 11.52 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004094/1.149, allocations: 0.7917 MB / 0.9501 GB, free: 10.73 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008541/1.157, allocations: 5.714 MB / 0.9557 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004248/1.161, allocations: 0.5556 MB / 0.9562 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008587/1.162, allocations: 111.9 kB / 0.9563 GB, free: 4.199 MB / 0.7169 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.003167/1.165, allocations: 0.9814 MB / 0.9573 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001312/1.167, allocations: 288.4 kB / 0.9575 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01562/1.182, allocations: 5.872 MB / 0.9633 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.801e-05/1.183, allocations: 39.98 kB / 0.9633 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.746e-05/1.183, allocations: 7.938 kB / 0.9633 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.987e-05/1.183, allocations: 11.95 kB / 0.9633 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02444/1.207, allocations: 9.874 MB / 0.973 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.058e-05/1.207, allocations: 0 / 0.973 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004099/1.211, allocations: 0.7605 MB / 0.9737 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001535/1.213, allocations: 0.5216 MB / 0.9742 GB, free: 1.645 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006007/1.213, allocations: 79.92 kB / 0.9743 GB, free: 1.566 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009165/1.223, allocations: 7.558 MB / 0.9817 GB, free: 9.707 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/1.223, allocations: 4 kB / 0.9817 GB, free: 9.703 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02084/1.244, allocations: 8.398 MB / 0.9899 GB, free: 1.215 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003038/1.247, allocations: 0.848 MB / 0.9907 GB, free: 352 kB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001231/1.248, allocations: 63.92 kB / 0.9908 GB, free: 288 kB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003736/1.252, allocations: 405 kB / 0.9912 GB, free: 15.89 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007632/1.252, allocations: 190.1 kB / 0.9914 GB, free: 15.7 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000542/1.253, allocations: 95.94 kB / 0.9914 GB, free: 15.61 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.003659/1.257, allocations: 1.83 MB / 0.9932 GB, free: 13.77 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.3e-07/1.257, allocations: 0 / 0.9932 GB, free: 13.77 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0046/1.261, allocations: 1.102 MB / 0.9943 GB, free: 12.66 MB / 0.7637 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.003539/1.265, allocations: 1.05 MB / 0.9953 GB, free: 12 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.01404/1.279, allocations: 5.112 MB / 1 GB, free: 6.852 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.102e-05/1.279, allocations: 4.688 kB / 1 GB, free: 6.848 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.007401/1.286, allocations: 2.951 MB / 1.003 GB, free: 3.863 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004811/1.291, allocations: 0.7085 MB / 1.004 GB, free: 3.18 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01838/1.31, allocations: 8.277 MB / 1.012 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00329/1.313, allocations: 2.551 MB / 1.014 GB, free: 8.293 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.005491/1.318, allocations: 1.127 MB / 1.016 GB, free: 7.16 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001869/1.32, allocations: 275.1 kB / 1.016 GB, free: 6.891 MB / 0.7794 GB Notification: Performance of SimCode: time 8.32e-07/1.32, allocations: 4 kB / 1.016 GB, free: 6.887 MB / 0.7794 GB Notification: Performance of Templates: time 0.4415/1.762, allocations: 50.58 MB / 1.065 GB, free: 297.2 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)