Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.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_VariableSpeed,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed",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.001506/0.001506, allocations: 99.86 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.002048/0.002048, allocations: 177.3 kB / 15.95 MB, free: 216 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.101/2.101, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.815/1.815, allocations: 135.2 MB / 426.2 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0008847/0.0008851, allocations: 12 kB / 0.5069 GB, free: 5.16 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3124/0.3134, allocations: 82.31 MB / 0.5873 GB, free: 3.023 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed): time 0.7141/1.028, allocations: 58.55 MB / 0.6445 GB, free: 18.83 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02629/1.054, allocations: 12.25 MB / 0.6564 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004332/1.058, allocations: 58.69 kB / 0.6565 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.005211/1.064, allocations: 0.7906 MB / 0.6572 GB, free: 9.648 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01372/1.077, allocations: 2.232 MB / 0.6594 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00966/1.087, allocations: 1.9 MB / 0.6613 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01064/1.098, allocations: 2.688 MB / 0.6639 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003976/1.102, allocations: 1.193 MB / 0.6651 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005879/1.108, allocations: 1.275 MB / 0.6663 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003757/1.111, allocations: 0.834 MB / 0.6671 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0007306/1.112, allocations: 69.34 kB / 0.6672 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007308/1.12, allocations: 1.171 MB / 0.6683 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001341/1.121, allocations: 309.6 kB / 0.6686 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.00204/1.123, allocations: 400.8 kB / 0.669 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0105/1.134, allocations: 2.455 MB / 0.6714 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 9.327e-06/1.134, allocations: 0 / 0.6714 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of FrontEnd: time 6.853e-06/1.134, allocations: 0 / 0.6714 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001763/1.134, allocations: 0 / 0.6714 GB, free: 3.055 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.008863/1.143, allocations: 1.972 MB / 0.6733 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 8.227e-05/1.143, allocations: 10.48 kB / 0.6734 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009029/1.144, allocations: 179.2 kB / 0.6735 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007593/1.151, allocations: 0.6906 MB / 0.6742 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006396/1.158, allocations: 1.464 MB / 0.6756 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002789/1.158, allocations: 135.6 kB / 0.6758 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005172/1.159, allocations: 121.9 kB / 0.6759 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007419/1.166, allocations: 1.636 MB / 0.6775 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.716e-05/1.166, allocations: 2.609 kB / 0.6775 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000339/1.167, allocations: 52.97 kB / 0.6775 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001333/1.167, allocations: 41.83 kB / 0.6776 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008694/1.176, allocations: 1.488 MB / 0.679 GB, free: 15.25 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.0214/1.197, allocations: 7.027 MB / 0.6859 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003721/1.201, allocations: 0.7882 MB / 0.6866 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002131/1.203, allocations: 1.264 MB / 0.6879 GB, free: 8.66 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003263/1.206, allocations: 0.6644 MB / 0.6885 GB, free: 8.379 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=69): time 4.118e-06/1.206, allocations: 1.188 kB / 0.6885 GB, free: 8.379 MB / 0.5137 GB Notification: Performance of matching and sorting (n=69): time 0.01609/1.222, allocations: 2.161 MB / 0.6906 GB, free: 7.719 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002286/1.223, allocations: 327.8 kB / 0.691 GB, free: 7.336 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004723/1.227, allocations: 1.422 MB / 0.6923 GB, free: 6.762 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0008266/1.228, allocations: 45.42 kB / 0.6924 GB, free: 6.719 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002116/1.231, allocations: 0.7039 MB / 0.6931 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001004/1.232, allocations: 240.8 kB / 0.6933 GB, free: 5.973 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001741/1.232, allocations: 19.66 kB / 0.6933 GB, free: 5.957 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002336/1.232, allocations: 343.8 kB / 0.6937 GB, free: 5.637 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00297/1.235, allocations: 0.5181 MB / 0.6942 GB, free: 5.484 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003317/1.238, allocations: 0.821 MB / 0.695 GB, free: 4.977 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00312/1.241, allocations: 0.6076 MB / 0.6956 GB, free: 4.734 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.249e-05/1.242, allocations: 1.906 kB / 0.6956 GB, free: 4.734 MB / 0.5137 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.01175/1.253, allocations: 1.833 MB / 0.6973 GB, free: 3.906 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.001673/1.255, allocations: 2.533 MB / 0.6998 GB, free: 1.246 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-05/1.255, allocations: 6.062 kB / 0.6998 GB, free: 1.246 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002341/1.257, allocations: 363.3 kB / 0.7002 GB, free: 1.102 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002581/1.26, allocations: 281.4 kB / 0.7004 GB, free: 1.008 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00209/1.262, allocations: 0.9029 MB / 0.7013 GB, free: 288 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004434/1.267, allocations: 283.6 kB / 0.7016 GB, free: 140 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000429/1.267, allocations: 58.16 kB / 0.7016 GB, free: 116 kB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.798e-05/1.267, allocations: 8.266 kB / 0.7017 GB, free: 112 kB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01097/1.278, allocations: 1.682 MB / 0.7033 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.431e-05/1.278, allocations: 7.188 kB / 0.7033 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002275/1.281, allocations: 367.4 kB / 0.7037 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002476/1.283, allocations: 280.4 kB / 0.7039 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001905/1.285, allocations: 0.9018 MB / 0.7048 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004047/1.289, allocations: 256.4 kB / 0.705 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000474/1.29, allocations: 57.25 kB / 0.7051 GB, free: 14.15 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: 7 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 1 * 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 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.002719/1.292, allocations: 465.4 kB / 0.7055 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001095/1.293, allocations: 152.2 kB / 0.7057 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007455/1.301, allocations: 1.275 MB / 0.7069 GB, free: 13 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.389e-05/1.301, allocations: 8.938 kB / 0.7069 GB, free: 13 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.792e-05/1.301, allocations: 5.734 kB / 0.7069 GB, free: 13 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005868/1.307, allocations: 1.076 MB / 0.708 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01471/1.322, allocations: 3.351 MB / 0.7113 GB, free: 9.973 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.981e-05/1.322, allocations: 3.906 kB / 0.7113 GB, free: 9.973 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001689/1.324, allocations: 173.3 kB / 0.7114 GB, free: 9.914 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002259/1.326, allocations: 362.9 kB / 0.7118 GB, free: 9.766 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002221/1.326, allocations: 25.66 kB / 0.7118 GB, free: 9.75 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001909/1.328, allocations: 0.909 MB / 0.7127 GB, free: 9.016 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.375e-06/1.328, allocations: 3.25 kB / 0.7127 GB, free: 9.016 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01094/1.339, allocations: 2.246 MB / 0.7149 GB, free: 7.395 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002839/1.342, allocations: 410.2 kB / 0.7153 GB, free: 7.039 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001121/1.343, allocations: 20.94 kB / 0.7153 GB, free: 7.027 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003846/1.347, allocations: 159.2 kB / 0.7155 GB, free: 6.961 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000327/1.347, allocations: 67.5 kB / 0.7155 GB, free: 6.922 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002329/1.348, allocations: 40.3 kB / 0.7156 GB, free: 6.906 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00378/1.351, allocations: 1.024 MB / 0.7166 GB, free: 6.195 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.582e-06/1.351, allocations: 0 / 0.7166 GB, free: 6.195 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.009676/1.361, allocations: 0.9163 MB / 0.7175 GB, free: 5.277 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 4 ($whenCondition1,heaPum.com.isOn,N.T_start,N.count) * Number of discrete states: 2 (N.count,heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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 {2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.01518/1.376, allocations: 4.405 MB / 0.7218 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01177/1.388, allocations: 2.01 MB / 0.7237 GB, free: 14.69 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.963e-05/1.388, allocations: 8.125 kB / 0.7237 GB, free: 14.68 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003469/1.392, allocations: 0.5677 MB / 0.7243 GB, free: 14.12 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008099/1.4, allocations: 0.7676 MB / 0.725 GB, free: 13.37 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02118/1.421, allocations: 8.253 MB / 0.7331 GB, free: 4.887 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002337/1.424, allocations: 1.25 MB / 0.7343 GB, free: 3.609 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004517/1.428, allocations: 377.5 kB / 0.7347 GB, free: 3.25 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002024/1.43, allocations: 0.5734 MB / 0.7352 GB, free: 2.676 MB / 0.545 GB Notification: Performance of SimCode: time 2.034e-06/1.43, allocations: 4 kB / 0.7352 GB, free: 2.672 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.694/2.124, allocations: 49.68 MB / 0.7838 GB, free: 1.621 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005396/2.125, allocations: 268.2 kB / 0.784 GB, free: 1.266 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.784/7.909, allocations: 0 / 0.784 GB, free: 1.266 MB / 0.5919 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed_fmu --startTime=0 --stopTime=2000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe 2>&1) Environment - environmentSimulation: