Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_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_y_etaPL,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Validation_Carnot_y_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Validation_Carnot_y_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.000996/0.0009961, allocations: 91.77 kB / 15.36 MB, free: 0.7344 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.01006/0.01006, allocations: 170 kB / 16.26 MB, free: 6.617 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.43/1.43, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7421/0.7421, allocations: 132.3 MB / 423.8 MB, free: 1.953 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003413/0.0003413, allocations: 8 kB / 0.5041 GB, free: 3.781 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4526/0.4529, allocations: 81.57 MB / 0.5837 GB, free: 3.863 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.07141/0.5244, allocations: 73.48 MB / 0.6555 GB, free: 6.602 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02015/0.5445, allocations: 15.02 MB / 0.6702 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002587/0.5472, allocations: 55.62 kB / 0.6702 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00201/0.5492, allocations: 0.676 MB / 0.6709 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006764/0.556, allocations: 2.383 MB / 0.6732 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003662/0.5596, allocations: 1.256 MB / 0.6744 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006604/0.5663, allocations: 5.557 MB / 0.6799 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00175/0.568, allocations: 1.167 MB / 0.681 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002607/0.5707, allocations: 1.338 MB / 0.6823 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001615/0.5723, allocations: 1.151 MB / 0.6834 GB, free: 9.898 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001585/0.5725, allocations: 56 kB / 0.6835 GB, free: 9.844 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002661/0.5751, allocations: 1.255 MB / 0.6847 GB, free: 8.586 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003121/0.5755, allocations: 294.5 kB / 0.685 GB, free: 8.297 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0008642/0.5763, allocations: 0.7944 MB / 0.6858 GB, free: 7.492 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003472/0.5798, allocations: 2.734 MB / 0.6884 GB, free: 4.75 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.5798, allocations: 0 / 0.6884 GB, free: 4.75 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.463e-06/0.5798, allocations: 0 / 0.6884 GB, free: 4.75 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.317e-05/0.5799, allocations: 0 / 0.6884 GB, free: 4.75 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.003396/0.5833, allocations: 1.791 MB / 0.6902 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.5833, allocations: 8.031 kB / 0.6902 GB, free: 2.887 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001968/0.5835, allocations: 156.1 kB / 0.6903 GB, free: 2.727 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007576/0.5843, allocations: 250.7 kB / 0.6906 GB, free: 2.48 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002596/0.5869, allocations: 1.504 MB / 0.692 GB, free: 0.918 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.241e-05/0.587, allocations: 78 kB / 0.6921 GB, free: 0.8438 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001638/0.5872, allocations: 103.9 kB / 0.6922 GB, free: 0.7422 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002142/0.5893, allocations: 1.128 MB / 0.6933 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.779e-05/0.5893, allocations: 0 / 0.6933 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-05/0.5894, allocations: 36 kB / 0.6934 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.96e-05/0.5895, allocations: 32 kB / 0.6934 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001981/0.5915, allocations: 0.929 MB / 0.6943 GB, free: 14.58 MB / 0.5294 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.5979, allocations: 4.927 MB / 0.6991 GB, free: 9.363 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001402/0.5993, allocations: 0.6438 MB / 0.6997 GB, free: 8.715 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007513/0.6001, allocations: 380.9 kB / 0.7001 GB, free: 8.344 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006702/0.6007, allocations: 0.8277 MB / 0.7009 GB, free: 7.332 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.007e-05/0.6008, allocations: 39.06 kB / 0.7009 GB, free: 7.281 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=62): time 2.114e-06/0.6008, allocations: 0 / 0.7009 GB, free: 7.281 MB / 0.5294 GB Notification: Performance of matching and sorting (n=62): time 0.005299/0.6061, allocations: 1.526 MB / 0.7024 GB, free: 5.73 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.466e-05/0.6062, allocations: 63.97 kB / 0.7025 GB, free: 5.656 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002034/0.6082, allocations: 1.214 MB / 0.7037 GB, free: 4.426 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001275/0.6084, allocations: 41.7 kB / 0.7037 GB, free: 4.379 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005602/0.6089, allocations: 0.6066 MB / 0.7043 GB, free: 3.766 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002387/0.6092, allocations: 220.8 kB / 0.7045 GB, free: 3.547 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.667e-05/0.6093, allocations: 61.69 kB / 0.7046 GB, free: 3.48 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.6095, allocations: 337.9 kB / 0.7049 GB, free: 3.145 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007077/0.6102, allocations: 301.8 kB / 0.7052 GB, free: 2.848 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008877/0.6111, allocations: 0.5117 MB / 0.7057 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001534/0.6126, allocations: 0.7433 MB / 0.7064 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.456e-06/0.6126, allocations: 8 kB / 0.7064 GB, free: 1.48 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005188/0.6178, allocations: 1.398 MB / 0.7078 GB, free: 68 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001667/0.618, allocations: 189.4 kB / 0.708 GB, free: 15.83 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/0.618, allocations: 4 kB / 0.708 GB, free: 15.83 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008057/0.6189, allocations: 164.7 kB / 0.7081 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007173/0.6196, allocations: 159.8 kB / 0.7083 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009946/0.6206, allocations: 0.7395 MB / 0.709 GB, free: 14.74 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001724/0.6223, allocations: 163.1 kB / 0.7092 GB, free: 14.58 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001727/0.6225, allocations: 31.98 kB / 0.7092 GB, free: 14.55 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.6226, allocations: 4 kB / 0.7092 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004989/0.6276, allocations: 1.257 MB / 0.7104 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.6276, allocations: 4 kB / 0.7104 GB, free: 13.28 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006634/0.6283, allocations: 165 kB / 0.7106 GB, free: 13.12 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006341/0.6289, allocations: 159.8 kB / 0.7107 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009707/0.6299, allocations: 0.7313 MB / 0.7115 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001494/0.6314, allocations: 163.2 kB / 0.7116 GB, free: 12.05 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.915e-05/0.6315, allocations: 28 kB / 0.7116 GB, free: 12.02 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (77): * Single equations (assignments): 76 * 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,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0008795/0.6324, allocations: 417 kB / 0.712 GB, free: 11.6 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000423/0.6328, allocations: 134.4 kB / 0.7122 GB, free: 11.47 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005124/0.638, allocations: 1.4 MB / 0.7135 GB, free: 10.05 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-05/0.638, allocations: 8 kB / 0.7135 GB, free: 10.05 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.638, allocations: 0 / 0.7135 GB, free: 10.05 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004344/0.6423, allocations: 1.224 MB / 0.7147 GB, free: 8.785 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004231/0.6466, allocations: 2.345 MB / 0.717 GB, free: 6.332 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/0.6466, allocations: 4 kB / 0.717 GB, free: 6.328 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004703/0.6471, allocations: 124.2 kB / 0.7171 GB, free: 6.207 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000582/0.6477, allocations: 156.7 kB / 0.7173 GB, free: 6.051 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.986e-05/0.6477, allocations: 19.98 kB / 0.7173 GB, free: 6.031 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008114/0.6486, allocations: 0.7316 MB / 0.718 GB, free: 5.277 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/0.6486, allocations: 8 kB / 0.718 GB, free: 5.27 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002757/0.6513, allocations: 1.458 MB / 0.7195 GB, free: 3.742 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006178/0.652, allocations: 331.1 kB / 0.7198 GB, free: 3.398 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002192/0.6522, allocations: 15.98 kB / 0.7198 GB, free: 3.383 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009776/0.6532, allocations: 99.83 kB / 0.7199 GB, free: 3.285 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/0.6533, allocations: 52.3 kB / 0.7199 GB, free: 3.234 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.35e-05/0.6534, allocations: 31.98 kB / 0.72 GB, free: 3.203 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001271/0.6547, allocations: 0.874 MB / 0.7208 GB, free: 2.328 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.763e-06/0.6547, allocations: 0 / 0.7208 GB, free: 2.328 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001853/0.6565, allocations: 0.7057 MB / 0.7215 GB, free: 1.621 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * 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 (55): * Single equations (assignments): 50 * 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,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004122/0.6607, allocations: 2.361 MB / 0.7238 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002811/0.6635, allocations: 1.168 MB / 0.725 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.637e-06/0.6635, allocations: 8.062 kB / 0.725 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009419/0.6645, allocations: 411.2 kB / 0.7254 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004886/0.6694, allocations: 0.7994 MB / 0.7261 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02704/0.6964, allocations: 11.23 MB / 0.7371 GB, free: 1.105 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007952/0.6973, allocations: 1.18 MB / 0.7383 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001355/0.6986, allocations: 299 kB / 0.7385 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007544/0.6994, allocations: 0.5226 MB / 0.739 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of SimCode: time 8.22e-07/0.6994, allocations: 0 / 0.739 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06708/0.7665, allocations: 42.38 MB / 0.7804 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001878/0.7667, allocations: 259.9 kB / 0.7807 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.82/3.587, allocations: 0 / 0.7807 GB, free: 4.973 MB / 0.6075 GB (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatPumps_Validation_Carnot_y_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatPumps_Validation_Carnot_y_etaPL.fmu > IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1)