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.0012/0.001201, allocations: 112.6 kB / 16.37 MB, free: 6 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.001273/0.001273, allocations: 196 kB / 17.31 MB, free: 5.613 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.345/1.345, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7856/0.7856, allocations: 132.2 MB / 423.3 MB, free: 6.621 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 63.91 kB / 0.5032 GB, free: 10.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3358/0.337, allocations: 80.17 MB / 0.5815 GB, free: 27.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.1573/0.4944, allocations: 160.8 MB / 0.7385 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3114/0.8058, allocations: 26.76 MB / 0.7646 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003243/0.8091, allocations: 77.48 kB / 0.7647 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00243/0.8116, allocations: 1.015 MB / 0.7657 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004777/0.8164, allocations: 1.673 MB / 0.7673 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004321/0.8208, allocations: 1.696 MB / 0.769 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006597/0.8274, allocations: 4.831 MB / 0.7737 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006002/0.8334, allocations: 4.261 MB / 0.7779 GB, free: 17.06 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004504/0.8379, allocations: 2.02 MB / 0.7798 GB, free: 17.06 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00433/0.8423, allocations: 2.444 MB / 0.7822 GB, free: 16.96 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001646/0.844, allocations: 449.4 kB / 0.7827 GB, free: 16.96 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002889/0.8469, allocations: 1.057 MB / 0.7837 GB, free: 16.95 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001173/0.848, allocations: 1.164 MB / 0.7848 GB, free: 16.8 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002415/0.8505, allocations: 2.038 MB / 0.7868 GB, free: 16.2 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.006024/0.8565, allocations: 5.793 MB / 0.7925 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.8565, allocations: 0 / 0.7925 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.783e-06/0.8565, allocations: 0.9062 kB / 0.7925 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001398/0.8567, allocations: 3.938 kB / 0.7925 GB, free: 15.43 MB / 0.5919 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.009886/0.8666, allocations: 4.493 MB / 0.7969 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.8666, allocations: 11.06 kB / 0.7969 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01312/0.8798, allocations: 2.767 MB / 0.7996 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005555/0.8853, allocations: 2.292 MB / 0.8018 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001669/0.8855, allocations: 243.2 kB / 0.802 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008976/0.8864, allocations: 320.5 kB / 0.8023 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01086/0.8973, allocations: 5.136 MB / 0.8074 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.458e-05/0.8974, allocations: 3.984 kB / 0.8074 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003352/0.8978, allocations: 134.1 kB / 0.8075 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.525e-05/0.8978, allocations: 80.89 kB / 0.8076 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01399/0.9118, allocations: 6.293 MB / 0.8137 GB, free: 9.305 MB / 0.5919 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.02619/0.938, allocations: 14.41 MB / 0.8278 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009802/0.9479, allocations: 4.508 MB / 0.8322 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004975/0.9528, allocations: 2.454 MB / 0.8346 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009142/0.9538, allocations: 0.6743 MB / 0.8353 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00522/0.959, allocations: 2.457 MB / 0.8377 GB, free: 2.562 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=270): time 5.03e-06/0.959, allocations: 0 / 0.8377 GB, free: 2.562 MB / 0.6075 GB Notification: Performance of matching and sorting (n=270): time 0.01802/0.977, allocations: 7.54 MB / 0.845 GB, free: 10.92 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001274/0.9772, allocations: 210 kB / 0.8452 GB, free: 10.67 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003422/0.9806, allocations: 2.397 MB / 0.8476 GB, free: 8.246 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0005368/0.9812, allocations: 77.69 kB / 0.8476 GB, free: 8.164 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001285/0.9825, allocations: 1.343 MB / 0.8489 GB, free: 6.805 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009256/0.9834, allocations: 0.8976 MB / 0.8498 GB, free: 5.918 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009398/0.9844, allocations: 0.4927 MB / 0.8503 GB, free: 5.418 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 9.337e-05/0.9845, allocations: 309.1 kB / 0.8506 GB, free: 5.113 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004514/0.989, allocations: 1.964 MB / 0.8525 GB, free: 3.145 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004785/0.9938, allocations: 2.269 MB / 0.8547 GB, free: 0.8008 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009448/1.003, allocations: 4.23 MB / 0.8589 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/1.003, allocations: 0 / 0.8589 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of matching and sorting (n=308) (initialization): time 0.01163/1.015, allocations: 4.958 MB / 0.8637 GB, free: 7.527 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.622e-05/1.015, allocations: 12.16 kB / 0.8637 GB, free: 7.516 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/1.015, allocations: 4 kB / 0.8637 GB, free: 7.512 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000855/1.016, allocations: 342 kB / 0.864 GB, free: 7.176 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004066/1.02, allocations: 0.7963 MB / 0.8648 GB, free: 6.406 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005444/1.025, allocations: 4.249 MB / 0.869 GB, free: 2.039 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003854/1.029, allocations: 0.5363 MB / 0.8695 GB, free: 1.5 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004319/1.03, allocations: 103.9 kB / 0.8696 GB, free: 1.398 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.001958/1.032, allocations: 0.9271 MB / 0.8705 GB, free: 500 kB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007216/1.032, allocations: 272.6 kB / 0.8708 GB, free: 224 kB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01295/1.045, allocations: 5.537 MB / 0.8762 GB, free: 10.63 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.416e-05/1.045, allocations: 28 kB / 0.8762 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/1.045, allocations: 4 kB / 0.8762 GB, free: 10.6 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.04e-05/1.045, allocations: 15.94 kB / 0.8762 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01908/1.065, allocations: 9.296 MB / 0.8853 GB, free: 1.254 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.428e-06/1.065, allocations: 0 / 0.8853 GB, free: 1.254 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00392/1.069, allocations: 0.7269 MB / 0.886 GB, free: 0.5508 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001074/1.07, allocations: 386.5 kB / 0.8864 GB, free: 168 kB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003625/1.07, allocations: 75.94 kB / 0.8864 GB, free: 92 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00659/1.077, allocations: 6.294 MB / 0.8926 GB, free: 9.512 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/1.077, allocations: 7.922 kB / 0.8926 GB, free: 9.504 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01781/1.094, allocations: 7.918 MB / 0.9003 GB, free: 1.508 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002478/1.097, allocations: 0.798 MB / 0.9011 GB, free: 0.6875 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007275/1.098, allocations: 59.84 kB / 0.9012 GB, free: 0.6289 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003017/1.101, allocations: 395.4 kB / 0.9015 GB, free: 248 kB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004124/1.101, allocations: 177.1 kB / 0.9017 GB, free: 72 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002818/1.101, allocations: 104.8 kB / 0.9018 GB, free: 15.97 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002414/1.104, allocations: 1.749 MB / 0.9035 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of sort global known variables: time 3.01e-07/1.104, allocations: 3.938 kB / 0.9035 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002935/1.107, allocations: 1.021 MB / 0.9045 GB, free: 13.18 MB / 0.6856 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.002464/1.109, allocations: 1.038 MB / 0.9055 GB, free: 12.6 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.01074/1.12, allocations: 4.807 MB / 0.9102 GB, free: 7.785 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/1.12, allocations: 3.094 kB / 0.9102 GB, free: 7.785 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.005994/1.126, allocations: 2.761 MB / 0.9129 GB, free: 5.039 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003018/1.129, allocations: 0.68 MB / 0.9136 GB, free: 4.41 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01434/1.143, allocations: 7.808 MB / 0.9212 GB, free: 12.58 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002166/1.146, allocations: 2.452 MB / 0.9236 GB, free: 10.09 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.003868/1.15, allocations: 1.096 MB / 0.9247 GB, free: 8.992 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001138/1.151, allocations: 262.3 kB / 0.9249 GB, free: 8.738 MB / 0.7012 GB Notification: Performance of SimCode: time 1.042e-06/1.151, allocations: 0 / 0.9249 GB, free: 8.738 MB / 0.7012 GB Notification: Performance of Templates: time 0.07635/1.227, allocations: 46.09 MB / 0.9699 GB, free: 11.11 MB / 0.7481 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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe 2>&1)