Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static") translateModel(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001189/0.00119, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 196.1 kB / 16.79 MB, free: 6.809 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.366/1.366, allocations: 222.9 MB / 240.5 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9882/0.9882, allocations: 135.1 MB / 425.8 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 63.31 kB / 0.5053 GB, free: 5.754 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1765/0.1777, allocations: 80.92 MB / 0.5843 GB, free: 4.992 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.3586/0.5364, allocations: 69.45 MB / 0.6522 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01803/0.5544, allocations: 14.63 MB / 0.6665 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003542/0.558, allocations: 69.31 kB / 0.6665 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002881/0.561, allocations: 0.7522 MB / 0.6673 GB, free: 388 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007868/0.5689, allocations: 2.354 MB / 0.6696 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005658/0.5746, allocations: 1.769 MB / 0.6713 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.009579/0.5842, allocations: 5.857 MB / 0.677 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002918/0.5871, allocations: 1.333 MB / 0.6783 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004381/0.5915, allocations: 1.475 MB / 0.6797 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003134/0.5947, allocations: 1.245 MB / 0.681 GB, free: 9.867 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0005146/0.5952, allocations: 87.47 kB / 0.681 GB, free: 9.867 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005474/0.6007, allocations: 1.761 MB / 0.6828 GB, free: 9.281 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0007632/0.6015, allocations: 363.2 kB / 0.6831 GB, free: 9.086 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002128/0.6037, allocations: 0.9139 MB / 0.684 GB, free: 8.559 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.005324/0.609, allocations: 2.691 MB / 0.6866 GB, free: 7.68 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.609, allocations: 0 / 0.6866 GB, free: 7.68 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6091, allocations: 0 / 0.6866 GB, free: 7.68 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.5e-05/0.6091, allocations: 0 / 0.6866 GB, free: 7.68 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.00617/0.6153, allocations: 2.298 MB / 0.6889 GB, free: 6.188 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.6154, allocations: 10.7 kB / 0.6889 GB, free: 6.188 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005606/0.621, allocations: 0.6567 MB / 0.6895 GB, free: 6.062 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003493/0.6245, allocations: 1.549 MB / 0.691 GB, free: 5.098 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001764/0.6247, allocations: 126.2 kB / 0.6912 GB, free: 5.023 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002758/0.625, allocations: 115.8 kB / 0.6913 GB, free: 4.988 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004597/0.6296, allocations: 1.622 MB / 0.6929 GB, free: 4.238 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.611e-05/0.6297, allocations: 5.344 kB / 0.6929 GB, free: 4.234 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001759/0.6298, allocations: 53.62 kB / 0.6929 GB, free: 4.195 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.749e-05/0.6299, allocations: 38.16 kB / 0.6929 GB, free: 4.191 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004901/0.6348, allocations: 1.417 MB / 0.6943 GB, free: 3.719 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.0114/0.6462, allocations: 7.179 MB / 0.7013 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002453/0.6487, allocations: 0.7879 MB / 0.7021 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001676/0.6504, allocations: 482.6 kB / 0.7026 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001348/0.6518, allocations: 1.271 MB / 0.7038 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.683e-05/0.6519, allocations: 39.44 kB / 0.7038 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=68): time 4.909e-06/0.6519, allocations: 5.094 kB / 0.7039 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of matching and sorting (n=68): time 0.01062/0.6625, allocations: 2.114 MB / 0.7059 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.244e-05/0.6626, allocations: 111.2 kB / 0.706 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003299/0.6659, allocations: 1.368 MB / 0.7074 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000231/0.6662, allocations: 44.61 kB / 0.7074 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007841/0.667, allocations: 0.6842 MB / 0.7081 GB, free: 9.812 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003618/0.6673, allocations: 246.2 kB / 0.7083 GB, free: 9.598 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005301/0.6679, allocations: 223.3 kB / 0.7085 GB, free: 9.457 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.668, allocations: 341.8 kB / 0.7088 GB, free: 9.125 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00203/0.6701, allocations: 486.7 kB / 0.7093 GB, free: 8.883 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00223/0.6723, allocations: 0.7479 MB / 0.71 GB, free: 8.309 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003824/0.6761, allocations: 1.083 MB / 0.7111 GB, free: 7.613 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.089e-05/0.6762, allocations: 6.281 kB / 0.7111 GB, free: 7.609 MB / 0.5294 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.005629/0.6818, allocations: 1.506 MB / 0.7126 GB, free: 6.832 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.406e-05/0.6819, allocations: 8.25 kB / 0.7126 GB, free: 6.832 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.63e-05/0.6819, allocations: 5.5 kB / 0.7126 GB, free: 6.832 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001768/0.6837, allocations: 457.5 kB / 0.713 GB, free: 6.645 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001463/0.6852, allocations: 236.1 kB / 0.7132 GB, free: 6.57 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001642/0.6868, allocations: 1.067 MB / 0.7143 GB, free: 5.758 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002771/0.6896, allocations: 258.9 kB / 0.7145 GB, free: 5.617 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001712/0.6898, allocations: 54.47 kB / 0.7146 GB, free: 5.594 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002631/0.6924, allocations: 0.772 MB / 0.7153 GB, free: 5.137 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002218/0.6947, allocations: 0.7415 MB / 0.7161 GB, free: 4.566 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003652/0.6983, allocations: 1.081 MB / 0.7171 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.596e-06/0.6984, allocations: 6.156 kB / 0.7171 GB, free: 3.867 MB / 0.5294 GB Notification: Performance of matching and sorting (n=108) (initialization_lambda0): time 0.005505/0.7039, allocations: 1.501 MB / 0.7186 GB, free: 2.738 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.7039, allocations: 8 kB / 0.7186 GB, free: 2.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.7039, allocations: 8 kB / 0.7186 GB, free: 2.723 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001556/0.7055, allocations: 452.7 kB / 0.719 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001465/0.707, allocations: 243.6 kB / 0.7193 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001606/0.7086, allocations: 1.058 MB / 0.7203 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002797/0.7114, allocations: 223.2 kB / 0.7205 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001967/0.7116, allocations: 51.95 kB / 0.7206 GB, free: 0.6914 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.0004908/0.7121, allocations: 236 kB / 0.7208 GB, free: 464 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006739/0.7128, allocations: 146.2 kB / 0.7209 GB, free: 316 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004566/0.7174, allocations: 1.278 MB / 0.7222 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.409e-05/0.7174, allocations: 8 kB / 0.7222 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/0.7175, allocations: 3.984 kB / 0.7222 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003675/0.7211, allocations: 1.084 MB / 0.7232 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009226/0.7304, allocations: 3.371 MB / 0.7265 GB, free: 10.31 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.524e-05/0.7304, allocations: 4 kB / 0.7265 GB, free: 10.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000969/0.7314, allocations: 151.9 kB / 0.7267 GB, free: 10.16 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001563/0.733, allocations: 444.3 kB / 0.7271 GB, free: 9.723 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.831e-05/0.7331, allocations: 31.91 kB / 0.7271 GB, free: 9.691 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001541/0.7347, allocations: 1.053 MB / 0.7282 GB, free: 8.613 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/0.7347, allocations: 15.98 kB / 0.7282 GB, free: 8.598 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004452/0.7391, allocations: 1.346 MB / 0.7295 GB, free: 7.18 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001058/0.7402, allocations: 351.1 kB / 0.7298 GB, free: 6.816 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005665/0.7408, allocations: 16 kB / 0.7299 GB, free: 6.801 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002326/0.7431, allocations: 143.8 kB / 0.73 GB, free: 6.66 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001604/0.7433, allocations: 56.25 kB / 0.73 GB, free: 6.605 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001645/0.7435, allocations: 39.95 kB / 0.7301 GB, free: 6.566 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002035/0.7455, allocations: 0.9693 MB / 0.731 GB, free: 5.598 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.41e-07/0.7455, allocations: 0 / 0.731 GB, free: 5.598 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00402/0.7496, allocations: 0.8811 MB / 0.7319 GB, free: 4.715 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.001872/0.7515, allocations: 0.554 MB / 0.7324 GB, free: 4.172 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007056/0.7585, allocations: 1.764 MB / 0.7342 GB, free: 2.41 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.015e-05/0.7586, allocations: 448 / 0.7342 GB, free: 2.41 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00203/0.7606, allocations: 0.5251 MB / 0.7347 GB, free: 1.887 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005212/0.7659, allocations: 0.7759 MB / 0.7354 GB, free: 1.125 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007054/0.7729, allocations: 3.096 MB / 0.7384 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00103/0.774, allocations: 1.211 MB / 0.7396 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006458/0.7747, allocations: 139.3 kB / 0.7398 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of SimCode: time 1.042e-06/0.7747, allocations: 0 / 0.7398 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of Templates: time 0.05012/0.8248, allocations: 35.61 MB / 0.7745 GB, free: 9.164 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1)