Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_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.001184/0.001183, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 193.5 kB / 16.53 MB, free: 6.664 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.323/1.323, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7332/0.7332, allocations: 132.2 MB / 422.6 MB, free: 1.758 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 59.12 kB / 0.5018 GB, free: 3.867 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4159/0.4173, allocations: 80.2 MB / 0.5801 GB, free: 4.531 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.1739/0.5913, allocations: 160.8 MB / 0.7371 GB, free: 160 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03665/0.6279, allocations: 26.78 MB / 0.7632 GB, free: 5.293 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003023/0.631, allocations: 71.62 kB / 0.7633 GB, free: 5.223 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002418/0.6335, allocations: 1.022 MB / 0.7643 GB, free: 4.195 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004895/0.6384, allocations: 1.663 MB / 0.7659 GB, free: 2.527 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004674/0.6431, allocations: 1.697 MB / 0.7676 GB, free: 0.8438 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.008514/0.6516, allocations: 4.812 MB / 0.7723 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008879/0.6605, allocations: 4.256 MB / 0.7764 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004134/0.6647, allocations: 2.021 MB / 0.7784 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00385/0.6686, allocations: 2.433 MB / 0.7808 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001479/0.6701, allocations: 448 kB / 0.7812 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003044/0.6731, allocations: 1.027 MB / 0.7822 GB, free: 1.77 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001874/0.675, allocations: 1.168 MB / 0.7834 GB, free: 0.5977 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.004037/0.6791, allocations: 2.037 MB / 0.7853 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.008318/0.6874, allocations: 5.69 MB / 0.7909 GB, free: 8.84 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.6874, allocations: 0 / 0.7909 GB, free: 8.84 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6875, allocations: 0 / 0.7909 GB, free: 8.84 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0001778/0.6876, allocations: 0 / 0.7909 GB, free: 8.84 MB / 0.6231 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.01161/0.6992, allocations: 4.478 MB / 0.7953 GB, free: 4.289 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.6993, allocations: 8.031 kB / 0.7953 GB, free: 4.281 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01398/0.7133, allocations: 2.772 MB / 0.798 GB, free: 1.5 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005269/0.7186, allocations: 2.251 MB / 0.8002 GB, free: 15.17 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002501/0.7189, allocations: 238.5 kB / 0.8004 GB, free: 14.94 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001282/0.7202, allocations: 319.9 kB / 0.8007 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01391/0.7341, allocations: 5.14 MB / 0.8057 GB, free: 9.406 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.227e-05/0.7342, allocations: 4 kB / 0.8057 GB, free: 9.402 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004341/0.7347, allocations: 135.9 kB / 0.8059 GB, free: 9.27 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.967e-05/0.7347, allocations: 80 kB / 0.8059 GB, free: 9.191 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0159/0.7506, allocations: 6.284 MB / 0.8121 GB, free: 2.895 MB / 0.6387 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.3285/1.079, allocations: 14.54 MB / 0.8263 GB, free: 209.3 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009298/1.088, allocations: 4.51 MB / 0.8307 GB, free: 207.9 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004716/1.093, allocations: 2.45 MB / 0.8331 GB, free: 206.9 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000742/1.094, allocations: 0.6715 MB / 0.8337 GB, free: 206.2 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004848/1.099, allocations: 2.467 MB / 0.8361 GB, free: 204.7 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=270): time 4.558e-06/1.099, allocations: 2.625 kB / 0.8362 GB, free: 204.7 MB / 0.6387 GB Notification: Performance of matching and sorting (n=270): time 0.01708/1.116, allocations: 7.537 MB / 0.8435 GB, free: 200.8 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.305e-05/1.116, allocations: 209.5 kB / 0.8437 GB, free: 200.6 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002537/1.119, allocations: 2.398 MB / 0.8461 GB, free: 199.4 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0003714/1.119, allocations: 73.77 kB / 0.8461 GB, free: 199.3 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008394/1.12, allocations: 1.351 MB / 0.8474 GB, free: 198.2 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006343/1.12, allocations: 0.8993 MB / 0.8483 GB, free: 197.4 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007574/1.121, allocations: 490.8 kB / 0.8488 GB, free: 197.1 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 3.474e-05/1.121, allocations: 313.7 kB / 0.8491 GB, free: 196.8 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003993/1.125, allocations: 1.968 MB / 0.851 GB, free: 195.8 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004155/1.129, allocations: 2.269 MB / 0.8532 GB, free: 194.3 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008019/1.137, allocations: 4.224 MB / 0.8574 GB, free: 190 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/1.138, allocations: 0 / 0.8574 GB, free: 190 MB / 0.6387 GB Notification: Performance of matching and sorting (n=308) (initialization): time 0.009783/1.147, allocations: 4.959 MB / 0.8622 GB, free: 185 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/1.147, allocations: 12.16 kB / 0.8622 GB, free: 185 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/1.147, allocations: 4.109 kB / 0.8622 GB, free: 185 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007252/1.148, allocations: 353.9 kB / 0.8625 GB, free: 184.7 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003521/1.152, allocations: 0.7839 MB / 0.8633 GB, free: 183.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004088/1.156, allocations: 4.252 MB / 0.8675 GB, free: 179.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003476/1.159, allocations: 0.5221 MB / 0.868 GB, free: 179 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003066/1.16, allocations: 115.9 kB / 0.8681 GB, free: 178.8 MB / 0.6387 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.001559/1.161, allocations: 0.9343 MB / 0.869 GB, free: 177.9 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000543/1.162, allocations: 268.6 kB / 0.8693 GB, free: 177.6 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01084/1.173, allocations: 5.546 MB / 0.8747 GB, free: 172 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.54e-05/1.173, allocations: 28 kB / 0.8747 GB, free: 172 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.348e-06/1.173, allocations: 4 kB / 0.8747 GB, free: 172 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.59e-05/1.173, allocations: 15.33 kB / 0.8747 GB, free: 172 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01505/1.188, allocations: 9.304 MB / 0.8838 GB, free: 162.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.386e-06/1.188, allocations: 0 / 0.8838 GB, free: 162.6 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003433/1.191, allocations: 0.7293 MB / 0.8845 GB, free: 161.9 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009089/1.192, allocations: 383 kB / 0.8849 GB, free: 161.5 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002516/1.192, allocations: 71.94 kB / 0.8849 GB, free: 161.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004717/1.197, allocations: 6.297 MB / 0.8911 GB, free: 154.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/1.197, allocations: 0 / 0.8911 GB, free: 154.8 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01443/1.212, allocations: 7.931 MB / 0.8988 GB, free: 146.8 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001439/1.213, allocations: 0.7977 MB / 0.8996 GB, free: 146 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004762/1.213, allocations: 63.84 kB / 0.8997 GB, free: 145.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002762/1.216, allocations: 387.4 kB / 0.9001 GB, free: 145.6 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003697/1.217, allocations: 173.9 kB / 0.9002 GB, free: 145.4 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002085/1.217, allocations: 103.9 kB / 0.9003 GB, free: 145.3 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001787/1.219, allocations: 1.749 MB / 0.902 GB, free: 143.5 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/1.219, allocations: 8 kB / 0.902 GB, free: 143.5 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002303/1.221, allocations: 1.023 MB / 0.903 GB, free: 142.5 MB / 0.6387 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.002175/1.223, allocations: 1.028 MB / 0.904 GB, free: 141.9 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0166/1.24, allocations: 8.141 MB / 0.912 GB, free: 133.8 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/1.24, allocations: 0.6875 kB / 0.912 GB, free: 133.8 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.00537/1.245, allocations: 2.757 MB / 0.9147 GB, free: 131 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003684/1.249, allocations: 0.6539 MB / 0.9153 GB, free: 130.4 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01312/1.262, allocations: 7.914 MB / 0.923 GB, free: 122.5 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001559/1.264, allocations: 2.445 MB / 0.9254 GB, free: 120 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.003934/1.268, allocations: 1.111 MB / 0.9265 GB, free: 118.9 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001134/1.269, allocations: 259.3 kB / 0.9268 GB, free: 118.6 MB / 0.6387 GB Notification: Performance of SimCode: time 9.12e-07/1.269, allocations: 0 / 0.9268 GB, free: 118.6 MB / 0.6387 GB Notification: Performance of Templates: time 0.06239/1.331, allocations: 46.1 MB / 0.9718 GB, free: 72.9 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.makefile (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.sim & ./IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe 2>&1)