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.001631/0.001631, allocations: 104.2 kB / 16.4 MB, free: 6.512 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.001777/0.001777, allocations: 181.8 kB / 17.34 MB, free: 5.727 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.47/1.47, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8807/0.8807, allocations: 135.2 MB / 426.4 MB, free: 4.066 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 63.75 kB / 0.5863 GB, free: 21.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1685/0.1704, allocations: 80.93 MB / 0.6654 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.07937/0.2498, allocations: 70.04 MB / 0.7338 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02425/0.274, allocations: 14.47 MB / 0.7479 GB, free: 0.9492 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003218/0.2773, allocations: 71.56 kB / 0.748 GB, free: 0.8789 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.3865/0.6637, allocations: 0.9518 MB / 0.7489 GB, free: 20.61 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007944/0.6717, allocations: 2.667 MB / 0.7515 GB, free: 20.61 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005288/0.677, allocations: 1.977 MB / 0.7534 GB, free: 20.59 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00757/0.6845, allocations: 4.631 MB / 0.7579 GB, free: 20.59 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00273/0.6873, allocations: 1.324 MB / 0.7592 GB, free: 20.48 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00531/0.6926, allocations: 1.815 MB / 0.761 GB, free: 20.47 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0034/0.696, allocations: 1.268 MB / 0.7622 GB, free: 20.24 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005586/0.6965, allocations: 196.9 kB / 0.7624 GB, free: 20.24 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00569/0.7022, allocations: 1.985 MB / 0.7644 GB, free: 20.21 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007421/0.703, allocations: 474.3 kB / 0.7648 GB, free: 20.14 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001943/0.7049, allocations: 1.017 MB / 0.7658 GB, free: 19.88 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007733/0.7126, allocations: 3.522 MB / 0.7693 GB, free: 19.46 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.7127, allocations: 1.094 kB / 0.7693 GB, free: 19.46 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.164e-06/0.7127, allocations: 0 / 0.7693 GB, free: 19.46 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.14e-05/0.7127, allocations: 0 / 0.7693 GB, free: 19.46 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.005681/0.7184, allocations: 2.352 MB / 0.7716 GB, free: 18.27 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.7184, allocations: 13.73 kB / 0.7716 GB, free: 18.27 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005036/0.7235, allocations: 0.6644 MB / 0.7722 GB, free: 18.14 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003179/0.7267, allocations: 1.594 MB / 0.7738 GB, free: 17.71 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001495/0.7268, allocations: 125.4 kB / 0.7739 GB, free: 17.68 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000199/0.727, allocations: 118.3 kB / 0.774 GB, free: 17.68 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003875/0.7309, allocations: 1.611 MB / 0.7756 GB, free: 17.41 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.908e-05/0.7309, allocations: 6.391 kB / 0.7756 GB, free: 17.41 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001388/0.731, allocations: 50.38 kB / 0.7756 GB, free: 17.41 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.223e-05/0.7311, allocations: 39.03 kB / 0.7757 GB, free: 17.41 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004477/0.7356, allocations: 1.423 MB / 0.7771 GB, free: 17.38 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.01024/0.7458, allocations: 7.178 MB / 0.7841 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002228/0.7481, allocations: 0.7473 MB / 0.7848 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001453/0.7495, allocations: 462.4 kB / 0.7852 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00101/0.7505, allocations: 1.262 MB / 0.7865 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.704e-05/0.7506, allocations: 48.73 kB / 0.7865 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=68): time 2.535e-06/0.7506, allocations: 3.562 kB / 0.7865 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of matching and sorting (n=68): time 0.009285/0.7598, allocations: 2.113 MB / 0.7886 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.799e-05/0.7599, allocations: 114.2 kB / 0.7887 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002185/0.7621, allocations: 1.372 MB / 0.79 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001762/0.7622, allocations: 47.94 kB / 0.7901 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000498/0.7627, allocations: 0.6997 MB / 0.7908 GB, free: 9.512 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002171/0.763, allocations: 247.4 kB / 0.791 GB, free: 9.305 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003368/0.7633, allocations: 222.4 kB / 0.7912 GB, free: 9.164 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.285e-05/0.7634, allocations: 339.1 kB / 0.7915 GB, free: 8.836 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001708/0.7651, allocations: 491.1 kB / 0.792 GB, free: 8.594 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00191/0.767, allocations: 0.7423 MB / 0.7927 GB, free: 8.027 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003213/0.7702, allocations: 1.095 MB / 0.7938 GB, free: 7.344 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.306e-06/0.7702, allocations: 6 kB / 0.7938 GB, free: 7.34 MB / 0.5762 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.004755/0.775, allocations: 1.497 MB / 0.7953 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.775, allocations: 8.344 kB / 0.7953 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.775, allocations: 9.375 kB / 0.7953 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001437/0.7764, allocations: 463 kB / 0.7957 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001254/0.7777, allocations: 247.1 kB / 0.796 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001316/0.779, allocations: 1.063 MB / 0.797 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002258/0.7813, allocations: 216.2 kB / 0.7972 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001128/0.7814, allocations: 52.55 kB / 0.7973 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002207/0.7836, allocations: 0.7756 MB / 0.798 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001826/0.7854, allocations: 0.733 MB / 0.7987 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003146/0.7885, allocations: 1.09 MB / 0.7998 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.172e-06/0.7886, allocations: 2.719 kB / 0.7998 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of matching and sorting (n=108) (initialization_lambda0): time 0.004663/0.7932, allocations: 1.492 MB / 0.8013 GB, free: 2.992 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.7932, allocations: 9.75 kB / 0.8013 GB, free: 2.992 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.7932, allocations: 6.125 kB / 0.8013 GB, free: 2.992 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001436/0.7947, allocations: 450.1 kB / 0.8017 GB, free: 2.812 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001288/0.796, allocations: 250.9 kB / 0.8019 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001271/0.7972, allocations: 1.057 MB / 0.803 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00232/0.7996, allocations: 184.2 kB / 0.8031 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001116/0.7997, allocations: 51.23 kB / 0.8032 GB, free: 1.812 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.00035/0.8, allocations: 238.4 kB / 0.8034 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003584/0.8004, allocations: 160 kB / 0.8036 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003811/0.8042, allocations: 1.256 MB / 0.8048 GB, free: 0.793 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.478e-05/0.8042, allocations: 11.98 kB / 0.8048 GB, free: 0.7891 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.8042, allocations: 3.938 kB / 0.8048 GB, free: 0.7852 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003081/0.8073, allocations: 1.076 MB / 0.8059 GB, free: 164 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008465/0.8158, allocations: 3.387 MB / 0.8092 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.646e-06/0.8158, allocations: 2.594 kB / 0.8092 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008726/0.8166, allocations: 151 kB / 0.8093 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001457/0.8181, allocations: 438.3 kB / 0.8097 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.901e-05/0.8182, allocations: 27.97 kB / 0.8098 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001623/0.8198, allocations: 1.059 MB / 0.8108 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.494e-06/0.8198, allocations: 12 kB / 0.8108 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004322/0.8241, allocations: 1.345 MB / 0.8121 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009698/0.8251, allocations: 359.8 kB / 0.8125 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002954/0.8254, allocations: 19.98 kB / 0.8125 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001596/0.827, allocations: 119.5 kB / 0.8126 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001316/0.8271, allocations: 51.41 kB / 0.8127 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000105/0.8272, allocations: 43.95 kB / 0.8127 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001846/0.8291, allocations: 0.9771 MB / 0.8136 GB, free: 9.242 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8291, allocations: 0 / 0.8136 GB, free: 9.242 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.003047/0.8321, allocations: 0.9082 MB / 0.8145 GB, free: 8.332 MB / 0.5919 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.001541/0.8337, allocations: 0.5498 MB / 0.8151 GB, free: 7.824 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.006537/0.8402, allocations: 1.716 MB / 0.8167 GB, free: 6.168 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.279e-05/0.8402, allocations: 4 kB / 0.8167 GB, free: 6.164 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00189/0.8421, allocations: 0.4964 MB / 0.8172 GB, free: 5.691 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004385/0.8465, allocations: 0.8236 MB / 0.818 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005985/0.8525, allocations: 2.59 MB / 0.8206 GB, free: 2.238 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009725/0.8535, allocations: 1.206 MB / 0.8217 GB, free: 1.004 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006102/0.8541, allocations: 139.3 kB / 0.8219 GB, free: 0.8672 MB / 0.5919 GB Notification: Performance of SimCode: time 8.52e-07/0.8541, allocations: 4 kB / 0.8219 GB, free: 0.8633 MB / 0.5919 GB Notification: Performance of Templates: time 0.05397/0.908, allocations: 36.13 MB / 0.8572 GB, free: 13.02 MB / 0.6387 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)