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.001054/0.001054, allocations: 115.9 kB / 16.42 MB, free: 6.465 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.001122/0.001122, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.224/1.224, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7401/0.7401, allocations: 135.1 MB / 426.3 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 66.83 kB / 0.5863 GB, free: 21.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.134, allocations: 80.92 MB / 0.6653 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed): time 0.06038/0.1944, allocations: 69.96 MB / 0.7336 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01882/0.2132, allocations: 14.49 MB / 0.7478 GB, free: 1.078 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002376/0.2156, allocations: 71.62 kB / 0.7478 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002212/0.2179, allocations: 0.9512 MB / 0.7488 GB, free: 52 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.3195/0.5374, allocations: 2.664 MB / 0.7514 GB, free: 20.62 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004254/0.5417, allocations: 1.999 MB / 0.7533 GB, free: 20.61 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005642/0.5474, allocations: 4.723 MB / 0.7579 GB, free: 20.6 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002372/0.5497, allocations: 1.627 MB / 0.7595 GB, free: 20.44 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004477/0.5542, allocations: 1.849 MB / 0.7613 GB, free: 20.42 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002383/0.5566, allocations: 1.285 MB / 0.7626 GB, free: 20.19 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004726/0.5571, allocations: 198.6 kB / 0.7628 GB, free: 20.19 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004577/0.5617, allocations: 1.987 MB / 0.7647 GB, free: 20.17 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005391/0.5623, allocations: 470.5 kB / 0.7652 GB, free: 20.11 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001495/0.5638, allocations: 1.036 MB / 0.7662 GB, free: 19.84 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005208/0.569, allocations: 3.54 MB / 0.7696 GB, free: 19.44 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.569, allocations: 1.594 kB / 0.7696 GB, free: 19.44 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.923e-06/0.569, allocations: 0 / 0.7696 GB, free: 19.44 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.131e-05/0.5691, allocations: 0 / 0.7696 GB, free: 19.44 MB / 0.5762 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.004096/0.5732, allocations: 2.358 MB / 0.7719 GB, free: 18.25 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.5732, allocations: 11.5 kB / 0.772 GB, free: 18.25 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004759/0.578, allocations: 0.6547 MB / 0.7726 GB, free: 18.13 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002347/0.5803, allocations: 1.6 MB / 0.7742 GB, free: 17.71 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001158/0.5805, allocations: 122.8 kB / 0.7743 GB, free: 17.68 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001955/0.5807, allocations: 126.6 kB / 0.7744 GB, free: 17.67 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003497/0.5842, allocations: 1.625 MB / 0.776 GB, free: 17.42 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.89e-05/0.5842, allocations: 1.156 kB / 0.776 GB, free: 17.42 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001378/0.5843, allocations: 53.69 kB / 0.776 GB, free: 17.42 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-05/0.5844, allocations: 40.56 kB / 0.7761 GB, free: 17.42 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00427/0.5887, allocations: 1.443 MB / 0.7775 GB, free: 17.39 MB / 0.5762 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.008507/0.5972, allocations: 6.941 MB / 0.7843 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002087/0.5993, allocations: 0.7607 MB / 0.785 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001478/0.6008, allocations: 495 kB / 0.7855 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009534/0.6018, allocations: 1.263 MB / 0.7867 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0018/0.6036, allocations: 0.6479 MB / 0.7873 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=69): time 2.935e-06/0.6036, allocations: 0 / 0.7873 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69): time 0.009593/0.6132, allocations: 2.048 MB / 0.7893 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.718e-05/0.6133, allocations: 321.8 kB / 0.7896 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001803/0.6151, allocations: 1.4 MB / 0.791 GB, free: 9.73 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001182/0.6152, allocations: 48.83 kB / 0.7911 GB, free: 9.684 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004322/0.6156, allocations: 0.6922 MB / 0.7917 GB, free: 9.074 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001777/0.6158, allocations: 252.5 kB / 0.792 GB, free: 8.863 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000323/0.6161, allocations: 245.8 kB / 0.7922 GB, free: 8.711 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.858e-05/0.6162, allocations: 350.1 kB / 0.7925 GB, free: 8.371 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00174/0.618, allocations: 0.5073 MB / 0.793 GB, free: 8.117 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001909/0.6199, allocations: 0.8023 MB / 0.7938 GB, free: 7.504 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003265/0.6232, allocations: 1.164 MB / 0.795 GB, free: 6.766 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.6232, allocations: 0 / 0.795 GB, free: 6.766 MB / 0.5762 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.005917/0.6291, allocations: 1.631 MB / 0.7966 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.982e-05/0.6292, allocations: 40.55 kB / 0.7966 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.518e-05/0.6292, allocations: 6.656 kB / 0.7966 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001292/0.6305, allocations: 362.6 kB / 0.7969 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001372/0.6319, allocations: 267.3 kB / 0.7972 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009862/0.6329, allocations: 0.8813 MB / 0.7981 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002465/0.6353, allocations: 226.7 kB / 0.7983 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000116/0.6355, allocations: 67.88 kB / 0.7983 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002217/0.6377, allocations: 0.8002 MB / 0.7991 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001899/0.6396, allocations: 0.798 MB / 0.7999 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003175/0.6428, allocations: 1.158 MB / 0.801 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.179e-06/0.6428, allocations: 6.188 kB / 0.801 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of matching and sorting (n=117) (initialization_lambda0): time 0.005884/0.6487, allocations: 1.625 MB / 0.8026 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.679e-05/0.6487, allocations: 32.89 kB / 0.8027 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/0.6488, allocations: 8.156 kB / 0.8027 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001142/0.6499, allocations: 372.8 kB / 0.803 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001361/0.6513, allocations: 269 kB / 0.8033 GB, free: 1.953 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009337/0.6522, allocations: 0.8883 MB / 0.8041 GB, free: 1.238 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002415/0.6546, allocations: 198.3 kB / 0.8043 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001078/0.6548, allocations: 54.88 kB / 0.8044 GB, free: 1.113 MB / 0.5762 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 (N.count,$PRE.N.count,N.T_start,$PRE.N.T_start,heaPum.com.isOn,$PRE.heaPum.com.isOn,$whenCondition1) * 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 (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 {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.000342/0.6551, allocations: 249.7 kB / 0.8046 GB, free: 0.8945 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002878/0.6554, allocations: 148.3 kB / 0.8048 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003699/0.6591, allocations: 1.222 MB / 0.806 GB, free: 136 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003236/0.6624, allocations: 1.022 MB / 0.807 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.6624, allocations: 0 / 0.807 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007963/0.6632, allocations: 351.8 kB / 0.8073 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002553/0.6634, allocations: 28.89 kB / 0.8073 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001521/0.665, allocations: 115 kB / 0.8074 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/0.6651, allocations: 53.05 kB / 0.8075 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005352/0.6705, allocations: 1.643 MB / 0.8091 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005384/0.6759, allocations: 2.051 MB / 0.8111 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001578/0.6775, allocations: 471.2 kB / 0.8115 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001621/0.6791, allocations: 0.9855 MB / 0.8125 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of Backend: time 5.81e-07/0.6791, allocations: 0 / 0.8125 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.007845/0.687, allocations: 2.266 MB / 0.8147 GB, free: 8.332 MB / 0.5919 GB Notification: Performance of SimCode: time 0.006008/0.693, allocations: 3.525 MB / 0.8182 GB, free: 4.812 MB / 0.5919 GB Notification: Performance of Templates: time 0.06884/0.7619, allocations: 47.44 MB / 0.8645 GB, free: 5.926 MB / 0.6387 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.makefile (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)