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.001382/0.001382, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.01136/0.01136, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.516/1.516, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9558/0.9558, allocations: 135.3 MB / 426.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003806/0.0003805, allocations: 8 kB / 0.5076 GB, free: 4.793 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.177, allocations: 82.31 MB / 0.588 GB, free: 2.656 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed): time 0.3403/0.5173, allocations: 68.27 MB / 0.6546 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01808/0.5354, allocations: 14.48 MB / 0.6688 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003049/0.5385, allocations: 64.69 kB / 0.6688 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002493/0.541, allocations: 0.7471 MB / 0.6696 GB, free: 308 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00736/0.5484, allocations: 2.356 MB / 0.6719 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.006981/0.5554, allocations: 1.794 MB / 0.6736 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01016/0.5656, allocations: 5.937 MB / 0.6794 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003624/0.5692, allocations: 1.298 MB / 0.6807 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006046/0.5753, allocations: 1.44 MB / 0.6821 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004125/0.5795, allocations: 1.213 MB / 0.6833 GB, free: 9.824 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0008726/0.5804, allocations: 69.16 kB / 0.6833 GB, free: 9.824 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006413/0.5868, allocations: 1.738 MB / 0.685 GB, free: 9.238 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001155/0.588, allocations: 338.8 kB / 0.6854 GB, free: 9.062 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.003265/0.5913, allocations: 0.9099 MB / 0.6863 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.009157/0.6005, allocations: 3.372 MB / 0.6895 GB, free: 7.539 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.6005, allocations: 1.969 kB / 0.6895 GB, free: 7.539 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.114e-06/0.6005, allocations: 0 / 0.6895 GB, free: 7.539 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001255/0.6007, allocations: 0 / 0.6895 GB, free: 7.539 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.007252/0.6079, allocations: 1.993 MB / 0.6915 GB, free: 6.23 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.608, allocations: 9.406 kB / 0.6915 GB, free: 6.23 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005888/0.6139, allocations: 0.6923 MB / 0.6922 GB, free: 6.109 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004547/0.6185, allocations: 1.582 MB / 0.6937 GB, free: 5.117 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002998/0.6188, allocations: 128.2 kB / 0.6938 GB, free: 5.043 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005379/0.6194, allocations: 119.4 kB / 0.694 GB, free: 5.008 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005896/0.6253, allocations: 1.66 MB / 0.6956 GB, free: 4.27 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.851e-05/0.6254, allocations: 2.125 kB / 0.6956 GB, free: 4.27 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003202/0.6257, allocations: 57.52 kB / 0.6956 GB, free: 4.227 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-05/0.6258, allocations: 36.53 kB / 0.6957 GB, free: 4.223 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005584/0.6314, allocations: 1.498 MB / 0.6971 GB, free: 3.742 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.01371/0.6451, allocations: 6.996 MB / 0.704 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002627/0.6478, allocations: 0.7921 MB / 0.7047 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001822/0.6496, allocations: 0.4993 MB / 0.7052 GB, free: 14 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001509/0.6512, allocations: 1.271 MB / 0.7065 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002278/0.6535, allocations: 0.6716 MB / 0.7071 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=69): time 4.859e-06/0.6535, allocations: 0 / 0.7071 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of matching and sorting (n=69): time 0.01153/0.665, allocations: 2.177 MB / 0.7093 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001909/0.6653, allocations: 334.5 kB / 0.7096 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003484/0.6688, allocations: 1.391 MB / 0.7109 GB, free: 9.832 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002822/0.6691, allocations: 45.39 kB / 0.711 GB, free: 9.789 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000809/0.6699, allocations: 0.6949 MB / 0.7117 GB, free: 9.176 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004262/0.6703, allocations: 240.3 kB / 0.7119 GB, free: 8.969 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002226/0.6706, allocations: 80.67 kB / 0.712 GB, free: 8.91 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.6707, allocations: 343 kB / 0.7123 GB, free: 8.578 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002195/0.6729, allocations: 0.5268 MB / 0.7128 GB, free: 8.328 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002481/0.6754, allocations: 0.8346 MB / 0.7136 GB, free: 7.703 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00417/0.6796, allocations: 1.217 MB / 0.7148 GB, free: 6.938 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.289e-05/0.6796, allocations: 1.406 kB / 0.7148 GB, free: 6.938 MB / 0.5294 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.007165/0.6868, allocations: 1.698 MB / 0.7165 GB, free: 6.062 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002625/0.6871, allocations: 304.8 kB / 0.7168 GB, free: 5.688 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.669e-05/0.6872, allocations: 9.594 kB / 0.7168 GB, free: 5.684 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001462/0.6886, allocations: 368.2 kB / 0.7171 GB, free: 5.539 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001581/0.6902, allocations: 281.7 kB / 0.7174 GB, free: 5.445 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001314/0.6916, allocations: 0.906 MB / 0.7183 GB, free: 4.719 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003057/0.6946, allocations: 288.2 kB / 0.7185 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002218/0.6949, allocations: 59.38 kB / 0.7186 GB, free: 4.547 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.6949, allocations: 3.312 kB / 0.7186 GB, free: 4.547 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006566/0.7015, allocations: 1.534 MB / 0.7201 GB, free: 3.773 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.202e-05/0.7015, allocations: 3.688 kB / 0.7201 GB, free: 3.773 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001413/0.703, allocations: 388.2 kB / 0.7205 GB, free: 3.418 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001679/0.7047, allocations: 275.5 kB / 0.7207 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00133/0.706, allocations: 0.8998 MB / 0.7216 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003253/0.7093, allocations: 258.8 kB / 0.7219 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003078/0.7096, allocations: 51.95 kB / 0.7219 GB, free: 1.922 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 (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.001604/0.7112, allocations: 464.8 kB / 0.7224 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007055/0.7119, allocations: 150.2 kB / 0.7225 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004814/0.7168, allocations: 1.267 MB / 0.7237 GB, free: 24 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-05/0.7168, allocations: 15.94 kB / 0.7238 GB, free: 8 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.462e-05/0.7169, allocations: 8.062 kB / 0.7238 GB, free: 0 / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003806/0.7207, allocations: 1.088 MB / 0.7248 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009568/0.7303, allocations: 3.33 MB / 0.7281 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.75e-05/0.7303, allocations: 4 kB / 0.7281 GB, free: 11.42 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001086/0.7314, allocations: 172 kB / 0.7282 GB, free: 11.25 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001376/0.7328, allocations: 357.8 kB / 0.7286 GB, free: 10.91 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001066/0.7329, allocations: 31.91 kB / 0.7286 GB, free: 10.88 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001282/0.7342, allocations: 0.8959 MB / 0.7295 GB, free: 9.953 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/0.7343, allocations: 4 kB / 0.7295 GB, free: 9.949 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006461/0.7407, allocations: 1.973 MB / 0.7314 GB, free: 7.895 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001368/0.7421, allocations: 394.9 kB / 0.7318 GB, free: 7.488 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006395/0.7428, allocations: 27.92 kB / 0.7318 GB, free: 7.461 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002338/0.7451, allocations: 164.7 kB / 0.732 GB, free: 7.301 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000188/0.7454, allocations: 68.23 kB / 0.732 GB, free: 7.234 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000133/0.7455, allocations: 40.05 kB / 0.7321 GB, free: 7.195 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00225/0.7478, allocations: 0.9901 MB / 0.733 GB, free: 6.207 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.853e-06/0.7478, allocations: 4 kB / 0.7331 GB, free: 6.203 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004413/0.7522, allocations: 0.9007 MB / 0.7339 GB, free: 5.301 MB / 0.545 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 (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 Backend phase and start with SimCode phase: time 0.002042/0.7543, allocations: 0.5432 MB / 0.7345 GB, free: 4.762 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007424/0.7617, allocations: 2.024 MB / 0.7364 GB, free: 2.719 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.305e-05/0.7618, allocations: 0 / 0.7364 GB, free: 2.719 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002155/0.7639, allocations: 0.5796 MB / 0.737 GB, free: 2.141 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006557/0.7705, allocations: 0.7993 MB / 0.7378 GB, free: 1.359 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00794/0.7785, allocations: 3.315 MB / 0.741 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001339/0.7799, allocations: 1.211 MB / 0.7422 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002519/0.7824, allocations: 379.7 kB / 0.7426 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005218/0.783, allocations: 139.3 kB / 0.7427 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of SimCode: time 1.553e-06/0.783, allocations: 0 / 0.7427 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of Templates: time 0.06671/0.8497, allocations: 38.06 MB / 0.7799 GB, free: 6.574 MB / 0.5919 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)