Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static") translateModel(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0009922/0.0009921, allocations: 96.89 kB / 15.69 MB, free: 480 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.001067/0.001067, allocations: 175.5 kB / 16.57 MB, free: 6.855 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.284/1.284, allocations: 223.2 MB / 240.5 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6557/0.6557, allocations: 113.8 MB / 405.4 MB, free: 4.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003193/0.0003194, allocations: 11.98 kB / 493 MB, free: 8.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1258, allocations: 77.15 MB / 0.5568 GB, free: 11.6 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.2835/0.4093, allocations: 58.48 MB / 0.614 GB, free: 3.336 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01731/0.4266, allocations: 12.23 MB / 0.6259 GB, free: 10.64 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002402/0.4291, allocations: 64.5 kB / 0.626 GB, free: 10.61 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002523/0.4316, allocations: 0.7874 MB / 0.6267 GB, free: 10.16 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006925/0.4385, allocations: 2.235 MB / 0.6289 GB, free: 8.695 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005666/0.4442, allocations: 1.9 MB / 0.6308 GB, free: 7.695 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.005298/0.4495, allocations: 2.655 MB / 0.6334 GB, free: 5.949 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002005/0.4516, allocations: 1.175 MB / 0.6345 GB, free: 5.227 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002969/0.4546, allocations: 1.257 MB / 0.6357 GB, free: 4.461 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002055/0.4566, allocations: 0.8127 MB / 0.6365 GB, free: 3.984 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003242/0.457, allocations: 66.69 kB / 0.6366 GB, free: 3.984 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003544/0.4605, allocations: 1.168 MB / 0.6377 GB, free: 3.488 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003586/0.4609, allocations: 297.9 kB / 0.638 GB, free: 3.273 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006323/0.4615, allocations: 406.4 kB / 0.6384 GB, free: 3.043 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002865/0.4644, allocations: 2.422 MB / 0.6408 GB, free: 1.367 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.484e-06/0.4644, allocations: 0 / 0.6408 GB, free: 1.367 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.4644, allocations: 0 / 0.6408 GB, free: 1.367 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.623e-05/0.4645, allocations: 0 / 0.6408 GB, free: 1.367 MB / 462.1 MB 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.003291/0.4678, allocations: 1.922 MB / 0.6426 GB, free: 15.91 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.4678, allocations: 10.12 kB / 0.6426 GB, free: 15.91 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004858/0.4727, allocations: 0.6894 MB / 0.6433 GB, free: 15.63 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002337/0.475, allocations: 1.437 MB / 0.6447 GB, free: 14.46 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001156/0.4752, allocations: 124.4 kB / 0.6448 GB, free: 14.39 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001595/0.4753, allocations: 123.2 kB / 0.645 GB, free: 14.34 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003496/0.4788, allocations: 1.631 MB / 0.6466 GB, free: 13.27 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.374e-05/0.4789, allocations: 3.938 kB / 0.6466 GB, free: 13.27 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000137/0.479, allocations: 51.62 kB / 0.6466 GB, free: 13.23 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.021e-05/0.4791, allocations: 38.5 kB / 0.6466 GB, free: 13.22 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00438/0.4834, allocations: 1.469 MB / 0.6481 GB, free: 12.23 MB / 478.1 MB 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.009218/0.4927, allocations: 7.246 MB / 0.6552 GB, free: 4.598 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002209/0.4949, allocations: 0.8058 MB / 0.6559 GB, free: 3.789 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001189/0.4961, allocations: 1.271 MB / 0.6572 GB, free: 2.242 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.4961, allocations: 43.12 kB / 0.6572 GB, free: 2.191 MB / 478.1 MB Notification: Performance of pre-optimization done (n=68): time 2.304e-06/0.4962, allocations: 3.938 kB / 0.6572 GB, free: 2.188 MB / 478.1 MB Notification: Performance of matching and sorting (n=68): time 0.009419/0.5056, allocations: 2.206 MB / 0.6594 GB, free: 15.96 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.799e-05/0.5056, allocations: 119.3 kB / 0.6595 GB, free: 15.82 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001913/0.5076, allocations: 1.402 MB / 0.6609 GB, free: 14.4 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.502e-05/0.5077, allocations: 45.7 kB / 0.6609 GB, free: 14.35 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005803/0.5083, allocations: 0.692 MB / 0.6616 GB, free: 13.65 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002039/0.5085, allocations: 232.7 kB / 0.6618 GB, free: 13.42 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.919e-05/0.5085, allocations: 16 kB / 0.6618 GB, free: 13.41 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.5087, allocations: 338 kB / 0.6621 GB, free: 13.07 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001973/0.5107, allocations: 0.4899 MB / 0.6626 GB, free: 12.58 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001989/0.5127, allocations: 0.7628 MB / 0.6634 GB, free: 11.71 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001865/0.5145, allocations: 0.5457 MB / 0.6639 GB, free: 11.17 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.5146, allocations: 0 / 0.6639 GB, free: 11.17 MB / 494.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.004576/0.5191, allocations: 1.563 MB / 0.6654 GB, free: 9.594 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007409/0.5199, allocations: 2.481 MB / 0.6678 GB, free: 6.961 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.5199, allocations: 8 kB / 0.6679 GB, free: 6.953 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001549/0.5215, allocations: 470 kB / 0.6683 GB, free: 6.496 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001358/0.5228, allocations: 255.6 kB / 0.6685 GB, free: 6.246 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001421/0.5243, allocations: 1.072 MB / 0.6696 GB, free: 5.148 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002288/0.5266, allocations: 282.8 kB / 0.6699 GB, free: 4.871 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001243/0.5267, allocations: 59.94 kB / 0.6699 GB, free: 4.812 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/0.5267, allocations: 4 kB / 0.6699 GB, free: 4.809 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004334/0.5311, allocations: 1.387 MB / 0.6713 GB, free: 3.418 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.5311, allocations: 4 kB / 0.6713 GB, free: 3.414 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001428/0.5325, allocations: 464.1 kB / 0.6717 GB, free: 2.961 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001326/0.5339, allocations: 259.6 kB / 0.672 GB, free: 2.707 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001371/0.5353, allocations: 1.071 MB / 0.673 GB, free: 1.609 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002037/0.5373, allocations: 250.7 kB / 0.6733 GB, free: 1.363 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001098/0.5374, allocations: 51.95 kB / 0.6733 GB, free: 1.312 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.heaPum.com.isOn,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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 23} Notification: Performance of prepare postOptimizeDAE: time 0.0007299/0.5382, allocations: 448.8 kB / 0.6737 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002653/0.5384, allocations: 146.2 kB / 0.6739 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003979/0.5424, allocations: 1.319 MB / 0.6752 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.639e-05/0.5425, allocations: 12.2 kB / 0.6752 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.5425, allocations: 0 / 0.6752 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003374/0.5459, allocations: 1.135 MB / 0.6763 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007763/0.5536, allocations: 3.461 MB / 0.6797 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/0.5537, allocations: 8.188 kB / 0.6797 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009204/0.5546, allocations: 155.8 kB / 0.6798 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001438/0.5561, allocations: 452 kB / 0.6803 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-05/0.5561, allocations: 31.97 kB / 0.6803 GB, free: 9.902 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001382/0.5575, allocations: 1.067 MB / 0.6813 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/0.5575, allocations: 4 kB / 0.6813 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003978/0.5615, allocations: 1.63 MB / 0.6829 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007732/0.5623, allocations: 395 kB / 0.6833 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002166/0.5625, allocations: 20 kB / 0.6833 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001665/0.5642, allocations: 155.7 kB / 0.6835 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/0.5643, allocations: 60.25 kB / 0.6835 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.337e-05/0.5644, allocations: 51.89 kB / 0.6836 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001541/0.566, allocations: 0.9888 MB / 0.6845 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.566, allocations: 0 / 0.6845 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002334/0.5683, allocations: 0.8967 MB / 0.6854 GB, free: 4.41 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.001029/0.5694, allocations: 0.5499 MB / 0.686 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006098/0.5755, allocations: 1.838 MB / 0.6877 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.184e-06/0.5755, allocations: 7.781 kB / 0.6878 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001797/0.5773, allocations: 0.537 MB / 0.6883 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003614/0.5809, allocations: 0.7708 MB / 0.689 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005272/0.5862, allocations: 2.986 MB / 0.6919 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007322/0.587, allocations: 1.242 MB / 0.6932 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001613/0.5886, allocations: 349.9 kB / 0.6935 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002798/0.5889, allocations: 123.3 kB / 0.6936 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of SimCode: time 3.81e-07/0.5889, allocations: 0 / 0.6936 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of Templates: time 0.05422/0.6431, allocations: 36.41 MB / 0.7292 GB, free: 7.941 MB / 0.545 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1)