Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.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_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y") translateModel(IDEAS.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005392/0.005392, allocations: 99.89 kB / 15.73 MB, free: 6.043 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.001154/0.001154, allocations: 194.9 kB / 16.68 MB, free: 5.961 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.322/1.322, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7923/0.7923, allocations: 135.1 MB / 425.7 MB, free: 4.059 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 62.91 kB / 0.5856 GB, free: 21.58 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.1701, allocations: 80.92 MB / 0.6646 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.Carnot_y): time 0.07452/0.2446, allocations: 75.17 MB / 0.738 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4498/0.6945, allocations: 15.13 MB / 0.7528 GB, free: 25.97 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003094/0.6976, allocations: 63.91 kB / 0.7529 GB, free: 25.97 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002554/0.7002, allocations: 0.8597 MB / 0.7537 GB, free: 25.97 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008022/0.7083, allocations: 2.727 MB / 0.7564 GB, free: 25.89 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004122/0.7124, allocations: 1.389 MB / 0.7577 GB, free: 25.87 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008859/0.7213, allocations: 4.403 MB / 0.762 GB, free: 25.86 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003578/0.7249, allocations: 1.449 MB / 0.7635 GB, free: 25.7 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00657/0.7315, allocations: 1.681 MB / 0.7651 GB, free: 25.6 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003696/0.7352, allocations: 1.22 MB / 0.7663 GB, free: 25.38 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004274/0.7357, allocations: 163.3 kB / 0.7664 GB, free: 25.38 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005798/0.7415, allocations: 1.41 MB / 0.7678 GB, free: 25.36 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007082/0.7422, allocations: 401.6 kB / 0.7682 GB, free: 25.3 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0022/0.7444, allocations: 0.9026 MB / 0.7691 GB, free: 25.06 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006596/0.751, allocations: 2.877 MB / 0.7719 GB, free: 24.71 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/0.751, allocations: 1.344 kB / 0.7719 GB, free: 24.71 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.084e-06/0.751, allocations: 3.938 kB / 0.7719 GB, free: 24.71 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.21e-05/0.7511, allocations: 0 / 0.7719 GB, free: 24.71 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.004341/0.7554, allocations: 2.092 MB / 0.7739 GB, free: 23.64 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.7555, allocations: 11.2 kB / 0.774 GB, free: 23.64 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008791/0.7564, allocations: 230 kB / 0.7742 GB, free: 23.56 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002659/0.759, allocations: 1.527 MB / 0.7757 GB, free: 23.14 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.505e-05/0.7591, allocations: 76.78 kB / 0.7757 GB, free: 23.14 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001712/0.7593, allocations: 104 kB / 0.7758 GB, free: 23.14 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002054/0.7614, allocations: 1.096 MB / 0.7769 GB, free: 23 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.338e-05/0.7614, allocations: 8.188 kB / 0.7769 GB, free: 23 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.633e-05/0.7615, allocations: 38.16 kB / 0.7769 GB, free: 23 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.166e-05/0.7616, allocations: 29.5 kB / 0.777 GB, free: 23 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001808/0.7634, allocations: 0.8911 MB / 0.7778 GB, free: 22.98 MB / 0.5762 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.005332/0.7687, allocations: 4.913 MB / 0.7826 GB, free: 20.05 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001371/0.7701, allocations: 0.6091 MB / 0.7832 GB, free: 19.84 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006503/0.7708, allocations: 358.1 kB / 0.7836 GB, free: 19.73 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000466/0.7712, allocations: 0.8262 MB / 0.7844 GB, free: 18.78 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/0.7713, allocations: 46.08 kB / 0.7844 GB, free: 18.73 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=61): time 2.555e-06/0.7713, allocations: 0 / 0.7844 GB, free: 18.73 MB / 0.5762 GB Notification: Performance of matching and sorting (n=61): time 0.006545/0.7778, allocations: 1.689 MB / 0.7861 GB, free: 18.23 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.024e-05/0.7779, allocations: 64.28 kB / 0.7861 GB, free: 18.16 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001657/0.7796, allocations: 1.233 MB / 0.7873 GB, free: 17.61 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.904e-05/0.7797, allocations: 39.73 kB / 0.7874 GB, free: 17.57 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003839/0.78, allocations: 0.6031 MB / 0.788 GB, free: 17.04 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001747/0.7802, allocations: 218.5 kB / 0.7882 GB, free: 16.86 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002086/0.7804, allocations: 155 kB / 0.7883 GB, free: 16.76 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.597e-05/0.7805, allocations: 328.8 kB / 0.7886 GB, free: 16.44 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005938/0.7811, allocations: 294.2 kB / 0.7889 GB, free: 16.29 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006924/0.7818, allocations: 0.4928 MB / 0.7894 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001234/0.783, allocations: 0.7067 MB / 0.7901 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/0.7831, allocations: 9.406 kB / 0.7901 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004097/0.7872, allocations: 1.265 MB / 0.7913 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.7872, allocations: 8.5 kB / 0.7913 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.7872, allocations: 6.922 kB / 0.7914 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005523/0.7878, allocations: 140.7 kB / 0.7915 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005582/0.7883, allocations: 159.5 kB / 0.7916 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006534/0.789, allocations: 0.707 MB / 0.7923 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001109/0.7901, allocations: 115.7 kB / 0.7924 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.924e-05/0.7902, allocations: 36.58 kB / 0.7925 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009634/0.7912, allocations: 0.5515 MB / 0.793 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006495/0.7918, allocations: 0.4915 MB / 0.7935 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00112/0.793, allocations: 0.7017 MB / 0.7942 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.386e-06/0.793, allocations: 2.938 kB / 0.7942 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.003989/0.797, allocations: 1.264 MB / 0.7954 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.797, allocations: 5.469 kB / 0.7954 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.797, allocations: 6.891 kB / 0.7954 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00043/0.7974, allocations: 139.4 kB / 0.7956 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005367/0.798, allocations: 168.8 kB / 0.7957 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005973/0.7986, allocations: 0.6957 MB / 0.7964 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00113/0.7997, allocations: 99.16 kB / 0.7965 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.896e-05/0.7998, allocations: 36.56 kB / 0.7965 GB, free: 11.47 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (78): * Single equations (assignments): 77 * 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,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0002268/0.8, allocations: 234.5 kB / 0.7968 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002172/0.8003, allocations: 138.8 kB / 0.7969 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004049/0.8043, allocations: 1.264 MB / 0.7981 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.84e-05/0.8043, allocations: 9.594 kB / 0.7981 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.8044, allocations: 2.812 kB / 0.7981 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003418/0.8078, allocations: 1.103 MB / 0.7992 GB, free: 9.84 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00597/0.8138, allocations: 2.62 MB / 0.8018 GB, free: 8.051 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.8138, allocations: 2.531 kB / 0.8018 GB, free: 8.051 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004405/0.8142, allocations: 115.1 kB / 0.8019 GB, free: 8.02 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004182/0.8147, allocations: 126.8 kB / 0.802 GB, free: 7.961 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.689e-05/0.8147, allocations: 20.67 kB / 0.802 GB, free: 7.949 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004119/0.8188, allocations: 2.631 MB / 0.8046 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.8189, allocations: 2.75 kB / 0.8046 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004551/0.8234, allocations: 1.699 MB / 0.8063 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005997/0.824, allocations: 309.9 kB / 0.8066 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001649/0.8242, allocations: 16.06 kB / 0.8066 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007245/0.8249, allocations: 53.16 kB / 0.8066 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/0.8251, allocations: 57.86 kB / 0.8067 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.96e-05/0.8251, allocations: 38.08 kB / 0.8067 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001134/0.8263, allocations: 0.8871 MB / 0.8076 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8263, allocations: 0 / 0.8076 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002548/0.8288, allocations: 0.7206 MB / 0.8083 GB, free: 3.508 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * 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 (55): * Single equations (assignments): 50 * 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,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001156/0.83, allocations: 465.2 kB / 0.8087 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002301/0.8323, allocations: 1.118 MB / 0.8098 GB, free: 1.961 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.8323, allocations: 4 kB / 0.8098 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001208/0.8335, allocations: 0.5682 MB / 0.8104 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002826/0.8364, allocations: 0.8006 MB / 0.8112 GB, free: 0.5938 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003592/0.84, allocations: 2.265 MB / 0.8134 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007413/0.8407, allocations: 1.183 MB / 0.8145 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001009/0.8418, allocations: 307 kB / 0.8148 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002267/0.842, allocations: 107.3 kB / 0.8149 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of SimCode: time 5.51e-07/0.842, allocations: 0 / 0.8149 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of Templates: time 0.05675/0.8988, allocations: 32.42 MB / 0.8466 GB, free: 12.6 MB / 0.6231 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1)