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.0008834/0.0008835, allocations: 94.72 kB / 16.67 MB, free: 5.754 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.001003/0.001003, allocations: 180.8 kB / 17.58 MB, free: 5.438 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.435/1.435, allocations: 223.3 MB / 241.6 MB, free: 14.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7487/0.7487, allocations: 115.5 MB / 408.2 MB, free: 7.09 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003733/0.000373, allocations: 8 kB / 496.5 MB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4457/0.4461, allocations: 77.52 MB / 0.5606 GB, free: 35.54 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.06361/0.5098, allocations: 68.22 MB / 0.6272 GB, free: 15.04 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0245/0.5343, allocations: 14.46 MB / 0.6413 GB, free: 0.5391 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003973/0.5383, allocations: 67.56 kB / 0.6414 GB, free: 484 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003243/0.5416, allocations: 0.7537 MB / 0.6421 GB, free: 15.71 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008848/0.5505, allocations: 2.353 MB / 0.6444 GB, free: 13.36 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005931/0.5564, allocations: 1.787 MB / 0.6462 GB, free: 11.6 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.008673/0.5651, allocations: 5.85 MB / 0.6519 GB, free: 5.734 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002976/0.5681, allocations: 1.291 MB / 0.6531 GB, free: 4.41 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003973/0.5721, allocations: 1.427 MB / 0.6545 GB, free: 2.977 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002678/0.5748, allocations: 1.186 MB / 0.6557 GB, free: 1.785 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006208/0.5754, allocations: 64 kB / 0.6557 GB, free: 1.723 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005213/0.5807, allocations: 1.735 MB / 0.6574 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008415/0.5815, allocations: 334.4 kB / 0.6578 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002584/0.5841, allocations: 0.8957 MB / 0.6586 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.005279/0.5894, allocations: 2.638 MB / 0.6612 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.476e-06/0.5894, allocations: 0 / 0.6612 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.805e-06/0.5895, allocations: 0 / 0.6612 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001156/0.5896, allocations: 0 / 0.6612 GB, free: 12.11 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.006074/0.5957, allocations: 1.944 MB / 0.6631 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.573e-05/0.5957, allocations: 8.031 kB / 0.6631 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005695/0.6014, allocations: 0.6934 MB / 0.6638 GB, free: 9.391 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004558/0.606, allocations: 1.556 MB / 0.6653 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002413/0.6063, allocations: 120 kB / 0.6654 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000491/0.6068, allocations: 123.9 kB / 0.6655 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005138/0.6119, allocations: 1.649 MB / 0.6671 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.595e-05/0.612, allocations: 0 / 0.6671 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002315/0.6122, allocations: 48 kB / 0.6672 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.799e-05/0.6123, allocations: 39.94 kB / 0.6672 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005137/0.6175, allocations: 1.476 MB / 0.6687 GB, free: 4.219 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.01255/0.63, allocations: 7.202 MB / 0.6757 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002513/0.6326, allocations: 0.8293 MB / 0.6765 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001723/0.6343, allocations: 0.5027 MB / 0.677 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001442/0.6358, allocations: 1.267 MB / 0.6782 GB, free: 9.746 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.666e-05/0.6359, allocations: 43.12 kB / 0.6783 GB, free: 9.695 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=68): time 2.845e-06/0.6359, allocations: 4 kB / 0.6783 GB, free: 9.691 MB / 0.5137 GB Notification: Performance of matching and sorting (n=68): time 0.011/0.6469, allocations: 2.244 MB / 0.6805 GB, free: 7.422 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.651e-05/0.647, allocations: 111.4 kB / 0.6806 GB, free: 7.285 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002993/0.65, allocations: 1.367 MB / 0.6819 GB, free: 5.906 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001897/0.6502, allocations: 45.7 kB / 0.682 GB, free: 5.855 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007844/0.651, allocations: 0.6881 MB / 0.6826 GB, free: 5.16 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003818/0.6514, allocations: 236.5 kB / 0.6829 GB, free: 4.926 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001729/0.6516, allocations: 81.67 kB / 0.6829 GB, free: 4.84 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.6518, allocations: 334 kB / 0.6833 GB, free: 4.508 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00198/0.6538, allocations: 0.4938 MB / 0.6837 GB, free: 4.016 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002229/0.656, allocations: 0.7706 MB / 0.6845 GB, free: 3.129 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003744/0.6598, allocations: 1.148 MB / 0.6856 GB, free: 1.898 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.538e-06/0.6598, allocations: 0 / 0.6856 GB, free: 1.898 MB / 0.5137 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.005239/0.665, allocations: 1.566 MB / 0.6871 GB, free: 328 kB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002413/0.6653, allocations: 276.8 kB / 0.6874 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/0.6653, allocations: 7.938 kB / 0.6874 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001734/0.667, allocations: 456.1 kB / 0.6879 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001422/0.6685, allocations: 259.5 kB / 0.6881 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001647/0.6701, allocations: 1.077 MB / 0.6892 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002578/0.6727, allocations: 270.8 kB / 0.6894 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000146/0.6729, allocations: 55.94 kB / 0.6895 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.6729, allocations: 4 kB / 0.6895 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004667/0.6776, allocations: 1.406 MB / 0.6908 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.942e-05/0.6776, allocations: 8 kB / 0.6908 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001543/0.6792, allocations: 458.7 kB / 0.6913 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001391/0.6806, allocations: 259.6 kB / 0.6915 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001598/0.6822, allocations: 1.071 MB / 0.6926 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002292/0.6845, allocations: 246.7 kB / 0.6928 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001391/0.6847, allocations: 51.95 kB / 0.6929 GB, free: 10.32 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.000955/0.6856, allocations: 450.3 kB / 0.6933 GB, free: 9.875 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004632/0.6861, allocations: 146.4 kB / 0.6934 GB, free: 9.73 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004316/0.6904, allocations: 1.327 MB / 0.6947 GB, free: 8.383 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.368e-05/0.6905, allocations: 8 kB / 0.6947 GB, free: 8.375 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.697e-06/0.6905, allocations: 3.938 kB / 0.6947 GB, free: 8.371 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003567/0.694, allocations: 1.139 MB / 0.6959 GB, free: 7.199 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008876/0.7029, allocations: 3.438 MB / 0.6992 GB, free: 3.555 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-05/0.703, allocations: 11.94 kB / 0.6992 GB, free: 3.543 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009431/0.7039, allocations: 155.8 kB / 0.6994 GB, free: 3.391 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001552/0.7055, allocations: 448.8 kB / 0.6998 GB, free: 2.953 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.015e-05/0.7056, allocations: 27.97 kB / 0.6998 GB, free: 2.926 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001624/0.7072, allocations: 1.071 MB / 0.7009 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.635e-06/0.7072, allocations: 4 kB / 0.7009 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004429/0.7117, allocations: 1.413 MB / 0.7023 GB, free: 348 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00109/0.7128, allocations: 391 kB / 0.7026 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004405/0.7133, allocations: 16 kB / 0.7026 GB, free: 15.92 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002033/0.7153, allocations: 155.8 kB / 0.7028 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001437/0.7155, allocations: 52.3 kB / 0.7028 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001293/0.7156, allocations: 47.89 kB / 0.7029 GB, free: 15.67 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002132/0.7177, allocations: 0.9654 MB / 0.7038 GB, free: 14.7 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7177, allocations: 0 / 0.7038 GB, free: 14.7 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003225/0.721, allocations: 0.885 MB / 0.7047 GB, free: 13.82 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.001547/0.7225, allocations: 0.538 MB / 0.7052 GB, free: 13.29 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006901/0.7294, allocations: 1.845 MB / 0.707 GB, free: 11.44 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.255e-06/0.7295, allocations: 0 / 0.707 GB, free: 11.44 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002/0.7315, allocations: 0.5374 MB / 0.7075 GB, free: 10.9 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005453/0.737, allocations: 0.7998 MB / 0.7083 GB, free: 10.12 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007182/0.7442, allocations: 3.178 MB / 0.7114 GB, free: 6.867 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001096/0.7453, allocations: 1.203 MB / 0.7126 GB, free: 5.637 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000605/0.7459, allocations: 155.2 kB / 0.7128 GB, free: 5.484 MB / 0.545 GB Notification: Performance of SimCode: time 1.062e-06/0.7459, allocations: 0 / 0.7128 GB, free: 5.484 MB / 0.545 GB Notification: Performance of Templates: time 0.05508/0.801, allocations: 35.38 MB / 0.7473 GB, free: 2.285 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1)