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.007415/0.007415, allocations: 98.72 kB / 15.73 MB, free: 6.051 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.001762/0.001762, allocations: 194.5 kB / 16.67 MB, free: 5.977 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.369/1.369, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7697/0.7697, allocations: 132.2 MB / 422.7 MB, free: 1.688 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 59.91 kB / 0.5813 GB, free: 7.574 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4559/0.4574, allocations: 80.2 MB / 0.6597 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.06939/0.5268, allocations: 69.91 MB / 0.7279 GB, free: 184 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02146/0.5483, allocations: 14.45 MB / 0.7421 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00389/0.5522, allocations: 71.62 kB / 0.7421 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003335/0.5556, allocations: 0.9512 MB / 0.743 GB, free: 0.668 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.008251/0.5639, allocations: 2.663 MB / 0.7456 GB, free: 14 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005651/0.5696, allocations: 1.994 MB / 0.7476 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006866/0.5765, allocations: 4.625 MB / 0.7521 GB, free: 7.387 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002881/0.5794, allocations: 1.61 MB / 0.7537 GB, free: 5.738 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004595/0.584, allocations: 1.816 MB / 0.7555 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002455/0.5865, allocations: 1.273 MB / 0.7567 GB, free: 2.648 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0006007/0.5871, allocations: 192 kB / 0.7569 GB, free: 2.461 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004638/0.5917, allocations: 1.977 MB / 0.7588 GB, free: 492 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007631/0.5925, allocations: 466.4 kB / 0.7593 GB, free: 24 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002106/0.5946, allocations: 1.019 MB / 0.7603 GB, free: 15 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.006806/0.6014, allocations: 3.5 MB / 0.7637 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.6015, allocations: 0 / 0.7637 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.302e-06/0.6015, allocations: 0 / 0.7637 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.481e-05/0.6016, allocations: 3.938 kB / 0.7637 GB, free: 11.49 MB / 0.5919 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.005931/0.6075, allocations: 2.306 MB / 0.7659 GB, free: 9.113 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.6076, allocations: 8.031 kB / 0.7659 GB, free: 9.105 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005038/0.6126, allocations: 0.6539 MB / 0.7666 GB, free: 8.449 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003537/0.6162, allocations: 1.576 MB / 0.7681 GB, free: 6.816 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001862/0.6164, allocations: 128 kB / 0.7682 GB, free: 6.684 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003155/0.6167, allocations: 120 kB / 0.7684 GB, free: 6.566 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004395/0.6211, allocations: 1.61 MB / 0.7699 GB, free: 4.859 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.382e-05/0.6211, allocations: 3.938 kB / 0.7699 GB, free: 4.855 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001726/0.6213, allocations: 52 kB / 0.77 GB, free: 4.805 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.482e-05/0.6214, allocations: 39.92 kB / 0.77 GB, free: 4.766 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004854/0.6262, allocations: 1.413 MB / 0.7714 GB, free: 3.344 MB / 0.5919 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.01151/0.6378, allocations: 7.171 MB / 0.7784 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00227/0.6401, allocations: 0.791 MB / 0.7792 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001534/0.6416, allocations: 482.8 kB / 0.7796 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001421/0.6431, allocations: 1.278 MB / 0.7809 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.096e-05/0.6431, allocations: 43.12 kB / 0.7809 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=68): time 4.398e-06/0.6431, allocations: 4 kB / 0.7809 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of matching and sorting (n=68): time 0.00956/0.6527, allocations: 2.104 MB / 0.783 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.536e-05/0.6528, allocations: 115.4 kB / 0.7831 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002624/0.6554, allocations: 1.379 MB / 0.7844 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001445/0.6556, allocations: 45.7 kB / 0.7845 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007278/0.6563, allocations: 0.6881 MB / 0.7852 GB, free: 4.5 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002768/0.6566, allocations: 236.4 kB / 0.7854 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004347/0.6571, allocations: 230.3 kB / 0.7856 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.6572, allocations: 338 kB / 0.7859 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001781/0.659, allocations: 484.5 kB / 0.7864 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002056/0.6611, allocations: 0.7472 MB / 0.7871 GB, free: 2.375 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003448/0.6645, allocations: 1.098 MB / 0.7882 GB, free: 1.195 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.224e-06/0.6645, allocations: 0 / 0.7882 GB, free: 1.195 MB / 0.6075 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.00494/0.6695, allocations: 1.508 MB / 0.7897 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.594e-05/0.6695, allocations: 8 kB / 0.7897 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.707e-05/0.6695, allocations: 4 kB / 0.7897 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001614/0.6712, allocations: 452.7 kB / 0.7901 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001354/0.6725, allocations: 243.6 kB / 0.7903 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001514/0.6741, allocations: 1.061 MB / 0.7914 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00217/0.6762, allocations: 226.6 kB / 0.7916 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001634/0.6764, allocations: 51.95 kB / 0.7916 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002648/0.6791, allocations: 0.7679 MB / 0.7924 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002048/0.6812, allocations: 0.7432 MB / 0.7931 GB, free: 12 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003356/0.6845, allocations: 1.086 MB / 0.7942 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.272e-06/0.6845, allocations: 0 / 0.7942 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of matching and sorting (n=108) (initialization_lambda0): time 0.004938/0.6895, allocations: 1.504 MB / 0.7956 GB, free: 9.309 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.6895, allocations: 8 kB / 0.7956 GB, free: 9.301 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.6895, allocations: 4 kB / 0.7956 GB, free: 9.297 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001485/0.691, allocations: 454 kB / 0.7961 GB, free: 8.852 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001295/0.6924, allocations: 247.5 kB / 0.7963 GB, free: 8.609 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001591/0.694, allocations: 1.069 MB / 0.7974 GB, free: 7.516 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00233/0.6963, allocations: 179.3 kB / 0.7975 GB, free: 7.34 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001483/0.6965, allocations: 55.89 kB / 0.7976 GB, free: 7.285 MB / 0.6231 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.0005154/0.697, allocations: 236 kB / 0.7978 GB, free: 7.047 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008419/0.6978, allocations: 150.2 kB / 0.798 GB, free: 6.898 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004363/0.7022, allocations: 1.267 MB / 0.7992 GB, free: 5.625 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.946e-05/0.7023, allocations: 7.984 kB / 0.7992 GB, free: 5.617 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.7023, allocations: 0 / 0.7992 GB, free: 5.617 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003234/0.7055, allocations: 1.084 MB / 0.8003 GB, free: 4.496 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008227/0.7137, allocations: 3.383 MB / 0.8036 GB, free: 0.9102 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.521e-05/0.7138, allocations: 4 kB / 0.8036 GB, free: 0.9062 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008597/0.7147, allocations: 147.7 kB / 0.8037 GB, free: 0.7617 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001447/0.7161, allocations: 442.9 kB / 0.8041 GB, free: 336 kB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.23e-05/0.7162, allocations: 23.97 kB / 0.8042 GB, free: 312 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001436/0.7177, allocations: 1.056 MB / 0.8052 GB, free: 15.22 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.612e-06/0.7177, allocations: 8 kB / 0.8052 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00397/0.7217, allocations: 1.35 MB / 0.8065 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008209/0.7225, allocations: 355 kB / 0.8068 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004015/0.7229, allocations: 16 kB / 0.8069 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001755/0.7247, allocations: 115.8 kB / 0.807 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/0.7248, allocations: 60.25 kB / 0.807 GB, free: 13.24 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001169/0.7249, allocations: 39.95 kB / 0.8071 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001875/0.7268, allocations: 0.9771 MB / 0.808 GB, free: 12.22 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7268, allocations: 0 / 0.808 GB, free: 12.22 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003017/0.7299, allocations: 0.9045 MB / 0.8089 GB, free: 11.32 MB / 0.6387 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.001481/0.7313, allocations: 0.5476 MB / 0.8094 GB, free: 10.77 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.006177/0.7375, allocations: 1.787 MB / 0.8112 GB, free: 8.992 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.1e-05/0.7376, allocations: 7.781 kB / 0.8112 GB, free: 8.984 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001763/0.7393, allocations: 0.5132 MB / 0.8117 GB, free: 8.473 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003869/0.7432, allocations: 0.834 MB / 0.8125 GB, free: 7.691 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005788/0.749, allocations: 2.523 MB / 0.815 GB, free: 5.09 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009778/0.75, allocations: 1.211 MB / 0.8162 GB, free: 3.852 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001584/0.7516, allocations: 335.2 kB / 0.8165 GB, free: 3.523 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003819/0.752, allocations: 127.3 kB / 0.8166 GB, free: 3.398 MB / 0.6387 GB Notification: Performance of SimCode: time 8.92e-07/0.752, allocations: 0 / 0.8166 GB, free: 3.398 MB / 0.6387 GB Notification: Performance of Templates: time 0.07126/0.8233, allocations: 39.03 MB / 0.8547 GB, free: 12.81 MB / 0.6856 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)