Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.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.Validation.Carnot_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") translateModel(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006966/0.006966, allocations: 102.4 kB / 15.73 MB, free: 6.477 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.001596/0.001596, allocations: 193.9 kB / 16.67 MB, free: 6.391 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 / 240.4 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9221/0.9221, allocations: 135.1 MB / 425.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 63.91 kB / 0.5857 GB, free: 3.316 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4548/0.4561, allocations: 80.92 MB / 0.6647 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.05821/0.5143, allocations: 61.2 MB / 0.7244 GB, free: 4.234 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01648/0.5308, allocations: 11.97 MB / 0.7361 GB, free: 8.227 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002084/0.533, allocations: 59.62 kB / 0.7362 GB, free: 8.168 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001935/0.5349, allocations: 0.6986 MB / 0.7369 GB, free: 7.465 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006013/0.541, allocations: 2.068 MB / 0.7389 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003196/0.5442, allocations: 1.212 MB / 0.7401 GB, free: 4.184 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004128/0.5483, allocations: 3.079 MB / 0.7431 GB, free: 1.098 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001501/0.5498, allocations: 1.115 MB / 0.7442 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002968/0.5528, allocations: 1.359 MB / 0.7455 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001258/0.5541, allocations: 0.8906 MB / 0.7464 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001753/0.5543, allocations: 116 kB / 0.7465 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002667/0.557, allocations: 1.462 MB / 0.7479 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002727/0.5572, allocations: 298.8 kB / 0.7482 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007509/0.558, allocations: 0.688 MB / 0.7489 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003198/0.5612, allocations: 2.32 MB / 0.7511 GB, free: 8.812 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.5612, allocations: 0 / 0.7511 GB, free: 8.812 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.927e-06/0.5612, allocations: 0 / 0.7511 GB, free: 8.812 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.878e-05/0.5613, allocations: 3.938 kB / 0.7511 GB, free: 8.809 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003004/0.5643, allocations: 1.73 MB / 0.7528 GB, free: 7.016 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.5643, allocations: 12.03 kB / 0.7528 GB, free: 7.004 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002008/0.5663, allocations: 414.6 kB / 0.7532 GB, free: 6.598 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002053/0.5684, allocations: 1.151 MB / 0.7544 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.337e-05/0.5685, allocations: 66 kB / 0.7544 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/0.5686, allocations: 76 kB / 0.7545 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001914/0.5705, allocations: 1.017 MB / 0.7555 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/0.5705, allocations: 0 / 0.7555 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.66e-05/0.5706, allocations: 32 kB / 0.7555 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.692e-05/0.5706, allocations: 20 kB / 0.7555 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002051/0.5727, allocations: 0.8663 MB / 0.7564 GB, free: 3.254 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.00639/0.5791, allocations: 5.216 MB / 0.7615 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003079/0.5822, allocations: 0.7899 MB / 0.7622 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006571/0.5829, allocations: 299.5 kB / 0.7625 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006744/0.5836, allocations: 0.9102 MB / 0.7634 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.818e-05/0.5836, allocations: 42.5 kB / 0.7635 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=44): time 2.204e-06/0.5836, allocations: 0 / 0.7635 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of matching and sorting (n=44): time 0.007591/0.5912, allocations: 1.854 MB / 0.7653 GB, free: 9.527 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.5913, allocations: 63.41 kB / 0.7653 GB, free: 9.453 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001565/0.5928, allocations: 1.072 MB / 0.7664 GB, free: 8.367 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.164e-05/0.5929, allocations: 37.7 kB / 0.7664 GB, free: 8.324 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004091/0.5933, allocations: 0.5273 MB / 0.7669 GB, free: 7.793 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001378/0.5935, allocations: 165.7 kB / 0.7671 GB, free: 7.629 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000233/0.5937, allocations: 134.2 kB / 0.7672 GB, free: 7.492 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.5938, allocations: 330 kB / 0.7675 GB, free: 7.164 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008367/0.5947, allocations: 311.2 kB / 0.7678 GB, free: 6.855 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00101/0.5957, allocations: 0.5252 MB / 0.7683 GB, free: 6.238 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001555/0.5973, allocations: 0.7184 MB / 0.769 GB, free: 5.453 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.255e-06/0.5973, allocations: 7.938 kB / 0.769 GB, free: 5.445 MB / 0.5919 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003369/0.6007, allocations: 1.145 MB / 0.7702 GB, free: 4.289 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.6007, allocations: 8 kB / 0.7702 GB, free: 4.281 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/0.6007, allocations: 4 kB / 0.7702 GB, free: 4.277 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001185/0.6019, allocations: 308.5 kB / 0.7705 GB, free: 3.973 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005417/0.6024, allocations: 131.8 kB / 0.7706 GB, free: 3.844 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001324/0.6038, allocations: 0.895 MB / 0.7715 GB, free: 2.926 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001104/0.6049, allocations: 151.2 kB / 0.7716 GB, free: 2.777 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.052e-05/0.605, allocations: 35.92 kB / 0.7716 GB, free: 2.742 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001137/0.6061, allocations: 0.5129 MB / 0.7721 GB, free: 2.223 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009912/0.6071, allocations: 0.5252 MB / 0.7727 GB, free: 1.605 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001519/0.6087, allocations: 0.7093 MB / 0.7734 GB, free: 0.8281 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.806e-06/0.6087, allocations: 0 / 0.7734 GB, free: 0.8281 MB / 0.5919 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.003236/0.6119, allocations: 1.133 MB / 0.7745 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.6119, allocations: 8 kB / 0.7745 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.612, allocations: 4 kB / 0.7745 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001004/0.613, allocations: 312.5 kB / 0.7748 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005346/0.6135, allocations: 127.8 kB / 0.7749 GB, free: 15.24 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001267/0.6148, allocations: 0.8958 MB / 0.7758 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0011/0.6159, allocations: 135.5 kB / 0.7759 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.375e-05/0.616, allocations: 31.98 kB / 0.7759 GB, free: 14.15 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (57): * Single equations (assignments): 56 * 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.000221/0.6162, allocations: 229.5 kB / 0.7761 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001732/0.6164, allocations: 110.7 kB / 0.7763 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003524/0.6199, allocations: 1.104 MB / 0.7773 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.672e-05/0.62, allocations: 8.078 kB / 0.7773 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.62, allocations: 4 kB / 0.7773 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.62, allocations: 3.984 kB / 0.7773 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004758/0.6247, allocations: 2.172 MB / 0.7795 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/0.6248, allocations: 4.031 kB / 0.7795 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002739/0.625, allocations: 71.83 kB / 0.7795 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009412/0.626, allocations: 296.5 kB / 0.7798 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.837e-05/0.626, allocations: 11.98 kB / 0.7798 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001305/0.6274, allocations: 0.9269 MB / 0.7807 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/0.6274, allocations: 7.938 kB / 0.7807 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00326/0.6306, allocations: 1.169 MB / 0.7819 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004907/0.6311, allocations: 263.5 kB / 0.7821 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001283/0.6313, allocations: 8 kB / 0.7821 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007853/0.6321, allocations: 71.91 kB / 0.7822 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.6322, allocations: 39.83 kB / 0.7823 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.269e-05/0.6323, allocations: 23.98 kB / 0.7823 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001231/0.6335, allocations: 0.759 MB / 0.783 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.6e-07/0.6335, allocations: 0 / 0.783 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001621/0.6351, allocations: 0.5654 MB / 0.7836 GB, free: 6.113 MB / 0.6075 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 (34): * Single equations (assignments): 29 * 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.0008351/0.636, allocations: 399 kB / 0.7839 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00305/0.639, allocations: 1.132 MB / 0.7851 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.6391, allocations: 0 / 0.7851 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008445/0.6399, allocations: 346.8 kB / 0.7854 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002034/0.6419, allocations: 0.5123 MB / 0.7859 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004837/0.6468, allocations: 2.016 MB / 0.7879 GB, free: 1.68 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006103/0.6474, allocations: 1.065 MB / 0.7889 GB, free: 0.582 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007596/0.6482, allocations: 220.8 kB / 0.7891 GB, free: 372 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000177/0.6484, allocations: 79.42 kB / 0.7892 GB, free: 292 kB / 0.6075 GB Notification: Performance of SimCode: time 5.81e-07/0.6484, allocations: 0 / 0.7892 GB, free: 292 kB / 0.6075 GB Notification: Performance of Templates: time 0.04021/0.6886, allocations: 25.29 MB / 0.8139 GB, free: 7.277 MB / 0.6387 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1)