Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") translateModel(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 108.7 kB / 16.41 MB, free: 6.492 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.001573/0.001573, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.357/1.357, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.775/0.775, allocations: 132.2 MB / 423.4 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002493/0.002493, allocations: 63.28 kB / 0.582 GB, free: 23.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.214/0.2165, allocations: 80.22 MB / 0.6603 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.05724/0.2738, allocations: 61.19 MB / 0.7201 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01642/0.2902, allocations: 11.97 MB / 0.7318 GB, free: 0.8477 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00228/0.2926, allocations: 63.56 kB / 0.7319 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002231/0.2948, allocations: 0.6791 MB / 0.7325 GB, free: 104 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005841/0.3007, allocations: 1.967 MB / 0.7344 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003206/0.3039, allocations: 1.214 MB / 0.7356 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004466/0.3084, allocations: 3.079 MB / 0.7386 GB, free: 9.836 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001729/0.3102, allocations: 1.131 MB / 0.7397 GB, free: 8.672 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003352/0.3135, allocations: 1.36 MB / 0.7411 GB, free: 7.309 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001545/0.3151, allocations: 0.9101 MB / 0.7419 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002202/0.3153, allocations: 120 kB / 0.7421 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003087/0.3184, allocations: 1.447 MB / 0.7435 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004098/0.3189, allocations: 298.9 kB / 0.7438 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001004/0.3199, allocations: 0.7075 MB / 0.7445 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004587/0.3245, allocations: 2.333 MB / 0.7467 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.3245, allocations: 0 / 0.7467 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.274e-06/0.3245, allocations: 0 / 0.7467 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.256e-05/0.3245, allocations: 0 / 0.7467 GB, free: 1.484 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.3242/0.6487, allocations: 1.731 MB / 0.7484 GB, free: 86.46 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/0.6488, allocations: 9.219 kB / 0.7484 GB, free: 86.46 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002815/0.6516, allocations: 458.5 kB / 0.7489 GB, free: 86.39 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002466/0.6541, allocations: 1.171 MB / 0.75 GB, free: 86.01 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.987e-05/0.6542, allocations: 61.75 kB / 0.7501 GB, free: 86.01 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001417/0.6543, allocations: 81.47 kB / 0.7501 GB, free: 86.01 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002312/0.6566, allocations: 1.004 MB / 0.7511 GB, free: 85.75 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.172e-05/0.6567, allocations: 9.25 kB / 0.7511 GB, free: 85.75 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.073e-05/0.6568, allocations: 30.88 kB / 0.7512 GB, free: 85.72 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.51e-05/0.6568, allocations: 18.34 kB / 0.7512 GB, free: 85.72 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002579/0.6594, allocations: 0.9378 MB / 0.7521 GB, free: 85.43 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.006317/0.6657, allocations: 4.664 MB / 0.7567 GB, free: 82.07 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004224/0.67, allocations: 0.9828 MB / 0.7576 GB, free: 81.81 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001166/0.6711, allocations: 417.3 kB / 0.758 GB, free: 81.68 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008164/0.672, allocations: 1.019 MB / 0.759 GB, free: 80.55 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/0.672, allocations: 41.44 kB / 0.759 GB, free: 80.5 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=53): time 2.695e-06/0.672, allocations: 0.8438 kB / 0.759 GB, free: 80.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=53): time 0.01031/0.6823, allocations: 2.163 MB / 0.7612 GB, free: 79.95 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.991e-05/0.6824, allocations: 62 kB / 0.7612 GB, free: 79.88 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001514/0.6839, allocations: 0.9462 MB / 0.7621 GB, free: 79.48 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.000113/0.6841, allocations: 39.02 kB / 0.7622 GB, free: 79.44 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003623/0.6844, allocations: 0.4988 MB / 0.7627 GB, free: 79.05 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000168/0.6846, allocations: 185.1 kB / 0.7628 GB, free: 78.91 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002242/0.6848, allocations: 129.1 kB / 0.763 GB, free: 78.84 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.459e-05/0.6849, allocations: 327 kB / 0.7633 GB, free: 78.53 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001067/0.686, allocations: 359.1 kB / 0.7636 GB, free: 78.41 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00113/0.6871, allocations: 0.5128 MB / 0.7641 GB, free: 78.12 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001965/0.6891, allocations: 0.7539 MB / 0.7649 GB, free: 77.79 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.75e-06/0.6891, allocations: 1.25 kB / 0.7649 GB, free: 77.79 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003075/0.6922, allocations: 1.058 MB / 0.7659 GB, free: 77.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.6922, allocations: 6.078 kB / 0.7659 GB, free: 77.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.6923, allocations: 2.75 kB / 0.7659 GB, free: 77.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001271/0.6935, allocations: 301.4 kB / 0.7662 GB, free: 77.33 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000656/0.6942, allocations: 137 kB / 0.7663 GB, free: 77.31 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001383/0.6956, allocations: 0.8951 MB / 0.7672 GB, free: 76.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001151/0.6968, allocations: 119.8 kB / 0.7673 GB, free: 76.62 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.221e-05/0.6969, allocations: 27.62 kB / 0.7673 GB, free: 76.61 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001428/0.6983, allocations: 0.5573 MB / 0.7679 GB, free: 76.35 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001048/0.6994, allocations: 0.5103 MB / 0.7684 GB, free: 76.06 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001894/0.7013, allocations: 0.7471 MB / 0.7691 GB, free: 75.72 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.276e-06/0.7013, allocations: 4.094 kB / 0.7691 GB, free: 75.72 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.002829/0.7041, allocations: 1.048 MB / 0.7701 GB, free: 75.18 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.7041, allocations: 9.953 kB / 0.7701 GB, free: 75.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.7041, allocations: 3.25 kB / 0.7701 GB, free: 75.18 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001011/0.7052, allocations: 295.9 kB / 0.7704 GB, free: 75.04 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006178/0.7058, allocations: 138 kB / 0.7706 GB, free: 75 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001202/0.707, allocations: 0.8869 MB / 0.7714 GB, free: 74.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001077/0.7081, allocations: 115.5 kB / 0.7715 GB, free: 74.23 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.456e-05/0.7082, allocations: 31.23 kB / 0.7716 GB, free: 74.21 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (55): * Single equations (assignments): 54 * 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.0002423/0.7084, allocations: 211.7 kB / 0.7718 GB, free: 74.01 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001911/0.7086, allocations: 105.5 kB / 0.7719 GB, free: 73.96 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004327/0.7129, allocations: 1.315 MB / 0.7731 GB, free: 73.25 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.438e-05/0.713, allocations: 5.781 kB / 0.7732 GB, free: 73.25 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.842e-06/0.713, allocations: 5.438 kB / 0.7732 GB, free: 73.25 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.305e-06/0.713, allocations: 5.578 kB / 0.7732 GB, free: 73.25 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005619/0.7186, allocations: 2.418 MB / 0.7755 GB, free: 71.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.708e-06/0.7187, allocations: 0.9688 kB / 0.7755 GB, free: 71.66 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005486/0.7192, allocations: 107.4 kB / 0.7756 GB, free: 71.62 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009367/0.7202, allocations: 284.8 kB / 0.7759 GB, free: 71.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.711e-05/0.7202, allocations: 18.7 kB / 0.7759 GB, free: 71.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00126/0.7215, allocations: 0.9281 MB / 0.7768 GB, free: 70.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.7215, allocations: 1.375 kB / 0.7768 GB, free: 70.75 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004145/0.7257, allocations: 1.332 MB / 0.7781 GB, free: 69.96 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004976/0.7262, allocations: 278.6 kB / 0.7784 GB, free: 69.72 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001496/0.7263, allocations: 12.34 kB / 0.7784 GB, free: 69.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008335/0.7272, allocations: 76.16 kB / 0.7785 GB, free: 69.68 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.618e-05/0.7273, allocations: 37.92 kB / 0.7785 GB, free: 69.66 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.099e-05/0.7273, allocations: 28.48 kB / 0.7785 GB, free: 69.64 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008674/0.7282, allocations: 0.6664 MB / 0.7792 GB, free: 69.26 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7282, allocations: 0 / 0.7792 GB, free: 69.26 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001545/0.7298, allocations: 0.5739 MB / 0.7798 GB, free: 69.15 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.00086/0.7306, allocations: 380.9 kB / 0.7801 GB, free: 68.98 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003763/0.7344, allocations: 1.308 MB / 0.7814 GB, free: 68.39 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.7344, allocations: 3.969 kB / 0.7814 GB, free: 68.39 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00111/0.7356, allocations: 454.2 kB / 0.7818 GB, free: 68.18 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002289/0.7379, allocations: 0.4911 MB / 0.7823 GB, free: 67.95 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00364/0.7415, allocations: 1.92 MB / 0.7842 GB, free: 66.79 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005066/0.742, allocations: 1.062 MB / 0.7852 GB, free: 65.92 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002949/0.7424, allocations: 88.98 kB / 0.7853 GB, free: 65.9 MB / 0.5762 GB Notification: Performance of SimCode: time 7.51e-07/0.7424, allocations: 3.781 kB / 0.7853 GB, free: 65.9 MB / 0.5762 GB Notification: Performance of Templates: time 0.0245/0.7669, allocations: 24.14 MB / 0.8089 GB, free: 41.95 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe 2>&1)