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: "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008197/0.0008199, allocations: 92.23 kB / 15.36 MB, free: 0.7383 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.007653/0.007654, allocations: 170.2 kB / 16.26 MB, free: 6.676 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.432/1.432, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8029/0.8029, allocations: 132.3 MB / 423.8 MB, free: 1.973 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000352/0.0003521, allocations: 9.031 kB / 0.5041 GB, free: 3.82 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4396/0.44, allocations: 81.57 MB / 0.5837 GB, free: 3.879 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.06014/0.5002, allocations: 59.75 MB / 0.6421 GB, free: 4.414 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01643/0.5167, allocations: 11.9 MB / 0.6537 GB, free: 8.488 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002272/0.519, allocations: 55.62 kB / 0.6538 GB, free: 8.434 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001964/0.5209, allocations: 0.5438 MB / 0.6543 GB, free: 7.887 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006359/0.5273, allocations: 1.803 MB / 0.6561 GB, free: 6.078 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003137/0.5305, allocations: 1.08 MB / 0.6571 GB, free: 5.012 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.005153/0.5356, allocations: 3.898 MB / 0.6609 GB, free: 1.102 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001599/0.5373, allocations: 0.902 MB / 0.6618 GB, free: 168 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002701/0.54, allocations: 1.124 MB / 0.6629 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001477/0.5415, allocations: 0.8592 MB / 0.6637 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001678/0.5417, allocations: 40 kB / 0.6638 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003057/0.5447, allocations: 1.345 MB / 0.6651 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003102/0.5451, allocations: 210.9 kB / 0.6653 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009459/0.546, allocations: 0.6273 MB / 0.6659 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003338/0.5494, allocations: 2.212 MB / 0.6681 GB, free: 9.723 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.5494, allocations: 0 / 0.6681 GB, free: 9.723 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.535e-06/0.5494, allocations: 0 / 0.6681 GB, free: 9.723 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.778e-05/0.5494, allocations: 0 / 0.6681 GB, free: 9.723 MB / 0.4981 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.002675/0.5521, allocations: 1.489 MB / 0.6695 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.5521, allocations: 12.03 kB / 0.6695 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001419/0.5523, allocations: 122.9 kB / 0.6696 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002157/0.5545, allocations: 474.6 kB / 0.6701 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001951/0.5564, allocations: 1.128 MB / 0.6712 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003531/0.5568, allocations: 129.9 kB / 0.6713 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/0.5569, allocations: 80 kB / 0.6714 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002/0.5589, allocations: 1.013 MB / 0.6724 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/0.5589, allocations: 0 / 0.6724 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.755e-05/0.559, allocations: 35.94 kB / 0.6724 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.706e-05/0.5591, allocations: 16 kB / 0.6724 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002343/0.5614, allocations: 0.9328 MB / 0.6733 GB, free: 4.137 MB / 0.4981 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.006369/0.5678, allocations: 4.894 MB / 0.6781 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003573/0.5714, allocations: 0.8939 MB / 0.679 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007529/0.5722, allocations: 332.6 kB / 0.6793 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006453/0.5728, allocations: 0.9064 MB / 0.6802 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.5729, allocations: 42.52 kB / 0.6802 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=44): time 2.184e-06/0.5729, allocations: 0 / 0.6802 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of matching and sorting (n=44): time 0.009104/0.582, allocations: 2.177 MB / 0.6824 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.519e-05/0.582, allocations: 55.41 kB / 0.6824 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00156/0.5836, allocations: 1.048 MB / 0.6834 GB, free: 9.156 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.393e-05/0.5837, allocations: 41.7 kB / 0.6835 GB, free: 9.109 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004099/0.5841, allocations: 0.5274 MB / 0.684 GB, free: 8.578 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000134/0.5842, allocations: 145.8 kB / 0.6841 GB, free: 8.434 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.508e-05/0.5843, allocations: 49.69 kB / 0.6842 GB, free: 8.379 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.5844, allocations: 326 kB / 0.6845 GB, free: 8.055 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009033/0.5854, allocations: 320.9 kB / 0.6848 GB, free: 7.742 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001073/0.5864, allocations: 0.5378 MB / 0.6853 GB, free: 7.125 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001678/0.5881, allocations: 0.7367 MB / 0.686 GB, free: 6.332 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.5881, allocations: 0 / 0.686 GB, free: 6.332 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002815/0.591, allocations: 1.043 MB / 0.6871 GB, free: 5.277 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001283/0.5911, allocations: 212.2 kB / 0.6873 GB, free: 5.012 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.5911, allocations: 4 kB / 0.6873 GB, free: 5.008 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001339/0.5925, allocations: 340.5 kB / 0.6876 GB, free: 4.672 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005223/0.593, allocations: 127.8 kB / 0.6877 GB, free: 4.547 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001537/0.5945, allocations: 0.9387 MB / 0.6886 GB, free: 3.582 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001329/0.5959, allocations: 187.3 kB / 0.6888 GB, free: 3.398 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.151e-05/0.596, allocations: 31.98 kB / 0.6888 GB, free: 3.367 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.596, allocations: 6.031 kB / 0.6889 GB, free: 3.363 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002514/0.5985, allocations: 0.9216 MB / 0.6898 GB, free: 2.438 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.5985, allocations: 4.438 kB / 0.6898 GB, free: 2.434 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001135/0.5997, allocations: 335.7 kB / 0.6901 GB, free: 2.105 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005118/0.6002, allocations: 135.8 kB / 0.6902 GB, free: 1.973 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001475/0.6017, allocations: 0.9347 MB / 0.6911 GB, free: 1.012 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001212/0.6029, allocations: 167.5 kB / 0.6913 GB, free: 0.8477 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.465e-05/0.603, allocations: 31.98 kB / 0.6913 GB, free: 0.8164 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (51): * Single equations (assignments): 50 * 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.0006103/0.6036, allocations: 356.8 kB / 0.6916 GB, free: 468 kB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001794/0.6038, allocations: 110.6 kB / 0.6918 GB, free: 356 kB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003973/0.6078, allocations: 1.209 MB / 0.6929 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.587e-05/0.6078, allocations: 11.98 kB / 0.6929 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.6078, allocations: 3.938 kB / 0.693 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.6078, allocations: 0 / 0.693 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005331/0.6131, allocations: 2.286 MB / 0.6952 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.978e-06/0.6132, allocations: 4 kB / 0.6952 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003137/0.6135, allocations: 80.16 kB / 0.6953 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001128/0.6146, allocations: 320.5 kB / 0.6956 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.867e-05/0.6147, allocations: 15.98 kB / 0.6956 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001523/0.6162, allocations: 0.9754 MB / 0.6965 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/0.6162, allocations: 11.86 kB / 0.6965 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004132/0.6204, allocations: 1.283 MB / 0.6978 GB, free: 9.988 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006578/0.621, allocations: 283.5 kB / 0.6981 GB, free: 9.691 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001251/0.6212, allocations: 12 kB / 0.6981 GB, free: 9.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009472/0.6221, allocations: 115.7 kB / 0.6982 GB, free: 9.566 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.248e-05/0.6222, allocations: 43.89 kB / 0.6982 GB, free: 9.523 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.422e-05/0.6223, allocations: 23.98 kB / 0.6983 GB, free: 9.5 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001254/0.6236, allocations: 0.735 MB / 0.699 GB, free: 8.758 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6236, allocations: 8 kB / 0.699 GB, free: 8.75 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001701/0.6253, allocations: 0.5613 MB / 0.6995 GB, free: 8.188 MB / 0.5294 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.004944/0.6302, allocations: 2.117 MB / 0.7016 GB, free: 6.027 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003346/0.6336, allocations: 1.175 MB / 0.7027 GB, free: 4.852 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.6336, allocations: 4 kB / 0.7027 GB, free: 4.848 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009393/0.6346, allocations: 368.5 kB / 0.7031 GB, free: 4.488 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002995/0.6376, allocations: 0.4969 MB / 0.7036 GB, free: 4 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01947/0.657, allocations: 9.218 MB / 0.7126 GB, free: 10.34 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006191/0.6577, allocations: 1.065 MB / 0.7136 GB, free: 9.25 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0009842/0.6587, allocations: 228.5 kB / 0.7138 GB, free: 9.027 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005152/0.6592, allocations: 407.3 kB / 0.7142 GB, free: 8.629 MB / 0.545 GB Notification: Performance of SimCode: time 7.92e-07/0.6592, allocations: 0 / 0.7142 GB, free: 8.629 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05139/0.7106, allocations: 32.28 MB / 0.7458 GB, free: 8.844 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002122/0.7109, allocations: 280.4 kB / 0.746 GB, free: 8.473 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.566/3.277, allocations: 0 / 0.746 GB, free: 8.473 MB / 0.5762 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL.fmu > IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1)