Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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_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.001234/0.001234, allocations: 110.5 kB / 16.38 MB, free: 6.004 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.001117/0.001117, allocations: 191.2 kB / 17.32 MB, free: 5.613 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.439/1.439, 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.8434/0.8434, allocations: 132.2 MB / 423.4 MB, free: 6.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002159/0.002159, allocations: 66.39 kB / 0.582 GB, free: 23.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2179/0.2201, allocations: 80.21 MB / 0.6603 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.06428/0.2844, allocations: 61.2 MB / 0.7201 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01887/0.3033, allocations: 11.98 MB / 0.7318 GB, free: 0.7891 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002985/0.3064, allocations: 59.62 kB / 0.7318 GB, free: 0.7305 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002404/0.3088, allocations: 0.6791 MB / 0.7325 GB, free: 48 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006802/0.3157, allocations: 1.959 MB / 0.7344 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003698/0.3194, allocations: 1.214 MB / 0.7356 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005388/0.3248, allocations: 3.079 MB / 0.7386 GB, free: 9.789 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001857/0.3267, allocations: 1.092 MB / 0.7397 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003819/0.3305, allocations: 1.343 MB / 0.741 GB, free: 7.324 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0018/0.3323, allocations: 0.8984 MB / 0.7419 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001897/0.3325, allocations: 112 kB / 0.742 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003432/0.3359, allocations: 1.458 MB / 0.7434 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003357/0.3363, allocations: 294.9 kB / 0.7437 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009396/0.3372, allocations: 0.688 MB / 0.7443 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004073/0.3413, allocations: 2.314 MB / 0.7466 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.946e-06/0.3413, allocations: 8 kB / 0.7466 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.104e-06/0.3414, allocations: 0 / 0.7466 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.09e-05/0.3414, allocations: 4 kB / 0.7466 GB, free: 1.539 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.5298/0.8712, allocations: 1.721 MB / 0.7483 GB, free: 86.45 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 7.094e-05/0.8713, allocations: 10.08 kB / 0.7483 GB, free: 86.45 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003781/0.8751, allocations: 413.1 kB / 0.7487 GB, free: 86.39 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003154/0.8783, allocations: 1.16 MB / 0.7498 GB, free: 86.02 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.706e-05/0.8784, allocations: 62.31 kB / 0.7499 GB, free: 86.02 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001577/0.8785, allocations: 80.97 kB / 0.75 GB, free: 86.02 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002219/0.8808, allocations: 0.9993 MB / 0.7509 GB, free: 85.71 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.546e-05/0.8808, allocations: 9.062 kB / 0.751 GB, free: 85.71 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.903e-05/0.8809, allocations: 33.44 kB / 0.751 GB, free: 85.69 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.532e-05/0.8809, allocations: 20.31 kB / 0.751 GB, free: 85.69 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002358/0.8833, allocations: 0.8612 MB / 0.7518 GB, free: 85.41 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.006947/0.8902, allocations: 5.221 MB / 0.7569 GB, free: 81.41 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00359/0.8938, allocations: 0.7849 MB / 0.7577 GB, free: 81.2 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008277/0.8947, allocations: 299.7 kB / 0.758 GB, free: 81.11 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005781/0.8953, allocations: 0.9023 MB / 0.7589 GB, free: 80.06 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.733e-05/0.8953, allocations: 44.38 kB / 0.7589 GB, free: 80.02 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=44): time 2.324e-06/0.8953, allocations: 1.25 kB / 0.7589 GB, free: 80.02 MB / 0.5762 GB Notification: Performance of matching and sorting (n=44): time 0.00946/0.9048, allocations: 1.858 MB / 0.7607 GB, free: 79.58 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.299e-05/0.9049, allocations: 60.84 kB / 0.7608 GB, free: 79.52 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002367/0.9073, allocations: 1.073 MB / 0.7618 GB, free: 79.07 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001088/0.9074, allocations: 39.27 kB / 0.7619 GB, free: 79.04 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004225/0.9078, allocations: 0.5268 MB / 0.7624 GB, free: 78.62 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000145/0.908, allocations: 163 kB / 0.7625 GB, free: 78.49 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002401/0.9082, allocations: 135.5 kB / 0.7627 GB, free: 78.42 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.752e-05/0.9083, allocations: 330.4 kB / 0.763 GB, free: 78.11 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009459/0.9093, allocations: 311 kB / 0.7633 GB, free: 78.01 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001126/0.9104, allocations: 0.5326 MB / 0.7638 GB, free: 77.63 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001692/0.9121, allocations: 0.7142 MB / 0.7645 GB, free: 77.24 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/0.9121, allocations: 2.75 kB / 0.7645 GB, free: 77.24 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003827/0.9159, allocations: 1.141 MB / 0.7656 GB, free: 76.86 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.65e-05/0.916, allocations: 11.42 kB / 0.7656 GB, free: 76.85 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.605e-05/0.916, allocations: 5.5 kB / 0.7656 GB, free: 76.85 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001335/0.9174, allocations: 312.8 kB / 0.7659 GB, free: 76.78 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005867/0.9179, allocations: 131.1 kB / 0.7661 GB, free: 76.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001379/0.9193, allocations: 0.8962 MB / 0.7669 GB, free: 76.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001385/0.9207, allocations: 155.2 kB / 0.7671 GB, free: 76.06 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.777e-05/0.9208, allocations: 34.2 kB / 0.7671 GB, free: 76.05 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001319/0.9222, allocations: 0.5123 MB / 0.7676 GB, free: 75.8 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00106/0.9232, allocations: 0.5236 MB / 0.7681 GB, free: 75.44 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001699/0.9249, allocations: 0.7048 MB / 0.7688 GB, free: 75.05 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.668e-06/0.925, allocations: 1.312 kB / 0.7688 GB, free: 75.05 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.003633/0.9286, allocations: 1.135 MB / 0.7699 GB, free: 74.66 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.851e-05/0.9286, allocations: 10.45 kB / 0.7699 GB, free: 74.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.9287, allocations: 4.375 kB / 0.7699 GB, free: 74.66 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001107/0.9298, allocations: 304.9 kB / 0.7702 GB, free: 74.58 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000554/0.9303, allocations: 128 kB / 0.7704 GB, free: 74.55 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00124/0.9316, allocations: 0.8918 MB / 0.7712 GB, free: 73.83 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001335/0.9329, allocations: 134.3 kB / 0.7714 GB, free: 73.77 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.322e-05/0.933, allocations: 30.98 kB / 0.7714 GB, free: 73.76 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.000264/0.9333, allocations: 228.7 kB / 0.7716 GB, free: 73.54 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002285/0.9335, allocations: 111.8 kB / 0.7717 GB, free: 73.48 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00364/0.9372, allocations: 1.1 MB / 0.7728 GB, free: 72.88 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.867e-05/0.9372, allocations: 9.344 kB / 0.7728 GB, free: 72.87 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.9372, allocations: 1.312 kB / 0.7728 GB, free: 72.87 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.9372, allocations: 3.984 kB / 0.7728 GB, free: 72.87 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005178/0.9424, allocations: 2.184 MB / 0.7749 GB, free: 71.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.948e-06/0.9425, allocations: 3.312 kB / 0.7749 GB, free: 71.39 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002884/0.9427, allocations: 62.52 kB / 0.775 GB, free: 71.37 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001016/0.9438, allocations: 304.7 kB / 0.7753 GB, free: 71.22 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.84e-05/0.9438, allocations: 10.41 kB / 0.7753 GB, free: 71.22 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001335/0.9452, allocations: 0.9249 MB / 0.7762 GB, free: 70.49 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.706e-06/0.9452, allocations: 16.33 kB / 0.7762 GB, free: 70.48 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003585/0.9488, allocations: 1.167 MB / 0.7774 GB, free: 69.77 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005363/0.9493, allocations: 272.8 kB / 0.7776 GB, free: 69.53 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001408/0.9495, allocations: 9.5 kB / 0.7776 GB, free: 69.53 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007926/0.9503, allocations: 69.05 kB / 0.7777 GB, free: 69.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.411e-05/0.9504, allocations: 43.38 kB / 0.7777 GB, free: 69.47 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-05/0.9504, allocations: 20.22 kB / 0.7777 GB, free: 69.46 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00118/0.9516, allocations: 0.7565 MB / 0.7785 GB, free: 69.04 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9516, allocations: 0 / 0.7785 GB, free: 69.04 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001827/0.9535, allocations: 0.5745 MB / 0.779 GB, free: 68.93 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.0008338/0.9543, allocations: 384.8 kB / 0.7794 GB, free: 68.76 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003251/0.9576, allocations: 1.123 MB / 0.7805 GB, free: 68.26 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.72e-06/0.9576, allocations: 1 kB / 0.7805 GB, free: 68.26 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008829/0.9585, allocations: 350.2 kB / 0.7808 GB, free: 68.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002625/0.9611, allocations: 0.514 MB / 0.7813 GB, free: 67.85 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005284/0.9664, allocations: 2.058 MB / 0.7834 GB, free: 66.61 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005204/0.967, allocations: 1.066 MB / 0.7844 GB, free: 65.74 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003394/0.9673, allocations: 86.45 kB / 0.7845 GB, free: 65.72 MB / 0.5762 GB Notification: Performance of SimCode: time 1.092e-06/0.9674, allocations: 0 / 0.7845 GB, free: 65.72 MB / 0.5762 GB Notification: Performance of Templates: time 0.02856/0.9959, allocations: 24.19 MB / 0.8081 GB, free: 42.54 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1)