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: translateModel(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed") translateModel(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009558/0.0009557, allocations: 100.1 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.001019/0.001019, 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 1.209/1.209, 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 0.8309/0.8309, allocations: 135.2 MB / 426.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002865/0.0002866, allocations: 10.12 kB / 0.5068 GB, free: 5.25 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.134, allocations: 82.3 MB / 0.5872 GB, free: 3.125 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed): time 0.2707/0.4047, allocations: 58.55 MB / 0.6444 GB, free: 18.8 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01402/0.4188, allocations: 12.26 MB / 0.6563 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001844/0.4206, allocations: 56.94 kB / 0.6564 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002058/0.4227, allocations: 0.7938 MB / 0.6572 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005517/0.4282, allocations: 2.227 MB / 0.6593 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004706/0.433, allocations: 1.906 MB / 0.6612 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004308/0.4373, allocations: 2.692 MB / 0.6638 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001721/0.439, allocations: 1.178 MB / 0.665 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002393/0.4414, allocations: 1.278 MB / 0.6662 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001126/0.4426, allocations: 0.8345 MB / 0.667 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000179/0.4428, allocations: 69.88 kB / 0.6671 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003107/0.4459, allocations: 1.174 MB / 0.6683 GB, free: 4 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003605/0.4462, allocations: 307.6 kB / 0.6686 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005644/0.4468, allocations: 399.5 kB / 0.6689 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003748/0.4506, allocations: 2.454 MB / 0.6713 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.4506, allocations: 0 / 0.6713 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.264e-06/0.4506, allocations: 0 / 0.6713 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.741e-05/0.4507, allocations: 0 / 0.6713 GB, free: 3.023 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.004236/0.4549, allocations: 1.973 MB / 0.6733 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.455, allocations: 9.359 kB / 0.6733 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00477/0.4597, allocations: 0.692 MB / 0.6739 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002591/0.4623, allocations: 1.458 MB / 0.6754 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001174/0.4625, allocations: 131.7 kB / 0.6755 GB, free: 0.6406 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001828/0.4627, allocations: 122 kB / 0.6756 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003814/0.4665, allocations: 1.645 MB / 0.6772 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.907e-05/0.4665, allocations: 2.016 kB / 0.6772 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001375/0.4667, allocations: 49.22 kB / 0.6773 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.701e-05/0.4667, allocations: 41.64 kB / 0.6773 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00446/0.4712, allocations: 1.491 MB / 0.6788 GB, free: 15.33 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.01011/0.4813, allocations: 7.028 MB / 0.6856 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00219/0.4835, allocations: 0.7791 MB / 0.6864 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001198/0.4847, allocations: 1.267 MB / 0.6876 GB, free: 8.75 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001821/0.4866, allocations: 0.6618 MB / 0.6883 GB, free: 8.473 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=69): time 2.395e-06/0.4866, allocations: 5.062 kB / 0.6883 GB, free: 8.469 MB / 0.5137 GB Notification: Performance of matching and sorting (n=69): time 0.009309/0.4959, allocations: 2.158 MB / 0.6904 GB, free: 7.809 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001328/0.4961, allocations: 324.2 kB / 0.6907 GB, free: 7.43 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002224/0.4983, allocations: 1.425 MB / 0.6921 GB, free: 6.852 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001539/0.4985, allocations: 49.08 kB / 0.6921 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005813/0.499, allocations: 0.706 MB / 0.6928 GB, free: 6.246 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002345/0.4993, allocations: 236.8 kB / 0.693 GB, free: 6.062 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.04e-05/0.4994, allocations: 20 kB / 0.6931 GB, free: 6.047 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.4995, allocations: 346.1 kB / 0.6934 GB, free: 5.723 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00179/0.5013, allocations: 0.5168 MB / 0.6939 GB, free: 5.57 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001981/0.5033, allocations: 0.824 MB / 0.6947 GB, free: 5.062 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001873/0.5051, allocations: 0.6018 MB / 0.6953 GB, free: 4.824 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/0.5052, allocations: 6.906 kB / 0.6953 GB, free: 4.82 MB / 0.5137 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.006959/0.5121, allocations: 1.828 MB / 0.6971 GB, free: 4.09 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007975/0.5129, allocations: 2.525 MB / 0.6995 GB, free: 1.434 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/0.513, allocations: 6.719 kB / 0.6996 GB, free: 1.434 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001286/0.5143, allocations: 370.7 kB / 0.6999 GB, free: 1.285 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001385/0.5157, allocations: 281.6 kB / 0.7002 GB, free: 1.191 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001108/0.5168, allocations: 0.8983 MB / 0.7011 GB, free: 480 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002541/0.5193, allocations: 292.8 kB / 0.7013 GB, free: 324 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001206/0.5195, allocations: 53.33 kB / 0.7014 GB, free: 304 kB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.998e-06/0.5195, allocations: 3.344 kB / 0.7014 GB, free: 304 kB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006545/0.526, allocations: 1.687 MB / 0.703 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.5261, allocations: 7.406 kB / 0.703 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001153/0.5272, allocations: 369.2 kB / 0.7034 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001343/0.5286, allocations: 276.7 kB / 0.7037 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001058/0.5296, allocations: 0.9058 MB / 0.7045 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002299/0.532, allocations: 259.8 kB / 0.7048 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000117/0.5321, allocations: 58.05 kB / 0.7048 GB, free: 14.33 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.0008921/0.533, allocations: 456.6 kB / 0.7053 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002872/0.5333, allocations: 148.2 kB / 0.7054 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003788/0.5371, allocations: 1.275 MB / 0.7067 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-05/0.5371, allocations: 12.92 kB / 0.7067 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.844e-06/0.5371, allocations: 2.719 kB / 0.7067 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003176/0.5403, allocations: 1.081 MB / 0.7077 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007163/0.5475, allocations: 3.357 MB / 0.711 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.856e-06/0.5475, allocations: 3.188 kB / 0.711 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009115/0.5484, allocations: 175 kB / 0.7112 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001159/0.5496, allocations: 351.3 kB / 0.7115 GB, free: 9.949 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.551e-05/0.5497, allocations: 32.47 kB / 0.7115 GB, free: 9.93 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001021/0.5507, allocations: 0.8998 MB / 0.7124 GB, free: 9.203 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.5507, allocations: 4.5 kB / 0.7124 GB, free: 9.203 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005393/0.5561, allocations: 2.244 MB / 0.7146 GB, free: 7.582 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00092/0.5571, allocations: 407.5 kB / 0.715 GB, free: 7.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003607/0.5575, allocations: 30.23 kB / 0.715 GB, free: 7.211 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001722/0.5592, allocations: 158.6 kB / 0.7152 GB, free: 7.145 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/0.5593, allocations: 76.55 kB / 0.7153 GB, free: 7.098 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.979e-05/0.5594, allocations: 40.08 kB / 0.7153 GB, free: 7.082 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001605/0.561, allocations: 1.021 MB / 0.7163 GB, free: 6.426 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.81e-07/0.561, allocations: 0 / 0.7163 GB, free: 6.426 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002783/0.5638, allocations: 0.9124 MB / 0.7172 GB, free: 5.512 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.001262/0.5651, allocations: 0.56 MB / 0.7177 GB, free: 4.961 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005962/0.5711, allocations: 2.009 MB / 0.7197 GB, free: 2.926 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/0.5711, allocations: 4 kB / 0.7197 GB, free: 2.922 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001764/0.5729, allocations: 0.5682 MB / 0.7203 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003513/0.5764, allocations: 0.7666 MB / 0.721 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005481/0.5819, allocations: 3.162 MB / 0.7241 GB, free: 14.37 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007094/0.5826, allocations: 1.25 MB / 0.7253 GB, free: 13.09 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001579/0.5842, allocations: 373.4 kB / 0.7257 GB, free: 12.73 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002949/0.5845, allocations: 135.3 kB / 0.7258 GB, free: 12.6 MB / 0.545 GB Notification: Performance of SimCode: time 4.3e-07/0.5845, allocations: 0 / 0.7258 GB, free: 12.6 MB / 0.545 GB Notification: Performance of Templates: time 0.04965/0.6342, allocations: 36.71 MB / 0.7616 GB, free: 8.293 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.makefile Environment - environmentSimulation: (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 & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe 2>&1) Environment - environmentSimulation: