Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_etaCar,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_Carnot_y_etaCar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_Carnot_y_etaCar",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.0008774/0.0008774, allocations: 92.78 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.005239/0.005239, allocations: 173 kB / 16.26 MB, free: 6.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.185/1.185, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8159/0.8159, allocations: 135.3 MB / 426.7 MB, free: 14.16 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003579/0.000358, allocations: 8 kB / 0.5077 GB, free: 4.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1253, allocations: 82.3 MB / 0.5881 GB, free: 2.531 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.2586/0.3839, allocations: 73.46 MB / 0.6598 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01404/0.398, allocations: 15.02 MB / 0.6745 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001247/0.3992, allocations: 55.97 kB / 0.6745 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001344/0.4006, allocations: 0.6764 MB / 0.6752 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004374/0.405, allocations: 2.377 MB / 0.6775 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002433/0.4074, allocations: 1.271 MB / 0.6788 GB, free: 9.703 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.005339/0.4128, allocations: 5.555 MB / 0.6842 GB, free: 7.547 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001425/0.4142, allocations: 1.162 MB / 0.6853 GB, free: 7.039 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001992/0.4162, allocations: 1.322 MB / 0.6866 GB, free: 6.461 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001255/0.4175, allocations: 1.152 MB / 0.6877 GB, free: 5.977 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001201/0.4176, allocations: 55.41 kB / 0.6878 GB, free: 5.977 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002216/0.4198, allocations: 1.237 MB / 0.689 GB, free: 5.527 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002819/0.4201, allocations: 292.9 kB / 0.6893 GB, free: 5.375 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0007091/0.4208, allocations: 0.795 MB / 0.6901 GB, free: 4.898 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002673/0.4235, allocations: 2.715 MB / 0.6927 GB, free: 4.094 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.4235, allocations: 3.938 kB / 0.6927 GB, free: 4.09 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.232e-06/0.4235, allocations: 0 / 0.6927 GB, free: 4.09 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.442e-05/0.4235, allocations: 1 kB / 0.6927 GB, free: 4.09 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.002836/0.4264, allocations: 1.789 MB / 0.6945 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.4264, allocations: 9.781 kB / 0.6945 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000166/0.4266, allocations: 146.8 kB / 0.6946 GB, free: 2.816 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006928/0.4273, allocations: 243.4 kB / 0.6948 GB, free: 2.727 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002072/0.4294, allocations: 1.487 MB / 0.6963 GB, free: 1.809 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.404e-05/0.4294, allocations: 80.36 kB / 0.6964 GB, free: 1.773 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001371/0.4296, allocations: 100.9 kB / 0.6965 GB, free: 1.742 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001896/0.4315, allocations: 1.117 MB / 0.6976 GB, free: 1.25 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.441e-05/0.4315, allocations: 5.891 kB / 0.6976 GB, free: 1.246 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.397e-05/0.4316, allocations: 40.41 kB / 0.6976 GB, free: 1.215 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.784e-05/0.4316, allocations: 25.52 kB / 0.6976 GB, free: 1.215 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001835/0.4335, allocations: 0.9301 MB / 0.6985 GB, free: 0.9023 MB / 0.5137 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.005117/0.4386, allocations: 4.918 MB / 0.7033 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00129/0.4399, allocations: 0.6335 MB / 0.7039 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006813/0.4406, allocations: 371.7 kB / 0.7043 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005408/0.4412, allocations: 0.8233 MB / 0.7051 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.4412, allocations: 52.77 kB / 0.7052 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=61): time 1.543e-06/0.4412, allocations: 1.156 kB / 0.7052 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of matching and sorting (n=61): time 0.006855/0.4481, allocations: 1.901 MB / 0.707 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.81e-05/0.4481, allocations: 58.94 kB / 0.7071 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0014/0.4495, allocations: 1.215 MB / 0.7083 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.71e-05/0.4496, allocations: 39.67 kB / 0.7083 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004703/0.4501, allocations: 0.6083 MB / 0.7089 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001714/0.4502, allocations: 211.5 kB / 0.7091 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.905e-05/0.4503, allocations: 63.44 kB / 0.7092 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.4504, allocations: 340 kB / 0.7095 GB, free: 9.801 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006351/0.4511, allocations: 298.7 kB / 0.7098 GB, free: 9.668 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007859/0.4519, allocations: 0.5145 MB / 0.7103 GB, free: 9.273 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001338/0.4532, allocations: 0.7451 MB / 0.711 GB, free: 8.832 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.4532, allocations: 5.125 kB / 0.711 GB, free: 8.828 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004495/0.4577, allocations: 1.404 MB / 0.7124 GB, free: 8.176 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001016/0.4579, allocations: 196.1 kB / 0.7126 GB, free: 7.941 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.4579, allocations: 4.219 kB / 0.7126 GB, free: 7.941 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005218/0.4584, allocations: 152.6 kB / 0.7127 GB, free: 7.871 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005382/0.4589, allocations: 166.1 kB / 0.7129 GB, free: 7.832 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007453/0.4597, allocations: 0.7133 MB / 0.7136 GB, free: 7.211 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009421/0.4606, allocations: 172 kB / 0.7137 GB, free: 7.113 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-05/0.4607, allocations: 37.73 kB / 0.7138 GB, free: 7.102 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.849e-06/0.4607, allocations: 7.062 kB / 0.7138 GB, free: 7.098 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004233/0.465, allocations: 1.249 MB / 0.715 GB, free: 6.539 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.465, allocations: 4.125 kB / 0.715 GB, free: 6.539 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004374/0.4654, allocations: 150.2 kB / 0.7151 GB, free: 6.469 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005225/0.466, allocations: 159.5 kB / 0.7153 GB, free: 6.434 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007159/0.4667, allocations: 0.7185 MB / 0.716 GB, free: 5.809 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008646/0.4676, allocations: 162.4 kB / 0.7161 GB, free: 5.719 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.412e-05/0.4676, allocations: 30.64 kB / 0.7162 GB, free: 5.711 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (78): * Single equations (assignments): 77 * 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,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0004392/0.4681, allocations: 430.4 kB / 0.7166 GB, free: 5.367 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001628/0.4682, allocations: 131.4 kB / 0.7167 GB, free: 5.301 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004429/0.4727, allocations: 1.404 MB / 0.7181 GB, free: 4.582 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.149e-05/0.4727, allocations: 13.44 kB / 0.7181 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.4727, allocations: 0 / 0.7181 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004002/0.4767, allocations: 1.234 MB / 0.7193 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005787/0.4825, allocations: 2.742 MB / 0.722 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.4825, allocations: 4 kB / 0.722 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004405/0.483, allocations: 124.2 kB / 0.7221 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004175/0.4834, allocations: 132.8 kB / 0.7222 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.957e-05/0.4834, allocations: 23.98 kB / 0.7222 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004423/0.4879, allocations: 2.48 MB / 0.7247 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/0.4879, allocations: 11.92 kB / 0.7247 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004968/0.4929, allocations: 1.848 MB / 0.7265 GB, free: 13.09 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003988/0.4933, allocations: 335 kB / 0.7268 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001345/0.4934, allocations: 16 kB / 0.7268 GB, free: 12.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008016/0.4942, allocations: 103.1 kB / 0.7269 GB, free: 12.63 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.51e-05/0.4943, allocations: 56.25 kB / 0.727 GB, free: 12.58 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.806e-05/0.4944, allocations: 40.06 kB / 0.727 GB, free: 12.54 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0009778/0.4954, allocations: 0.8661 MB / 0.7279 GB, free: 11.67 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4954, allocations: 0 / 0.7279 GB, free: 11.67 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001537/0.4969, allocations: 0.7057 MB / 0.7285 GB, free: 10.96 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,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005891/0.5028, allocations: 2.746 MB / 0.7312 GB, free: 8.156 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002237/0.5051, allocations: 1.164 MB / 0.7324 GB, free: 7 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.5051, allocations: 0 / 0.7324 GB, free: 7 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001361/0.5065, allocations: 0.6073 MB / 0.733 GB, free: 6.379 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003669/0.5101, allocations: 0.7889 MB / 0.7337 GB, free: 5.605 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02208/0.5322, allocations: 11.19 MB / 0.7447 GB, free: 9.906 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006452/0.5329, allocations: 1.183 MB / 0.7458 GB, free: 8.688 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000987/0.5339, allocations: 306.9 kB / 0.7461 GB, free: 8.387 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006308/0.5345, allocations: 0.5266 MB / 0.7466 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of SimCode: time 3.41e-07/0.5345, allocations: 0 / 0.7466 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.662/5.197, allocations: 42.49 MB / 0.7881 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003863/5.197, allocations: 271.8 kB / 0.7884 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.156/9.354, allocations: 3.938 kB / 0.7884 GB, free: 13.49 MB / 0.6075 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_Carnot_y_etaCar_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_Carnot_y_etaCar.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1)