Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.ReciprocatingWaterToWater_Static,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,fileNamePrefix="IDEAS_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.001563/0.001563, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.002027/0.002027, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.395/2.395, allocations: 223.2 MB / 239.9 MB, free: 5.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.23/1.23, allocations: 132.3 MB / 423.2 MB, free: 2.176 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003106/0.0003107, allocations: 12 kB / 0.5033 GB, free: 4.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4946/0.495, allocations: 81.58 MB / 0.583 GB, free: 4.023 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.1148/0.6098, allocations: 58.51 MB / 0.6401 GB, free: 5.988 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.03347/0.6434, allocations: 12.22 MB / 0.652 GB, free: 9.746 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00429/0.6477, allocations: 59.56 kB / 0.6521 GB, free: 9.688 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005304/0.653, allocations: 0.7928 MB / 0.6529 GB, free: 8.891 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01245/0.6655, allocations: 2.223 MB / 0.655 GB, free: 6.664 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009573/0.6751, allocations: 1.893 MB / 0.6569 GB, free: 4.816 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.008383/0.6835, allocations: 2.643 MB / 0.6595 GB, free: 2.164 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003223/0.6868, allocations: 1.18 MB / 0.6606 GB, free: 0.957 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003641/0.6905, allocations: 1.261 MB / 0.6619 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001839/0.6924, allocations: 0.8164 MB / 0.6627 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006275/0.693, allocations: 64 kB / 0.6627 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003881/0.6969, allocations: 1.174 MB / 0.6639 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006379/0.6976, allocations: 302.7 kB / 0.6642 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009594/0.6986, allocations: 396.8 kB / 0.6645 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004226/0.7028, allocations: 2.412 MB / 0.6669 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.7029, allocations: 7.938 kB / 0.6669 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.345e-06/0.7029, allocations: 3.938 kB / 0.6669 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.586e-05/0.703, allocations: 0 / 0.6669 GB, free: 10.51 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: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.004592/0.7076, allocations: 1.92 MB / 0.6688 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.7076, allocations: 8.031 kB / 0.6688 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005417/0.7082, allocations: 177.3 kB / 0.6689 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004993/0.7132, allocations: 0.7002 MB / 0.6696 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003066/0.7163, allocations: 1.433 MB / 0.671 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001464/0.7165, allocations: 132 kB / 0.6712 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001844/0.7167, allocations: 120 kB / 0.6713 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003726/0.7204, allocations: 1.627 MB / 0.6729 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/0.7204, allocations: 0 / 0.6729 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001286/0.7206, allocations: 48 kB / 0.6729 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.321e-05/0.7206, allocations: 43.98 kB / 0.6729 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004301/0.7249, allocations: 1.464 MB / 0.6744 GB, free: 2.602 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.00985/0.7348, allocations: 7.245 MB / 0.6815 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002177/0.737, allocations: 0.8154 MB / 0.6822 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001276/0.7383, allocations: 1.271 MB / 0.6835 GB, free: 8.605 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.104e-05/0.7383, allocations: 43.12 kB / 0.6835 GB, free: 8.555 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=68): time 2.635e-06/0.7384, allocations: 0 / 0.6835 GB, free: 8.555 MB / 0.5137 GB Notification: Performance of matching and sorting (n=68): time 0.00951/0.7479, allocations: 2.213 MB / 0.6857 GB, free: 6.316 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.439e-05/0.748, allocations: 115.4 kB / 0.6858 GB, free: 6.18 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002281/0.7503, allocations: 1.402 MB / 0.6872 GB, free: 4.766 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.000142/0.7504, allocations: 45.7 kB / 0.6872 GB, free: 4.715 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006166/0.7511, allocations: 0.6919 MB / 0.6879 GB, free: 4.016 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002362/0.7513, allocations: 240.5 kB / 0.6881 GB, free: 3.777 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.694e-05/0.7514, allocations: 16 kB / 0.6881 GB, free: 3.762 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.7515, allocations: 341.9 kB / 0.6885 GB, free: 3.422 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00174/0.7533, allocations: 0.4938 MB / 0.6889 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001954/0.7552, allocations: 0.7628 MB / 0.6897 GB, free: 2.062 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001803/0.757, allocations: 0.5457 MB / 0.6902 GB, free: 1.52 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.7571, allocations: 0 / 0.6902 GB, free: 1.52 MB / 0.5137 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.00457/0.7616, allocations: 1.551 MB / 0.6917 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.000888/0.7625, allocations: 2.481 MB / 0.6942 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.407e-05/0.7626, allocations: 11.98 kB / 0.6942 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0015/0.7641, allocations: 458.9 kB / 0.6946 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001305/0.7654, allocations: 263.5 kB / 0.6949 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001426/0.7668, allocations: 1.073 MB / 0.6959 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002168/0.769, allocations: 282.4 kB / 0.6962 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.958e-05/0.7691, allocations: 55.95 kB / 0.6962 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.608e-06/0.7691, allocations: 4 kB / 0.6962 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004119/0.7733, allocations: 1.39 MB / 0.6976 GB, free: 9.793 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.7733, allocations: 4 kB / 0.6976 GB, free: 9.789 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001348/0.7746, allocations: 464.5 kB / 0.698 GB, free: 9.34 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001266/0.7759, allocations: 259.6 kB / 0.6983 GB, free: 9.086 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001353/0.7773, allocations: 1.071 MB / 0.6993 GB, free: 7.988 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001911/0.7792, allocations: 246.9 kB / 0.6996 GB, free: 7.746 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.154e-05/0.7793, allocations: 52.2 kB / 0.6996 GB, free: 7.695 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 ($PRE.heaPum.com.isOn,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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 23} Notification: Performance of prepare postOptimizeDAE: time 0.0007197/0.78, allocations: 458.6 kB / 0.7001 GB, free: 7.238 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002177/0.7802, allocations: 146.4 kB / 0.7002 GB, free: 7.094 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003723/0.784, allocations: 1.326 MB / 0.7015 GB, free: 5.75 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.201e-05/0.784, allocations: 8 kB / 0.7015 GB, free: 5.742 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.784, allocations: 4 kB / 0.7015 GB, free: 5.738 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003217/0.7872, allocations: 1.127 MB / 0.7026 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006962/0.7942, allocations: 3.449 MB / 0.706 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.616e-06/0.7942, allocations: 4 kB / 0.706 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008845/0.7951, allocations: 155.8 kB / 0.7061 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001366/0.7965, allocations: 456.4 kB / 0.7066 GB, free: 320 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.451e-05/0.7966, allocations: 23.97 kB / 0.7066 GB, free: 296 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001342/0.7979, allocations: 1.06 MB / 0.7076 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.735e-06/0.7979, allocations: 11.89 kB / 0.7076 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003735/0.8017, allocations: 1.634 MB / 0.7092 GB, free: 13.37 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006777/0.8024, allocations: 402.9 kB / 0.7096 GB, free: 12.95 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001966/0.8026, allocations: 23.98 kB / 0.7096 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001553/0.8041, allocations: 151.8 kB / 0.7098 GB, free: 12.78 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.86e-05/0.8042, allocations: 52.25 kB / 0.7098 GB, free: 12.73 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.298e-05/0.8043, allocations: 47.95 kB / 0.7099 GB, free: 12.68 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001484/0.8058, allocations: 0.9888 MB / 0.7108 GB, free: 11.7 MB / 0.545 GB Notification: Performance of sort global known variables: time 2e-07/0.8058, allocations: 0 / 0.7108 GB, free: 11.7 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002213/0.808, allocations: 0.9006 MB / 0.7117 GB, free: 10.79 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.005256/0.8133, allocations: 3.682 MB / 0.7153 GB, free: 6.988 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00589/0.8192, allocations: 1.837 MB / 0.7171 GB, free: 5.148 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.8192, allocations: 0 / 0.7171 GB, free: 5.148 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001694/0.8209, allocations: 0.5335 MB / 0.7176 GB, free: 4.621 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003556/0.8245, allocations: 0.7762 MB / 0.7184 GB, free: 3.867 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007958/0.8325, allocations: 8.139 MB / 0.7263 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007477/0.8333, allocations: 1.242 MB / 0.7275 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001521/0.8348, allocations: 350.4 kB / 0.7279 GB, free: 9.863 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006829/0.8355, allocations: 0.5617 MB / 0.7284 GB, free: 9.305 MB / 0.5606 GB Notification: Performance of SimCode: time 5.71e-07/0.8355, allocations: 0 / 0.7284 GB, free: 9.305 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1827/1.018, allocations: 49.03 MB / 0.7763 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004125/1.019, allocations: 263.4 kB / 0.7766 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.754/5.773, allocations: 0 / 0.7766 GB, free: 8.574 MB / 0.6075 GB (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static.fmu > IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1) Environment - environmentSimulation: