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.001343/0.001343, allocations: 107.5 kB / 17.02 MB, free: 5.699 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.001446/0.001446, allocations: 196.1 kB / 17.97 MB, free: 5.078 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.325/1.325, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7109/0.7109, allocations: 115.1 MB / 406.9 MB, free: 6.344 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 71.88 kB / 494.8 MB, free: 15.87 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.3005, allocations: 76.14 MB / 0.5576 GB, free: 36.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.05919/0.3597, allocations: 69.9 MB / 0.6258 GB, free: 14.54 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02/0.3797, allocations: 14.47 MB / 0.6399 GB, free: 36 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002555/0.3823, allocations: 71.73 kB / 0.64 GB, free: 15.96 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002617/0.385, allocations: 0.9199 MB / 0.6409 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00684/0.3919, allocations: 2.552 MB / 0.6434 GB, free: 12.48 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004981/0.3969, allocations: 1.983 MB / 0.6453 GB, free: 10.52 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.006006/0.4029, allocations: 4.628 MB / 0.6499 GB, free: 5.883 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002413/0.4053, allocations: 1.616 MB / 0.6514 GB, free: 4.234 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003888/0.4092, allocations: 1.765 MB / 0.6532 GB, free: 2.469 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002007/0.4113, allocations: 1.269 MB / 0.6544 GB, free: 1.195 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003842/0.4117, allocations: 192 kB / 0.6546 GB, free: 1.008 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004003/0.4157, allocations: 1.974 MB / 0.6565 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005203/0.4162, allocations: 466.4 kB / 0.6569 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001312/0.4175, allocations: 1.011 MB / 0.6579 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004796/0.4223, allocations: 3.51 MB / 0.6614 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.4224, allocations: 0 / 0.6614 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.402e-06/0.4224, allocations: 0 / 0.6614 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.336e-05/0.4224, allocations: 0 / 0.6614 GB, free: 10.04 MB / 0.4981 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.004077/0.4265, allocations: 2.302 MB / 0.6636 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.4265, allocations: 8.031 kB / 0.6636 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005198/0.4318, allocations: 0.6427 MB / 0.6642 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002768/0.4345, allocations: 1.59 MB / 0.6658 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001344/0.4347, allocations: 128 kB / 0.6659 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001971/0.4349, allocations: 119.9 kB / 0.666 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003715/0.4386, allocations: 1.614 MB / 0.6676 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.519e-05/0.4387, allocations: 3.984 kB / 0.6676 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001361/0.4388, allocations: 52 kB / 0.6677 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.417e-05/0.4389, allocations: 39.94 kB / 0.6677 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004516/0.4434, allocations: 1.417 MB / 0.6691 GB, free: 1.895 MB / 0.4981 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.009998/0.4534, allocations: 7.161 MB / 0.6761 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002339/0.4558, allocations: 0.7981 MB / 0.6769 GB, free: 9.547 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001583/0.4574, allocations: 492.6 kB / 0.6773 GB, free: 9.066 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001319/0.4587, allocations: 1.267 MB / 0.6786 GB, free: 7.523 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.766e-05/0.4588, allocations: 43.12 kB / 0.6786 GB, free: 7.473 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=68): time 3.066e-06/0.4588, allocations: 0 / 0.6786 GB, free: 7.473 MB / 0.5137 GB Notification: Performance of matching and sorting (n=68): time 0.009802/0.4686, allocations: 2.108 MB / 0.6807 GB, free: 5.336 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.131e-05/0.4687, allocations: 107.4 kB / 0.6808 GB, free: 5.207 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002268/0.4709, allocations: 1.394 MB / 0.6821 GB, free: 3.801 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001436/0.4711, allocations: 41.7 kB / 0.6822 GB, free: 3.754 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.00059/0.4717, allocations: 0.6803 MB / 0.6828 GB, free: 3.066 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002515/0.472, allocations: 240.5 kB / 0.6831 GB, free: 2.828 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004084/0.4724, allocations: 222.3 kB / 0.6833 GB, free: 2.602 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.4725, allocations: 345.9 kB / 0.6836 GB, free: 2.258 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001865/0.4744, allocations: 488.5 kB / 0.6841 GB, free: 1.777 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002099/0.4765, allocations: 0.7403 MB / 0.6848 GB, free: 0.9219 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003516/0.48, allocations: 1.098 MB / 0.6859 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.865e-06/0.48, allocations: 4 kB / 0.6859 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.004977/0.485, allocations: 1.5 MB / 0.6873 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/0.4851, allocations: 12 kB / 0.6873 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/0.4851, allocations: 12 kB / 0.6874 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001595/0.4867, allocations: 441.3 kB / 0.6878 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001455/0.4882, allocations: 247.6 kB / 0.688 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001531/0.4897, allocations: 1.065 MB / 0.6891 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002118/0.4919, allocations: 218.6 kB / 0.6893 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001437/0.492, allocations: 55.94 kB / 0.6893 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002369/0.4944, allocations: 0.7634 MB / 0.6901 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00208/0.4965, allocations: 0.7509 MB / 0.6908 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003488/0.5, allocations: 1.078 MB / 0.6918 GB, free: 9.379 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.884e-06/0.5, allocations: 4 kB / 0.6919 GB, free: 9.375 MB / 0.5294 GB Notification: Performance of matching and sorting (n=108) (initialization_lambda0): time 0.005012/0.505, allocations: 1.508 MB / 0.6933 GB, free: 7.855 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.5051, allocations: 12.09 kB / 0.6933 GB, free: 7.844 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.5051, allocations: 8 kB / 0.6933 GB, free: 7.836 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001499/0.5066, allocations: 452.2 kB / 0.6938 GB, free: 7.398 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001443/0.5081, allocations: 247.6 kB / 0.694 GB, free: 7.156 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001511/0.5096, allocations: 1.06 MB / 0.695 GB, free: 6.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002121/0.5117, allocations: 183.2 kB / 0.6952 GB, free: 5.891 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001392/0.5119, allocations: 55.94 kB / 0.6953 GB, free: 5.836 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.0003192/0.5122, allocations: 232.7 kB / 0.6955 GB, free: 5.602 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003939/0.5126, allocations: 146.2 kB / 0.6956 GB, free: 5.457 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004129/0.5167, allocations: 1.268 MB / 0.6969 GB, free: 4.172 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.431e-05/0.5168, allocations: 11.94 kB / 0.6969 GB, free: 4.16 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.5168, allocations: 0 / 0.6969 GB, free: 4.16 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003451/0.5202, allocations: 1.076 MB / 0.6979 GB, free: 3.047 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007856/0.5281, allocations: 3.399 MB / 0.7013 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-05/0.5282, allocations: 4 kB / 0.7013 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009633/0.5291, allocations: 143.8 kB / 0.7014 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001502/0.5307, allocations: 434.9 kB / 0.7018 GB, free: 14.87 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.803e-05/0.5308, allocations: 31.97 kB / 0.7018 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001467/0.5322, allocations: 1.052 MB / 0.7029 GB, free: 13.76 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.235e-06/0.5323, allocations: 15.92 kB / 0.7029 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004066/0.5363, allocations: 1.35 MB / 0.7042 GB, free: 12.32 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007398/0.5371, allocations: 351.1 kB / 0.7045 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002865/0.5374, allocations: 16 kB / 0.7046 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001721/0.5391, allocations: 121.7 kB / 0.7047 GB, free: 11.83 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001402/0.5393, allocations: 60.25 kB / 0.7047 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001194/0.5394, allocations: 43.94 kB / 0.7048 GB, free: 11.73 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001702/0.5411, allocations: 0.9771 MB / 0.7057 GB, free: 10.75 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.81e-07/0.5411, allocations: 3.938 kB / 0.7057 GB, free: 10.75 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002541/0.5437, allocations: 0.8967 MB / 0.7066 GB, free: 9.848 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.001306/0.545, allocations: 0.5521 MB / 0.7071 GB, free: 9.301 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006417/0.5514, allocations: 1.779 MB / 0.7089 GB, free: 7.523 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.775e-06/0.5515, allocations: 4.125 kB / 0.7089 GB, free: 7.52 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001876/0.5533, allocations: 0.5172 MB / 0.7094 GB, free: 7 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003641/0.557, allocations: 0.818 MB / 0.7102 GB, free: 6.227 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005317/0.5623, allocations: 2.515 MB / 0.7126 GB, free: 3.633 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008082/0.5632, allocations: 1.211 MB / 0.7138 GB, free: 2.395 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001455/0.5646, allocations: 344.4 kB / 0.7142 GB, free: 2.059 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003284/0.565, allocations: 119.4 kB / 0.7143 GB, free: 1.941 MB / 0.545 GB Notification: Performance of SimCode: time 6.71e-07/0.565, allocations: 4 kB / 0.7143 GB, free: 1.938 MB / 0.545 GB Notification: Performance of Templates: time 0.2627/0.8278, allocations: 38.76 MB / 0.7521 GB, free: 165.3 MB / 0.5762 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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1)