Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.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.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon") translateModel(IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001327/0.001332, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001369/0.001369, allocations: 190.2 kB / 16.25 MB, free: 6.637 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.369/1.369, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9306/0.9306, allocations: 135.6 MB / 425.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001849/0.001849, allocations: 68.73 kB / 0.5054 GB, free: 5.203 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.1608, allocations: 81.02 MB / 0.5845 GB, free: 4.324 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.3117/0.4725, allocations: 60.66 MB / 0.6437 GB, free: 17.13 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01253/0.4851, allocations: 11.88 MB / 0.6553 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001922/0.4871, allocations: 57.75 kB / 0.6554 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001569/0.4886, allocations: 0.5782 MB / 0.656 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004477/0.4932, allocations: 1.821 MB / 0.6577 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002572/0.4958, allocations: 1.093 MB / 0.6588 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003577/0.4993, allocations: 3.11 MB / 0.6618 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001436/0.5008, allocations: 1.104 MB / 0.6629 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002826/0.5036, allocations: 1.345 MB / 0.6642 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001228/0.5049, allocations: 0.9197 MB / 0.6651 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000177/0.5051, allocations: 116 kB / 0.6652 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002378/0.5074, allocations: 1.45 MB / 0.6667 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002254/0.5077, allocations: 295.3 kB / 0.6669 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006346/0.5083, allocations: 0.6936 MB / 0.6676 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003425/0.5117, allocations: 2.296 MB / 0.6699 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.5118, allocations: 0 / 0.6699 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.484e-06/0.5118, allocations: 0.5156 kB / 0.6699 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.723e-05/0.5118, allocations: 1.219 kB / 0.6699 GB, free: 1.383 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003547/0.5154, allocations: 1.724 MB / 0.6715 GB, free: 208 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.5154, allocations: 8.812 kB / 0.6715 GB, free: 208 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002175/0.5176, allocations: 410 kB / 0.6719 GB, free: 120 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002282/0.5199, allocations: 1.123 MB / 0.673 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003748/0.5203, allocations: 119.3 kB / 0.6732 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001232/0.5204, allocations: 79.12 kB / 0.6732 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002206/0.5226, allocations: 0.9802 MB / 0.6742 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.377e-05/0.5227, allocations: 4.812 kB / 0.6742 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.469e-05/0.5228, allocations: 31.77 kB / 0.6742 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.971e-05/0.5228, allocations: 19.44 kB / 0.6742 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002284/0.5251, allocations: 0.8597 MB / 0.6751 GB, free: 14.59 MB / 0.5137 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.007154/0.5322, allocations: 4.842 MB / 0.6798 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003426/0.5357, allocations: 0.7987 MB / 0.6806 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007557/0.5365, allocations: 302.7 kB / 0.6809 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000782/0.5372, allocations: 0.8997 MB / 0.6818 GB, free: 9.555 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.078e-05/0.5373, allocations: 46.14 kB / 0.6818 GB, free: 9.504 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 2.255e-06/0.5373, allocations: 0 / 0.6818 GB, free: 9.504 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.008651/0.546, allocations: 1.904 MB / 0.6837 GB, free: 9.016 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.415e-05/0.546, allocations: 60.47 kB / 0.6837 GB, free: 8.949 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001864/0.5479, allocations: 1.051 MB / 0.6847 GB, free: 8.516 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001009/0.548, allocations: 37.8 kB / 0.6848 GB, free: 8.477 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005201/0.5485, allocations: 0.5265 MB / 0.6853 GB, free: 8.059 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001807/0.5487, allocations: 153.3 kB / 0.6854 GB, free: 7.938 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002502/0.549, allocations: 127.8 kB / 0.6856 GB, free: 7.875 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002035/0.5492, allocations: 326.1 kB / 0.6859 GB, free: 7.562 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008804/0.5501, allocations: 312.9 kB / 0.6862 GB, free: 7.461 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001071/0.5512, allocations: 0.5043 MB / 0.6867 GB, free: 7.121 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001657/0.5528, allocations: 0.6909 MB / 0.6873 GB, free: 6.754 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.5529, allocations: 0 / 0.6873 GB, free: 6.754 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002792/0.5557, allocations: 0.9777 MB / 0.6883 GB, free: 6.398 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.5557, allocations: 11.06 kB / 0.6883 GB, free: 6.395 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.5557, allocations: 4.266 kB / 0.6883 GB, free: 6.395 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001331/0.557, allocations: 320.1 kB / 0.6886 GB, free: 6.312 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000532/0.5576, allocations: 111.2 kB / 0.6887 GB, free: 6.309 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0015/0.5591, allocations: 0.9222 MB / 0.6896 GB, free: 5.641 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001493/0.5606, allocations: 170.5 kB / 0.6898 GB, free: 5.59 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.122e-05/0.5607, allocations: 29.31 kB / 0.6898 GB, free: 5.586 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001313/0.562, allocations: 0.5146 MB / 0.6903 GB, free: 5.336 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001092/0.5631, allocations: 0.5025 MB / 0.6908 GB, free: 4.996 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001657/0.5648, allocations: 0.6664 MB / 0.6915 GB, free: 4.645 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.088e-06/0.5648, allocations: 1.188 kB / 0.6915 GB, free: 4.645 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.002822/0.5676, allocations: 0.9847 MB / 0.6924 GB, free: 4.277 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.5676, allocations: 10.25 kB / 0.6924 GB, free: 4.277 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/0.5677, allocations: 4.219 kB / 0.6924 GB, free: 4.277 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001146/0.5688, allocations: 313 kB / 0.6927 GB, free: 4.195 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005142/0.5693, allocations: 118.5 kB / 0.6928 GB, free: 4.184 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001516/0.5709, allocations: 0.9077 MB / 0.6937 GB, free: 3.527 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001445/0.5723, allocations: 157.8 kB / 0.6939 GB, free: 3.492 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.046e-05/0.5724, allocations: 28.3 kB / 0.6939 GB, free: 3.488 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003053/0.5727, allocations: 216.7 kB / 0.6941 GB, free: 3.281 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001955/0.5729, allocations: 107.3 kB / 0.6942 GB, free: 3.227 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003788/0.5767, allocations: 1.098 MB / 0.6953 GB, free: 2.852 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.333e-05/0.5767, allocations: 12.83 kB / 0.6953 GB, free: 2.848 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/0.5768, allocations: 1.094 kB / 0.6953 GB, free: 2.848 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.5768, allocations: 3.938 kB / 0.6953 GB, free: 2.844 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00525/0.582, allocations: 2.163 MB / 0.6974 GB, free: 1.844 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/0.582, allocations: 2.281 kB / 0.6974 GB, free: 1.844 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002674/0.5823, allocations: 65.47 kB / 0.6975 GB, free: 1.836 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000963/0.5833, allocations: 299.6 kB / 0.6978 GB, free: 1.758 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.185e-05/0.5833, allocations: 16.5 kB / 0.6978 GB, free: 1.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001487/0.5848, allocations: 0.9477 MB / 0.6987 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.5848, allocations: 1.844 kB / 0.6987 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003545/0.5884, allocations: 1.164 MB / 0.6998 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006331/0.589, allocations: 264.3 kB / 0.7001 GB, free: 360 kB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002888/0.5893, allocations: 8.438 kB / 0.7001 GB, free: 356 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001057/0.5904, allocations: 101.4 kB / 0.7002 GB, free: 336 kB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.836e-05/0.5905, allocations: 38.61 kB / 0.7002 GB, free: 324 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.467e-05/0.5906, allocations: 23.11 kB / 0.7003 GB, free: 320 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001487/0.5921, allocations: 0.7399 MB / 0.701 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.31e-07/0.5921, allocations: 5.156 kB / 0.701 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001933/0.594, allocations: 0.557 MB / 0.7015 GB, free: 15.88 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008188/0.5948, allocations: 386.2 kB / 0.7019 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003177/0.598, allocations: 1.113 MB / 0.703 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.209e-06/0.5981, allocations: 5.312 kB / 0.703 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008819/0.5989, allocations: 345.8 kB / 0.7033 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002384/0.6013, allocations: 0.5052 MB / 0.7038 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006032/0.6074, allocations: 2.426 MB / 0.7062 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007469/0.6082, allocations: 1.064 MB / 0.7072 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001055/0.6092, allocations: 217.8 kB / 0.7074 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001836/0.6094, allocations: 75.86 kB / 0.7075 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of SimCode: time 6.12e-07/0.6094, allocations: 0 / 0.7075 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of Templates: time 0.04717/0.6566, allocations: 24.54 MB / 0.7315 GB, free: 5.328 MB / 0.545 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.pipe 2>&1)