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.001465/0.001465, allocations: 110.8 kB / 15.99 MB, free: 6.348 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.001407/0.001407, allocations: 191.3 kB / 16.91 MB, free: 6.188 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.318/1.318, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8258/0.8258, allocations: 135.2 MB / 425.9 MB, free: 4.258 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 55.91 kB / 0.5055 GB, free: 8.672 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3255/0.3274, allocations: 80.92 MB / 0.5846 GB, free: 25.06 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.Carnot_y): time 0.06408/0.3916, allocations: 74.53 MB / 0.6573 GB, free: 32 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02039/0.412, allocations: 15.03 MB / 0.672 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002298/0.4143, allocations: 63.56 kB / 0.6721 GB, free: 0.9023 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002038/0.4164, allocations: 0.7151 MB / 0.6728 GB, free: 188 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006846/0.4233, allocations: 2.407 MB / 0.6751 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003276/0.4266, allocations: 1.281 MB / 0.6764 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.006185/0.4328, allocations: 4.439 MB / 0.6807 GB, free: 8.051 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002256/0.435, allocations: 1.441 MB / 0.6821 GB, free: 6.57 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004235/0.4393, allocations: 1.639 MB / 0.6837 GB, free: 4.93 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001997/0.4413, allocations: 1.256 MB / 0.6849 GB, free: 3.668 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002637/0.4416, allocations: 167.9 kB / 0.6851 GB, free: 3.504 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002862/0.4445, allocations: 1.419 MB / 0.6865 GB, free: 2.082 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004129/0.4449, allocations: 398.6 kB / 0.6869 GB, free: 1.691 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001173/0.4461, allocations: 0.9022 MB / 0.6878 GB, free: 0.7852 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003084/0.4492, allocations: 2.249 MB / 0.6899 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.4492, allocations: 4 kB / 0.69 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.503e-06/0.4492, allocations: 0 / 0.69 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.253e-05/0.4492, allocations: 0 / 0.69 GB, free: 14.53 MB / 0.5294 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.003886/0.4531, allocations: 2.095 MB / 0.692 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.4532, allocations: 9.109 kB / 0.692 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008485/0.454, allocations: 234.8 kB / 0.6922 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002494/0.4565, allocations: 1.485 MB / 0.6937 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.118e-05/0.4566, allocations: 74 kB / 0.6938 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000164/0.4568, allocations: 116 kB / 0.6939 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002048/0.4588, allocations: 1.1 MB / 0.6949 GB, free: 9.266 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.636e-05/0.4589, allocations: 0 / 0.6949 GB, free: 9.266 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.863e-05/0.459, allocations: 36 kB / 0.695 GB, free: 9.23 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.826e-05/0.459, allocations: 24 kB / 0.695 GB, free: 9.207 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001868/0.4609, allocations: 0.8978 MB / 0.6959 GB, free: 8.312 MB / 0.5294 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.006192/0.4671, allocations: 4.907 MB / 0.7007 GB, free: 3.117 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001429/0.4685, allocations: 0.6127 MB / 0.7013 GB, free: 2.5 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006926/0.4692, allocations: 342.3 kB / 0.7016 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007495/0.47, allocations: 0.8316 MB / 0.7024 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.63e-05/0.47, allocations: 39.12 kB / 0.7024 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=61): time 2.865e-06/0.47, allocations: 0 / 0.7024 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of matching and sorting (n=61): time 0.006892/0.4769, allocations: 1.693 MB / 0.7041 GB, free: 15.38 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.582e-05/0.477, allocations: 59.97 kB / 0.7041 GB, free: 15.3 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001772/0.4788, allocations: 1.218 MB / 0.7053 GB, free: 14.07 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001065/0.4789, allocations: 37.7 kB / 0.7054 GB, free: 14.03 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005598/0.4795, allocations: 0.6143 MB / 0.706 GB, free: 13.41 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002242/0.4797, allocations: 205 kB / 0.7062 GB, free: 13.2 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002506/0.48, allocations: 162.5 kB / 0.7063 GB, free: 13.04 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.4801, allocations: 337.9 kB / 0.7066 GB, free: 12.7 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006617/0.4808, allocations: 288.7 kB / 0.7069 GB, free: 12.41 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008661/0.4817, allocations: 0.5006 MB / 0.7074 GB, free: 11.83 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001416/0.4831, allocations: 0.705 MB / 0.7081 GB, free: 11.08 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.4831, allocations: 4 kB / 0.7081 GB, free: 11.07 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004431/0.4876, allocations: 1.273 MB / 0.7093 GB, free: 9.789 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.4876, allocations: 8 kB / 0.7094 GB, free: 9.781 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.4876, allocations: 4 kB / 0.7094 GB, free: 9.777 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005695/0.4882, allocations: 149 kB / 0.7095 GB, free: 9.629 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000588/0.4888, allocations: 155.8 kB / 0.7096 GB, free: 9.477 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008792/0.4897, allocations: 0.7045 MB / 0.7103 GB, free: 8.746 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00113/0.4908, allocations: 149.3 kB / 0.7105 GB, free: 8.602 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.857e-05/0.4909, allocations: 35.98 kB / 0.7105 GB, free: 8.566 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001073/0.492, allocations: 0.5574 MB / 0.7111 GB, free: 8.008 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008284/0.4928, allocations: 0.4889 MB / 0.7115 GB, free: 7.441 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001362/0.4942, allocations: 0.705 MB / 0.7122 GB, free: 6.684 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.785e-06/0.4942, allocations: 4 kB / 0.7122 GB, free: 6.68 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004494/0.4987, allocations: 1.265 MB / 0.7135 GB, free: 5.402 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.4987, allocations: 4 kB / 0.7135 GB, free: 5.398 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.4987, allocations: 7.938 kB / 0.7135 GB, free: 5.391 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004829/0.4992, allocations: 145.1 kB / 0.7136 GB, free: 5.246 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005668/0.4998, allocations: 155.7 kB / 0.7138 GB, free: 5.094 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000806/0.5006, allocations: 0.7034 MB / 0.7144 GB, free: 4.367 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001106/0.5017, allocations: 135.5 kB / 0.7146 GB, free: 4.234 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.279e-05/0.5018, allocations: 32 kB / 0.7146 GB, free: 4.203 MB / 0.545 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.0002772/0.5021, allocations: 236.5 kB / 0.7148 GB, free: 3.965 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002402/0.5023, allocations: 134.3 kB / 0.715 GB, free: 3.832 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00456/0.5069, allocations: 1.256 MB / 0.7162 GB, free: 2.562 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.086e-05/0.5069, allocations: 8 kB / 0.7162 GB, free: 2.555 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.507, allocations: 0 / 0.7162 GB, free: 2.555 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003984/0.5109, allocations: 1.107 MB / 0.7173 GB, free: 1.41 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006804/0.5178, allocations: 2.602 MB / 0.7198 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.127e-06/0.5178, allocations: 4 kB / 0.7198 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004809/0.5183, allocations: 120.2 kB / 0.7199 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004719/0.5188, allocations: 132.7 kB / 0.7201 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.978e-05/0.5188, allocations: 16 kB / 0.7201 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005008/0.5238, allocations: 2.637 MB / 0.7227 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.5239, allocations: 4 kB / 0.7227 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00526/0.5291, allocations: 1.703 MB / 0.7243 GB, free: 9.863 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007307/0.5299, allocations: 307.3 kB / 0.7246 GB, free: 9.543 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003102/0.5302, allocations: 19.92 kB / 0.7246 GB, free: 9.523 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001039/0.5312, allocations: 91.88 kB / 0.7247 GB, free: 9.434 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001457/0.5314, allocations: 52.31 kB / 0.7248 GB, free: 9.383 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.87e-05/0.5315, allocations: 31.92 kB / 0.7248 GB, free: 9.352 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001552/0.5331, allocations: 0.874 MB / 0.7257 GB, free: 8.477 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.31e-07/0.5331, allocations: 0 / 0.7257 GB, free: 8.477 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002014/0.5351, allocations: 0.7135 MB / 0.7263 GB, free: 7.762 MB / 0.5606 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.0009171/0.536, allocations: 444.8 kB / 0.7268 GB, free: 7.328 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002749/0.5388, allocations: 1.156 MB / 0.7279 GB, free: 6.168 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.5388, allocations: 0 / 0.7279 GB, free: 6.168 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00145/0.5402, allocations: 0.5603 MB / 0.7285 GB, free: 5.598 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003399/0.5437, allocations: 0.813 MB / 0.7292 GB, free: 4.84 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004232/0.5479, allocations: 2.804 MB / 0.732 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000817/0.5487, allocations: 1.16 MB / 0.7331 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003328/0.5491, allocations: 119.4 kB / 0.7332 GB, free: 0.6484 MB / 0.5606 GB Notification: Performance of SimCode: time 6.52e-07/0.5491, allocations: 0 / 0.7332 GB, free: 0.6484 MB / 0.5606 GB Notification: Performance of Templates: time 0.2687/0.8178, allocations: 30.94 MB / 0.7634 GB, free: 149.9 MB / 0.5762 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)