Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.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_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") translateModel(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001466/0.001466, allocations: 111.9 kB / 16.41 MB, free: 6.461 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.001222/0.001223, allocations: 187 kB / 17.34 MB, free: 5.719 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.337/1.337, 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.8168/0.8168, allocations: 132.2 MB / 423.4 MB, free: 6.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 60.19 kB / 0.582 GB, free: 23.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1506, allocations: 80.2 MB / 0.6604 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.05899/0.2096, allocations: 61.2 MB / 0.7201 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01628/0.2259, allocations: 11.98 MB / 0.7318 GB, free: 0.8047 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002154/0.2281, allocations: 63.62 kB / 0.7319 GB, free: 0.7422 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001998/0.2302, allocations: 0.6791 MB / 0.7325 GB, free: 60 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005715/0.2359, allocations: 1.959 MB / 0.7345 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003302/0.2393, allocations: 1.216 MB / 0.7356 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004823/0.2441, allocations: 3.083 MB / 0.7387 GB, free: 9.793 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001896/0.246, allocations: 1.1 MB / 0.7397 GB, free: 8.664 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003554/0.2496, allocations: 1.358 MB / 0.7411 GB, free: 7.301 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001961/0.2516, allocations: 0.8984 MB / 0.7419 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004431/0.252, allocations: 112 kB / 0.742 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003431/0.2555, allocations: 1.458 MB / 0.7435 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005257/0.256, allocations: 302.8 kB / 0.7437 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001373/0.2574, allocations: 0.688 MB / 0.7444 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004661/0.2621, allocations: 2.325 MB / 0.7467 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.2621, allocations: 0 / 0.7467 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of FrontEnd: time 4.368e-06/0.2621, allocations: 0 / 0.7467 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.346e-05/0.2622, allocations: 3.938 kB / 0.7467 GB, free: 1.504 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.339/0.6012, allocations: 1.718 MB / 0.7484 GB, free: 86.5 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.6012, allocations: 10.12 kB / 0.7484 GB, free: 86.5 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00192/0.6032, allocations: 345 kB / 0.7487 GB, free: 86.43 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002558/0.6057, allocations: 1.155 MB / 0.7498 GB, free: 86.07 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.764e-05/0.6058, allocations: 62.5 kB / 0.7499 GB, free: 86.07 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001377/0.606, allocations: 78.59 kB / 0.75 GB, free: 86.07 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001974/0.608, allocations: 0.9691 MB / 0.7509 GB, free: 85.78 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.07e-05/0.608, allocations: 8.969 kB / 0.7509 GB, free: 85.77 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.652e-05/0.6081, allocations: 33.77 kB / 0.751 GB, free: 85.75 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.064e-05/0.6081, allocations: 18.78 kB / 0.751 GB, free: 85.75 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001873/0.61, allocations: 0.8038 MB / 0.7518 GB, free: 85.49 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.006955/0.617, allocations: 5.133 MB / 0.7568 GB, free: 81.52 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001551/0.6185, allocations: 0.549 MB / 0.7573 GB, free: 81.34 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006151/0.6191, allocations: 263.5 kB / 0.7576 GB, free: 81.25 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001126/0.6203, allocations: 1.372 MB / 0.7589 GB, free: 79.73 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.6203, allocations: 37.53 kB / 0.7589 GB, free: 79.69 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=43): time 2.816e-06/0.6203, allocations: 2.625 kB / 0.7589 GB, free: 79.69 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43): time 0.008192/0.6285, allocations: 1.762 MB / 0.7607 GB, free: 79.29 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.6286, allocations: 63.16 kB / 0.7607 GB, free: 79.22 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00213/0.6307, allocations: 1.07 MB / 0.7618 GB, free: 78.78 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.128e-05/0.6308, allocations: 42.23 kB / 0.7618 GB, free: 78.74 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004232/0.6313, allocations: 0.5276 MB / 0.7623 GB, free: 78.32 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001187/0.6314, allocations: 149.8 kB / 0.7625 GB, free: 78.21 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002166/0.6316, allocations: 135.4 kB / 0.7626 GB, free: 78.14 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.345e-05/0.6317, allocations: 336 kB / 0.7629 GB, free: 77.82 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006919/0.6324, allocations: 271.4 kB / 0.7632 GB, free: 77.73 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008465/0.6332, allocations: 0.5003 MB / 0.7637 GB, free: 77.37 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001261/0.6345, allocations: 0.6616 MB / 0.7643 GB, free: 76.98 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.6345, allocations: 1.031 kB / 0.7643 GB, free: 76.98 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002394/0.6369, allocations: 0.9548 MB / 0.7652 GB, free: 76.62 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.6369, allocations: 8.281 kB / 0.7653 GB, free: 76.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.637, allocations: 5.5 kB / 0.7653 GB, free: 76.62 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00119/0.6382, allocations: 312.2 kB / 0.7656 GB, free: 76.55 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004641/0.6386, allocations: 122.7 kB / 0.7657 GB, free: 76.53 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001477/0.6401, allocations: 0.8909 MB / 0.7665 GB, free: 75.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001209/0.6413, allocations: 152.3 kB / 0.7667 GB, free: 75.82 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-05/0.6414, allocations: 31.16 kB / 0.7667 GB, free: 75.82 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001013/0.6424, allocations: 485.6 kB / 0.7672 GB, free: 75.59 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008222/0.6433, allocations: 0.4984 MB / 0.7677 GB, free: 75.23 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001242/0.6445, allocations: 0.6469 MB / 0.7683 GB, free: 74.85 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.638e-06/0.6445, allocations: 2.594 kB / 0.7683 GB, free: 74.85 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002587/0.6471, allocations: 0.9462 MB / 0.7692 GB, free: 74.49 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.6472, allocations: 7.844 kB / 0.7692 GB, free: 74.49 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.6472, allocations: 4.828 kB / 0.7692 GB, free: 74.49 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001081/0.6483, allocations: 297.2 kB / 0.7695 GB, free: 74.42 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004872/0.6488, allocations: 118.1 kB / 0.7696 GB, free: 74.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001241/0.65, allocations: 0.8962 MB / 0.7705 GB, free: 73.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001267/0.6513, allocations: 129.5 kB / 0.7706 GB, free: 73.72 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-05/0.6514, allocations: 35.75 kB / 0.7707 GB, free: 73.71 MB / 0.5762 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.0002635/0.6517, allocations: 221 kB / 0.7709 GB, free: 73.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003036/0.652, allocations: 112.3 kB / 0.771 GB, free: 73.44 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003411/0.6554, allocations: 1.059 MB / 0.772 GB, free: 73.08 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.888e-05/0.6554, allocations: 6.766 kB / 0.772 GB, free: 73.08 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.6554, allocations: 0.9375 kB / 0.772 GB, free: 73.08 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.685e-06/0.6554, allocations: 1.969 kB / 0.772 GB, free: 73.08 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004792/0.6602, allocations: 2.055 MB / 0.774 GB, free: 71.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.059e-05/0.6603, allocations: 2.094 kB / 0.774 GB, free: 71.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002002/0.6605, allocations: 56.97 kB / 0.7741 GB, free: 71.68 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009495/0.6614, allocations: 301.1 kB / 0.7744 GB, free: 71.54 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.012e-05/0.6615, allocations: 22.89 kB / 0.7744 GB, free: 71.53 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001254/0.6628, allocations: 0.9338 MB / 0.7753 GB, free: 70.79 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/0.6628, allocations: 2.406 kB / 0.7753 GB, free: 70.79 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003058/0.6658, allocations: 1.093 MB / 0.7764 GB, free: 70.12 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005382/0.6664, allocations: 263.3 kB / 0.7766 GB, free: 69.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002679/0.6667, allocations: 13.47 kB / 0.7766 GB, free: 69.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008623/0.6675, allocations: 62.17 kB / 0.7767 GB, free: 69.86 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.172e-05/0.6676, allocations: 44.27 kB / 0.7767 GB, free: 69.83 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.977e-05/0.6677, allocations: 19.81 kB / 0.7768 GB, free: 69.83 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001312/0.669, allocations: 0.752 MB / 0.7775 GB, free: 69.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.41e-07/0.669, allocations: 0 / 0.7775 GB, free: 69.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002257/0.6713, allocations: 0.5777 MB / 0.7781 GB, free: 69.3 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 (33): * Single equations (assignments): 28 * 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 {(2,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009789/0.6723, allocations: 403.3 kB / 0.7784 GB, free: 69.12 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002735/0.675, allocations: 1.026 MB / 0.7794 GB, free: 68.67 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.6751, allocations: 1.094 kB / 0.7795 GB, free: 68.67 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007316/0.6758, allocations: 322.8 kB / 0.7798 GB, free: 68.53 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002361/0.6782, allocations: 0.5042 MB / 0.7803 GB, free: 68.29 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003496/0.6817, allocations: 1.843 MB / 0.7821 GB, free: 67.15 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005345/0.6822, allocations: 1.066 MB / 0.7831 GB, free: 66.29 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002615/0.6825, allocations: 82.52 kB / 0.7832 GB, free: 66.27 MB / 0.5762 GB Notification: Performance of SimCode: time 5.51e-07/0.6825, allocations: 0 / 0.7832 GB, free: 66.27 MB / 0.5762 GB Notification: Performance of Templates: time 0.0278/0.7103, allocations: 24.39 MB / 0.807 GB, free: 43.83 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe 2>&1)