Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.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_LowTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") translateModel(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001179/0.001184, allocations: 105.1 kB / 16.41 MB, free: 6.445 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.001187/0.001187, allocations: 187 kB / 17.34 MB, free: 5.742 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.24/1.24, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7255/0.7255, allocations: 135.1 MB / 426.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 64.75 kB / 0.5863 GB, free: 21.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1583, allocations: 80.93 MB / 0.6653 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.06274/0.2211, allocations: 61.24 MB / 0.7251 GB, free: 8.324 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01856/0.2397, allocations: 12 MB / 0.7368 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00261/0.2424, allocations: 63.62 kB / 0.7369 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002274/0.2447, allocations: 0.6791 MB / 0.7376 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006075/0.2508, allocations: 1.967 MB / 0.7395 GB, free: 9.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003441/0.2543, allocations: 1.207 MB / 0.7407 GB, free: 8.375 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004734/0.259, allocations: 3.099 MB / 0.7437 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001907/0.261, allocations: 1.112 MB / 0.7448 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003362/0.2643, allocations: 1.374 MB / 0.7461 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001853/0.2662, allocations: 0.9022 MB / 0.747 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004197/0.2667, allocations: 119.9 kB / 0.7471 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003268/0.2699, allocations: 1.439 MB / 0.7485 GB, free: 288 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.3305/0.6004, allocations: 296.2 kB / 0.7488 GB, free: 23.3 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001307/0.6018, allocations: 0.697 MB / 0.7495 GB, free: 23.3 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004212/0.606, allocations: 2.323 MB / 0.7518 GB, free: 23.25 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.606, allocations: 0 / 0.7518 GB, free: 23.25 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.915e-06/0.6061, allocations: 1.906 kB / 0.7518 GB, free: 23.25 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.808e-05/0.6061, allocations: 2.188 kB / 0.7518 GB, free: 23.25 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.002967/0.6091, allocations: 1.744 MB / 0.7535 GB, free: 22.39 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.6091, allocations: 10.92 kB / 0.7535 GB, free: 22.39 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001971/0.6111, allocations: 411.1 kB / 0.7539 GB, free: 22.32 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001924/0.613, allocations: 1.166 MB / 0.755 GB, free: 21.94 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.145e-05/0.6131, allocations: 63.34 kB / 0.7551 GB, free: 21.94 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001089/0.6132, allocations: 78.84 kB / 0.7551 GB, free: 21.94 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002066/0.6153, allocations: 1.016 MB / 0.7561 GB, free: 21.75 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.461e-05/0.6153, allocations: 7.312 kB / 0.7561 GB, free: 21.75 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.718e-05/0.6154, allocations: 36.83 kB / 0.7562 GB, free: 21.75 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.134e-05/0.6154, allocations: 18.69 kB / 0.7562 GB, free: 21.75 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002288/0.6177, allocations: 0.8898 MB / 0.7571 GB, free: 21.73 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.00645/0.6242, allocations: 5.226 MB / 0.7622 GB, free: 18.64 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003448/0.6276, allocations: 0.7915 MB / 0.7629 GB, free: 18.59 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007832/0.6284, allocations: 312.6 kB / 0.7632 GB, free: 18.58 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004791/0.6289, allocations: 0.9008 MB / 0.7641 GB, free: 17.55 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.629, allocations: 44.55 kB / 0.7642 GB, free: 17.51 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=44): time 2.305e-06/0.629, allocations: 4 kB / 0.7642 GB, free: 17.51 MB / 0.5762 GB Notification: Performance of matching and sorting (n=44): time 0.008031/0.637, allocations: 1.901 MB / 0.766 GB, free: 17.24 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.578e-05/0.6371, allocations: 56.78 kB / 0.7661 GB, free: 17.18 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001528/0.6386, allocations: 1.08 MB / 0.7671 GB, free: 17.03 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.299e-05/0.6387, allocations: 36.83 kB / 0.7672 GB, free: 17 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000347/0.639, allocations: 0.5395 MB / 0.7677 GB, free: 16.79 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001144/0.6391, allocations: 151.1 kB / 0.7678 GB, free: 16.7 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002164/0.6394, allocations: 139.9 kB / 0.768 GB, free: 16.68 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.333e-05/0.6394, allocations: 329.7 kB / 0.7683 GB, free: 16.37 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008385/0.6403, allocations: 324.6 kB / 0.7686 GB, free: 16.36 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009832/0.6413, allocations: 0.5471 MB / 0.7691 GB, free: 16.08 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001547/0.6428, allocations: 0.7496 MB / 0.7699 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.6428, allocations: 1.188 kB / 0.7699 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003356/0.6462, allocations: 1.172 MB / 0.771 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.6462, allocations: 7.156 kB / 0.771 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.6462, allocations: 8.375 kB / 0.771 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001077/0.6473, allocations: 314.4 kB / 0.7713 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005271/0.6479, allocations: 130 kB / 0.7714 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001172/0.649, allocations: 0.9049 MB / 0.7723 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001202/0.6503, allocations: 159.4 kB / 0.7725 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.345e-05/0.6503, allocations: 31.92 kB / 0.7725 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001162/0.6515, allocations: 0.5254 MB / 0.773 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009244/0.6524, allocations: 0.5475 MB / 0.7736 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001501/0.654, allocations: 0.7437 MB / 0.7743 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.957e-06/0.654, allocations: 1.094 kB / 0.7743 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of matching and sorting (n=72) (initialization_lambda0): time 0.003185/0.6572, allocations: 1.156 MB / 0.7754 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.6572, allocations: 7.25 kB / 0.7754 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.6572, allocations: 6.562 kB / 0.7754 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009145/0.6581, allocations: 296.8 kB / 0.7757 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005132/0.6586, allocations: 136.6 kB / 0.7758 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001097/0.6597, allocations: 0.896 MB / 0.7767 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001205/0.661, allocations: 150.5 kB / 0.7769 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.626e-05/0.661, allocations: 34.98 kB / 0.7769 GB, free: 13.85 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (58): * Single equations (assignments): 57 * 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.0002093/0.6613, allocations: 216.5 kB / 0.7771 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001729/0.6614, allocations: 117.2 kB / 0.7772 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003452/0.6649, allocations: 1.122 MB / 0.7783 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.464e-05/0.6649, allocations: 4.969 kB / 0.7783 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.6649, allocations: 0 / 0.7783 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.6649, allocations: 3.906 kB / 0.7783 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00454/0.6695, allocations: 2.21 MB / 0.7805 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.894e-06/0.6695, allocations: 3.25 kB / 0.7805 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002754/0.6698, allocations: 70.73 kB / 0.7805 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008279/0.6706, allocations: 291.8 kB / 0.7808 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.643e-05/0.6707, allocations: 22.06 kB / 0.7808 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001125/0.6718, allocations: 0.9211 MB / 0.7817 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.6718, allocations: 8.094 kB / 0.7817 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00312/0.6749, allocations: 1.194 MB / 0.7829 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003671/0.6753, allocations: 265.3 kB / 0.7832 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001261/0.6755, allocations: 14.88 kB / 0.7832 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007296/0.6762, allocations: 74.83 kB / 0.7832 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.334e-05/0.6763, allocations: 38.44 kB / 0.7833 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.731e-05/0.6763, allocations: 28.7 kB / 0.7833 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001006/0.6773, allocations: 0.7526 MB / 0.784 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6774, allocations: 3.656 kB / 0.784 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001618/0.679, allocations: 0.579 MB / 0.7846 GB, free: 11.83 MB / 0.5762 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.0007322/0.6797, allocations: 393.5 kB / 0.785 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00297/0.6827, allocations: 1.173 MB / 0.7861 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.6827, allocations: 1.125 kB / 0.7861 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008207/0.6835, allocations: 361.1 kB / 0.7865 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002191/0.6857, allocations: 0.5144 MB / 0.787 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004534/0.6903, allocations: 2.068 MB / 0.789 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003941/0.6907, allocations: 1.06 MB / 0.79 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002378/0.6909, allocations: 87.2 kB / 0.7901 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of SimCode: time 5.61e-07/0.691, allocations: 0 / 0.7901 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of Templates: time 0.02463/0.7156, allocations: 24.57 MB / 0.8141 GB, free: 10.26 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe 2>&1)