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: translateModel(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static") translateModel(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001141/0.001142, allocations: 192.7 kB / 16.25 MB, free: 6.629 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.31/1.31, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7254/0.7254, allocations: 132.2 MB / 422.3 MB, free: 1.938 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 60.72 kB / 0.5013 GB, free: 9.105 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.1694, allocations: 80.21 MB / 0.5796 GB, free: 9.117 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.3742/0.5436, allocations: 69.3 MB / 0.6473 GB, free: 16.02 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01799/0.5617, allocations: 14.34 MB / 0.6613 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003734/0.5655, allocations: 69.66 kB / 0.6613 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003587/0.5691, allocations: 0.8031 MB / 0.6621 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.008397/0.5775, allocations: 2.361 MB / 0.6644 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006307/0.5839, allocations: 1.817 MB / 0.6662 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.009032/0.5929, allocations: 4.663 MB / 0.6708 GB, free: 488 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004421/0.5974, allocations: 1.599 MB / 0.6723 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006789/0.6042, allocations: 1.781 MB / 0.6741 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00397/0.6082, allocations: 1.31 MB / 0.6753 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001109/0.6093, allocations: 194 kB / 0.6755 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007337/0.6167, allocations: 1.941 MB / 0.6774 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001481/0.6182, allocations: 463.1 kB / 0.6779 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.003768/0.622, allocations: 1.024 MB / 0.6789 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.009928/0.632, allocations: 3.487 MB / 0.6823 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 1.018e-05/0.632, allocations: 0.5625 kB / 0.6823 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.703e-06/0.632, allocations: 7.938 kB / 0.6823 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.000118/0.6322, allocations: 1.281 kB / 0.6823 GB, free: 11.3 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: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.008044/0.6402, allocations: 2.301 MB / 0.6845 GB, free: 9.801 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.6403, allocations: 14 kB / 0.6845 GB, free: 9.797 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006105/0.6464, allocations: 0.6457 MB / 0.6852 GB, free: 9.684 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004452/0.6509, allocations: 1.553 MB / 0.6867 GB, free: 8.715 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002878/0.6512, allocations: 127 kB / 0.6868 GB, free: 8.641 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005466/0.6517, allocations: 116 kB / 0.6869 GB, free: 8.605 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005603/0.6574, allocations: 1.617 MB / 0.6885 GB, free: 7.859 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.973e-05/0.6574, allocations: 6.531 kB / 0.6885 GB, free: 7.855 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002844/0.6577, allocations: 52.64 kB / 0.6886 GB, free: 7.816 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-05/0.6578, allocations: 41.33 kB / 0.6886 GB, free: 7.809 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005073/0.6629, allocations: 1.422 MB / 0.69 GB, free: 7.332 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.01367/0.6765, allocations: 7.167 MB / 0.697 GB, free: 2.176 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002531/0.6791, allocations: 0.7943 MB / 0.6978 GB, free: 1.891 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00164/0.6808, allocations: 491.6 kB / 0.6982 GB, free: 1.727 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001532/0.6823, allocations: 1.265 MB / 0.6995 GB, free: 308 kB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.723e-05/0.6824, allocations: 44.86 kB / 0.6995 GB, free: 260 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=68): time 3.326e-06/0.6824, allocations: 0 / 0.6995 GB, free: 260 kB / 0.5137 GB Notification: Performance of matching and sorting (n=68): time 0.01049/0.6929, allocations: 2.11 MB / 0.7016 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.196e-05/0.693, allocations: 110.9 kB / 0.7017 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003533/0.6966, allocations: 1.37 MB / 0.703 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000232/0.6968, allocations: 44.39 kB / 0.7031 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009017/0.6977, allocations: 0.6869 MB / 0.7037 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003881/0.6981, allocations: 239.1 kB / 0.704 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005636/0.6987, allocations: 223.1 kB / 0.7042 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001726/0.6989, allocations: 342 kB / 0.7045 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001932/0.7008, allocations: 487.4 kB / 0.705 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00226/0.7031, allocations: 0.7422 MB / 0.7057 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003665/0.7068, allocations: 1.1 MB / 0.7068 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-05/0.7068, allocations: 1.469 kB / 0.7068 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.005099/0.7119, allocations: 1.508 MB / 0.7082 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/0.7119, allocations: 6.562 kB / 0.7082 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.589e-05/0.7119, allocations: 14.62 kB / 0.7082 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001561/0.7135, allocations: 454.4 kB / 0.7087 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001324/0.7149, allocations: 247.7 kB / 0.7089 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001577/0.7164, allocations: 1.056 MB / 0.7099 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002644/0.7191, allocations: 256.2 kB / 0.7102 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000146/0.7193, allocations: 53.55 kB / 0.7102 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002426/0.7217, allocations: 0.7693 MB / 0.711 GB, free: 9.621 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002034/0.7237, allocations: 0.7423 MB / 0.7117 GB, free: 9.051 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003403/0.7272, allocations: 1.092 MB / 0.7128 GB, free: 8.34 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.478e-06/0.7272, allocations: 4.719 kB / 0.7128 GB, free: 8.34 MB / 0.5294 GB Notification: Performance of matching and sorting (n=108) (initialization_lambda0): time 0.004943/0.7321, allocations: 1.492 MB / 0.7142 GB, free: 7.574 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.7322, allocations: 12.42 kB / 0.7143 GB, free: 7.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.7322, allocations: 6.203 kB / 0.7143 GB, free: 7.57 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001429/0.7336, allocations: 447.5 kB / 0.7147 GB, free: 7.395 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001301/0.7349, allocations: 252.4 kB / 0.7149 GB, free: 7.305 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001443/0.7364, allocations: 1.065 MB / 0.716 GB, free: 6.422 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002586/0.739, allocations: 207.3 kB / 0.7162 GB, free: 6.219 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001517/0.7391, allocations: 60.06 kB / 0.7162 GB, free: 6.16 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 (heaPum.com.isOn,$PRE.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 (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 {(4,23)} Notification: Performance of prepare postOptimizeDAE: time 0.0004314/0.7396, allocations: 236.3 kB / 0.7165 GB, free: 5.922 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005589/0.7401, allocations: 150.2 kB / 0.7166 GB, free: 5.773 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004308/0.7445, allocations: 1.28 MB / 0.7178 GB, free: 4.473 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.577e-05/0.7445, allocations: 4 kB / 0.7179 GB, free: 4.469 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/0.7445, allocations: 0 / 0.7179 GB, free: 4.469 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003367/0.7479, allocations: 1.084 MB / 0.7189 GB, free: 3.352 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008951/0.7568, allocations: 3.379 MB / 0.7222 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.105e-05/0.7569, allocations: 4 kB / 0.7222 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009501/0.7578, allocations: 143.8 kB / 0.7224 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00151/0.7594, allocations: 443.9 kB / 0.7228 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-05/0.7595, allocations: 35.91 kB / 0.7228 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001519/0.761, allocations: 1.052 MB / 0.7238 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.735e-06/0.761, allocations: 7.938 kB / 0.7238 GB, free: 14.06 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004256/0.7653, allocations: 1.35 MB / 0.7252 GB, free: 12.64 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001251/0.7666, allocations: 351.1 kB / 0.7255 GB, free: 12.27 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007219/0.7673, allocations: 20 kB / 0.7255 GB, free: 12.25 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002454/0.7698, allocations: 135.7 kB / 0.7256 GB, free: 12.12 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001697/0.7699, allocations: 64.23 kB / 0.7257 GB, free: 12.06 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001702/0.7701, allocations: 47.95 kB / 0.7258 GB, free: 12.01 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002233/0.7724, allocations: 0.9576 MB / 0.7267 GB, free: 11.05 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7724, allocations: 0 / 0.7267 GB, free: 11.05 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004202/0.7766, allocations: 0.8889 MB / 0.7276 GB, free: 10.16 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 (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 {(4,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001896/0.7785, allocations: 0.5381 MB / 0.7281 GB, free: 9.637 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006729/0.7852, allocations: 1.808 MB / 0.7298 GB, free: 7.836 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.976e-06/0.7853, allocations: 4 kB / 0.7299 GB, free: 7.832 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001832/0.7871, allocations: 0.5178 MB / 0.7304 GB, free: 7.316 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00468/0.7918, allocations: 0.8206 MB / 0.7312 GB, free: 6.543 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006391/0.7982, allocations: 3.066 MB / 0.7342 GB, free: 3.402 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009617/0.7992, allocations: 1.211 MB / 0.7353 GB, free: 2.164 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001962/0.8011, allocations: 338.3 kB / 0.7357 GB, free: 1.836 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003642/0.8015, allocations: 123.4 kB / 0.7358 GB, free: 1.715 MB / 0.545 GB Notification: Performance of SimCode: time 6.91e-07/0.8015, allocations: 0 / 0.7358 GB, free: 1.715 MB / 0.545 GB Notification: Performance of Templates: time 0.06128/0.8628, allocations: 38.23 MB / 0.7731 GB, free: 11.95 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.makefile (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 & ./IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1)