Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.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.ReciprocatingWaterToWater_Static,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static",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.0007639/0.0007639, allocations: 90.67 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.004963/0.004963, allocations: 170.5 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.316/1.316, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9127/0.9127, allocations: 135.3 MB / 426.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003033/0.0003033, allocations: 8 kB / 0.5077 GB, free: 4.629 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1538/0.1541, allocations: 82.32 MB / 0.5881 GB, free: 2.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.4729/0.6271, allocations: 68.22 MB / 0.6547 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01507/0.6422, allocations: 14.44 MB / 0.6688 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001806/0.644, allocations: 64.78 kB / 0.6689 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001649/0.6457, allocations: 0.7434 MB / 0.6696 GB, free: 288 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005332/0.651, allocations: 2.35 MB / 0.6719 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004115/0.6551, allocations: 1.782 MB / 0.6736 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.006772/0.6619, allocations: 5.856 MB / 0.6793 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002003/0.6639, allocations: 1.279 MB / 0.6806 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002842/0.6668, allocations: 1.429 MB / 0.682 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00171/0.6685, allocations: 1.199 MB / 0.6832 GB, free: 9.867 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001806/0.6687, allocations: 66.25 kB / 0.6832 GB, free: 9.867 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003633/0.6724, allocations: 1.741 MB / 0.6849 GB, free: 9.277 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003665/0.6727, allocations: 320.6 kB / 0.6852 GB, free: 9.117 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000991/0.6737, allocations: 0.9002 MB / 0.6861 GB, free: 8.582 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004284/0.678, allocations: 3.341 MB / 0.6894 GB, free: 7.602 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.678, allocations: 0 / 0.6894 GB, free: 7.602 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.674e-06/0.6781, allocations: 0 / 0.6894 GB, free: 7.602 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.159e-05/0.6781, allocations: 1.375 kB / 0.6894 GB, free: 7.602 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: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.003649/0.6818, allocations: 1.938 MB / 0.6913 GB, free: 6.336 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.6818, allocations: 10.41 kB / 0.6913 GB, free: 6.336 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002485/0.6821, allocations: 178.2 kB / 0.6914 GB, free: 6.219 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005266/0.6873, allocations: 0.692 MB / 0.6921 GB, free: 6.098 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00256/0.6899, allocations: 1.555 MB / 0.6936 GB, free: 5.129 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001327/0.69, allocations: 134.9 kB / 0.6938 GB, free: 5.047 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002094/0.6903, allocations: 115.3 kB / 0.6939 GB, free: 5.012 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004037/0.6943, allocations: 1.654 MB / 0.6955 GB, free: 4.254 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.693e-05/0.6944, allocations: 1.375 kB / 0.6955 GB, free: 4.254 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001483/0.6945, allocations: 53.09 kB / 0.6955 GB, free: 4.215 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.204e-05/0.6946, allocations: 37.34 kB / 0.6956 GB, free: 4.211 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004934/0.6995, allocations: 1.473 MB / 0.697 GB, free: 3.73 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.0102/0.7097, allocations: 7.189 MB / 0.704 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002425/0.7122, allocations: 0.8272 MB / 0.7048 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001675/0.7139, allocations: 0.4972 MB / 0.7053 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001428/0.7153, allocations: 1.272 MB / 0.7066 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.762e-05/0.7154, allocations: 48.47 kB / 0.7066 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=68): time 2.605e-06/0.7154, allocations: 0 / 0.7066 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=68): time 0.01051/0.7259, allocations: 2.243 MB / 0.7088 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.083e-05/0.726, allocations: 115.3 kB / 0.7089 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002331/0.7283, allocations: 1.366 MB / 0.7103 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001403/0.7285, allocations: 49.14 kB / 0.7103 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000618/0.7291, allocations: 0.6835 MB / 0.711 GB, free: 9.551 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000258/0.7294, allocations: 234.8 kB / 0.7112 GB, free: 9.348 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000131/0.7295, allocations: 75.67 kB / 0.7113 GB, free: 9.293 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.7296, allocations: 337.1 kB / 0.7116 GB, free: 8.965 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001931/0.7316, allocations: 0.4932 MB / 0.7121 GB, free: 8.73 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002128/0.7337, allocations: 0.7749 MB / 0.7128 GB, free: 8.152 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003621/0.7373, allocations: 1.149 MB / 0.7139 GB, free: 7.438 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.523e-06/0.7373, allocations: 2.75 kB / 0.7139 GB, free: 7.438 MB / 0.5294 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.005056/0.7424, allocations: 1.565 MB / 0.7155 GB, free: 6.652 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001752/0.7426, allocations: 283 kB / 0.7157 GB, free: 6.305 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/0.7426, allocations: 6.281 kB / 0.7158 GB, free: 6.305 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00157/0.7442, allocations: 456.8 kB / 0.7162 GB, free: 6.125 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001406/0.7456, allocations: 262.4 kB / 0.7164 GB, free: 6.035 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001521/0.7472, allocations: 1.084 MB / 0.7175 GB, free: 5.215 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002563/0.7497, allocations: 264 kB / 0.7177 GB, free: 5.082 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001121/0.7499, allocations: 57.84 kB / 0.7178 GB, free: 5.059 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/0.7499, allocations: 5.562 kB / 0.7178 GB, free: 5.059 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004861/0.7547, allocations: 1.4 MB / 0.7192 GB, free: 4.371 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.767e-05/0.7548, allocations: 9.594 kB / 0.7192 GB, free: 4.371 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001579/0.7564, allocations: 458.2 kB / 0.7196 GB, free: 4.195 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001419/0.7578, allocations: 253.2 kB / 0.7199 GB, free: 4.027 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001533/0.7594, allocations: 1.084 MB / 0.7209 GB, free: 2.918 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00234/0.7617, allocations: 246.8 kB / 0.7212 GB, free: 2.676 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001063/0.7618, allocations: 55.95 kB / 0.7212 GB, free: 2.621 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (heaPum.com.isOn,$PRE.heaPum.com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 81 * 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 {(4,23)} Notification: Performance of prepare postOptimizeDAE: time 0.0008749/0.7627, allocations: 457.4 kB / 0.7216 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002621/0.763, allocations: 146.2 kB / 0.7218 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004225/0.7672, allocations: 1.317 MB / 0.7231 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.518e-05/0.7672, allocations: 11.94 kB / 0.7231 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.7673, allocations: 4 kB / 0.7231 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003658/0.7709, allocations: 1.135 MB / 0.7242 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007977/0.7789, allocations: 3.43 MB / 0.7275 GB, free: 11.87 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.039e-05/0.7789, allocations: 4 kB / 0.7276 GB, free: 11.87 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000972/0.7799, allocations: 163.8 kB / 0.7277 GB, free: 11.71 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001536/0.7815, allocations: 443.8 kB / 0.7281 GB, free: 11.27 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.45e-05/0.7815, allocations: 27.95 kB / 0.7282 GB, free: 11.25 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001495/0.783, allocations: 1.076 MB / 0.7292 GB, free: 10.14 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.7831, allocations: 4 kB / 0.7292 GB, free: 10.14 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004138/0.7872, allocations: 1.417 MB / 0.7306 GB, free: 8.652 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000855/0.7881, allocations: 386.9 kB / 0.731 GB, free: 8.254 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004738/0.7886, allocations: 20 kB / 0.731 GB, free: 8.234 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002009/0.7906, allocations: 159.6 kB / 0.7311 GB, free: 8.078 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/0.7907, allocations: 56.31 kB / 0.7312 GB, free: 8.023 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000104/0.7908, allocations: 47.94 kB / 0.7312 GB, free: 7.977 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001789/0.7926, allocations: 0.9693 MB / 0.7322 GB, free: 7.008 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7926, allocations: 0 / 0.7322 GB, free: 7.008 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003122/0.7958, allocations: 0.885 MB / 0.733 GB, free: 6.121 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 1 (heaPum.com.isOn) * Number of discrete states: 1 (heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(4,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005811/0.8016, allocations: 2.387 MB / 0.7354 GB, free: 3.672 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01017/0.8118, allocations: 1.85 MB / 0.7372 GB, free: 1.824 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.027e-06/0.8118, allocations: 0 / 0.7372 GB, free: 1.824 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002959/0.8148, allocations: 0.5374 MB / 0.7377 GB, free: 1.285 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005037/0.8198, allocations: 0.7894 MB / 0.7385 GB, free: 0.5156 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0296/0.8494, allocations: 13.15 MB / 0.7513 GB, free: 2.734 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008793/0.8504, allocations: 1.211 MB / 0.7525 GB, free: 1.492 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00175/0.8521, allocations: 335.2 kB / 0.7528 GB, free: 1.164 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008424/0.853, allocations: 0.5656 MB / 0.7534 GB, free: 0.6016 MB / 0.5606 GB Notification: Performance of SimCode: time 7.12e-07/0.853, allocations: 4 kB / 0.7534 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07386/0.9269, allocations: 49.78 MB / 0.802 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000264/0.9272, allocations: 289.3 kB / 0.8023 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.604/4.531, allocations: 4 kB / 0.8023 GB, free: 15.03 MB / 0.6231 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1)