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.001347/0.001347, allocations: 113.6 kB / 16.37 MB, free: 6.34 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.00176/0.00176, allocations: 186 kB / 17.3 MB, free: 5.898 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.329/1.329, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7966/0.7966, allocations: 132.2 MB / 423.4 MB, free: 6.625 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 63.08 kB / 0.5819 GB, free: 23.88 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1778/0.1791, allocations: 80.21 MB / 0.6603 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.06827/0.2474, allocations: 69.91 MB / 0.7285 GB, free: 4.266 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02142/0.2688, allocations: 14.44 MB / 0.7427 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003415/0.2723, allocations: 71.62 kB / 0.7427 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003067/0.2754, allocations: 0.9277 MB / 0.7436 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008159/0.2836, allocations: 2.545 MB / 0.7461 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005404/0.289, allocations: 1.975 MB / 0.748 GB, free: 284 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.4063/0.6953, allocations: 4.612 MB / 0.7525 GB, free: 23.28 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003298/0.6987, allocations: 1.617 MB / 0.7541 GB, free: 23.16 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006051/0.7048, allocations: 1.769 MB / 0.7559 GB, free: 23.16 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003848/0.7086, allocations: 1.275 MB / 0.7571 GB, free: 22.98 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0009161/0.7096, allocations: 195.3 kB / 0.7573 GB, free: 22.98 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006594/0.7162, allocations: 1.973 MB / 0.7592 GB, free: 22.98 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0009034/0.7171, allocations: 459.3 kB / 0.7596 GB, free: 22.92 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002388/0.7195, allocations: 1.016 MB / 0.7606 GB, free: 22.66 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00854/0.7281, allocations: 3.502 MB / 0.7641 GB, free: 22.36 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.7281, allocations: 1.188 kB / 0.7641 GB, free: 22.36 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.577e-06/0.7281, allocations: 0.8438 kB / 0.7641 GB, free: 22.36 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.233e-05/0.7282, allocations: 0 / 0.7641 GB, free: 22.36 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: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.006607/0.7348, allocations: 2.292 MB / 0.7663 GB, free: 21.22 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.438e-05/0.7349, allocations: 9.828 kB / 0.7663 GB, free: 21.22 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005279/0.7402, allocations: 0.6588 MB / 0.767 GB, free: 21.11 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003736/0.744, allocations: 1.582 MB / 0.7685 GB, free: 20.69 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001756/0.7442, allocations: 125.6 kB / 0.7686 GB, free: 20.65 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002908/0.7445, allocations: 119 kB / 0.7687 GB, free: 20.65 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004337/0.7488, allocations: 1.614 MB / 0.7703 GB, free: 20.38 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.925e-05/0.7489, allocations: 1.094 kB / 0.7703 GB, free: 20.38 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001645/0.749, allocations: 53.81 kB / 0.7704 GB, free: 20.38 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.732e-05/0.7491, allocations: 45.34 kB / 0.7704 GB, free: 20.38 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004529/0.7536, allocations: 1.419 MB / 0.7718 GB, free: 20.35 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.01083/0.7645, allocations: 7.17 MB / 0.7788 GB, free: 16.84 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002178/0.7667, allocations: 0.7971 MB / 0.7796 GB, free: 16.8 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001502/0.7682, allocations: 487.5 kB / 0.78 GB, free: 16.79 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001058/0.7693, allocations: 1.273 MB / 0.7813 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.898e-05/0.7693, allocations: 43.09 kB / 0.7813 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=68): time 3.326e-06/0.7693, allocations: 1.156 kB / 0.7813 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of matching and sorting (n=68): time 0.0096/0.779, allocations: 2.113 MB / 0.7834 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/0.779, allocations: 111.5 kB / 0.7835 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002217/0.7813, allocations: 1.382 MB / 0.7848 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001965/0.7815, allocations: 40.83 kB / 0.7849 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005572/0.782, allocations: 0.6904 MB / 0.7856 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002459/0.7823, allocations: 235 kB / 0.7858 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000365/0.7827, allocations: 221.3 kB / 0.786 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.472e-05/0.7827, allocations: 341.1 kB / 0.7863 GB, free: 14 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001845/0.7846, allocations: 489.5 kB / 0.7868 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001973/0.7866, allocations: 0.7497 MB / 0.7875 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003235/0.7898, allocations: 1.091 MB / 0.7886 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/0.7899, allocations: 2.469 kB / 0.7886 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.004848/0.7947, allocations: 1.5 MB / 0.79 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.004e-05/0.7948, allocations: 9.875 kB / 0.7901 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.724e-05/0.7948, allocations: 8.375 kB / 0.7901 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00152/0.7963, allocations: 459 kB / 0.7905 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001294/0.7976, allocations: 247.2 kB / 0.7907 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001339/0.799, allocations: 1.061 MB / 0.7918 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002485/0.8015, allocations: 211.4 kB / 0.792 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001487/0.8016, allocations: 54 kB / 0.792 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002291/0.8039, allocations: 0.7686 MB / 0.7928 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001813/0.8058, allocations: 0.7374 MB / 0.7935 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003152/0.8089, allocations: 1.086 MB / 0.7946 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.49e-06/0.8089, allocations: 2.906 kB / 0.7946 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of matching and sorting (n=108) (initialization_lambda0): time 0.005027/0.814, allocations: 1.501 MB / 0.796 GB, free: 9.531 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/0.814, allocations: 11.66 kB / 0.796 GB, free: 9.527 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.814, allocations: 7.156 kB / 0.796 GB, free: 9.527 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001531/0.8156, allocations: 459.4 kB / 0.7965 GB, free: 9.34 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001286/0.8169, allocations: 242.1 kB / 0.7967 GB, free: 9.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001299/0.8182, allocations: 1.065 MB / 0.7977 GB, free: 8.457 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002365/0.8206, allocations: 180.3 kB / 0.7979 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001103/0.8207, allocations: 55.44 kB / 0.798 GB, free: 8.34 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: 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.0003797/0.8211, allocations: 242 kB / 0.7982 GB, free: 8.125 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003584/0.8214, allocations: 141.2 kB / 0.7983 GB, free: 8.055 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003793/0.8252, allocations: 1.273 MB / 0.7996 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.468e-05/0.8253, allocations: 5.969 kB / 0.7996 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.8253, allocations: 3.938 kB / 0.7996 GB, free: 7.328 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003073/0.8284, allocations: 1.087 MB / 0.8007 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007419/0.8358, allocations: 3.384 MB / 0.804 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/0.8358, allocations: 3.219 kB / 0.804 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008705/0.8367, allocations: 149.1 kB / 0.8041 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001343/0.8381, allocations: 431.3 kB / 0.8045 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-05/0.8382, allocations: 26.25 kB / 0.8045 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001245/0.8394, allocations: 1.071 MB / 0.8056 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.8394, allocations: 3.625 kB / 0.8056 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003985/0.8434, allocations: 1.349 MB / 0.8069 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009228/0.8444, allocations: 357.1 kB / 0.8072 GB, free: 1.961 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002775/0.8446, allocations: 17.31 kB / 0.8073 GB, free: 1.953 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001613/0.8463, allocations: 114.8 kB / 0.8074 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/0.8464, allocations: 57.02 kB / 0.8074 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.925e-05/0.8465, allocations: 50.27 kB / 0.8075 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001475/0.848, allocations: 0.9726 MB / 0.8084 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9.52e-07/0.848, allocations: 0 / 0.8084 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002636/0.8506, allocations: 0.8928 MB / 0.8093 GB, free: 320 kB / 0.5762 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.001356/0.852, allocations: 0.5544 MB / 0.8098 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.006325/0.8583, allocations: 1.789 MB / 0.8116 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.033e-05/0.8584, allocations: 0 / 0.8116 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001824/0.8602, allocations: 0.5229 MB / 0.8121 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004271/0.8645, allocations: 0.8228 MB / 0.8129 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00567/0.8702, allocations: 2.558 MB / 0.8154 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00081/0.871, allocations: 1.195 MB / 0.8166 GB, free: 8.969 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005553/0.8716, allocations: 147.3 kB / 0.8167 GB, free: 8.824 MB / 0.5919 GB Notification: Performance of SimCode: time 7.82e-07/0.8716, allocations: 0 / 0.8167 GB, free: 8.824 MB / 0.5919 GB Notification: Performance of Templates: time 0.04964/0.9212, allocations: 35.83 MB / 0.8517 GB, free: 5.297 MB / 0.6231 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)