Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.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: "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Dynamic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009372/0.0009371, 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.0009374/0.0009374, allocations: 174.4 kB / 16.57 MB, free: 6.395 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.338/1.338, allocations: 223.2 MB / 240.5 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6812/0.6812, allocations: 113.7 MB / 405.3 MB, free: 4.668 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003627/0.0003627, allocations: 8 kB / 493 MB, free: 8.609 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1393, allocations: 77.12 MB / 0.5567 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic): time 0.417/0.5563, allocations: 109.3 MB / 0.6635 GB, free: 12.7 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.03373/0.5901, allocations: 21.41 MB / 0.6844 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006237/0.5964, allocations: 115.2 kB / 0.6845 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.006458/0.6029, allocations: 1.457 MB / 0.6859 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01661/0.6196, allocations: 4.2 MB / 0.69 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01029/0.6299, allocations: 3.132 MB / 0.6931 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01018/0.64, allocations: 5.129 MB / 0.6981 GB, free: 9.262 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003834/0.6439, allocations: 2.3 MB / 0.7003 GB, free: 6.93 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00598/0.6499, allocations: 2.441 MB / 0.7027 GB, free: 4.48 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003009/0.653, allocations: 1.583 MB / 0.7043 GB, free: 2.891 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0005285/0.6535, allocations: 132 kB / 0.7044 GB, free: 2.762 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005455/0.659, allocations: 1.74 MB / 0.7061 GB, free: 1.02 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0006768/0.6597, allocations: 0.5758 MB / 0.7067 GB, free: 452 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001232/0.6609, allocations: 0.7345 MB / 0.7074 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.005569/0.6665, allocations: 4.57 MB / 0.7118 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.6665, allocations: 0 / 0.7118 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.094e-06/0.6665, allocations: 0 / 0.7118 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.121e-05/0.6666, allocations: 0 / 0.7118 GB, free: 11.12 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 583 * Number of variables: 583 Notification: Performance of Generate backend data structure: time 0.006505/0.6731, allocations: 3.39 MB / 0.7151 GB, free: 7.625 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.6732, allocations: 12.03 kB / 0.7152 GB, free: 7.613 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005013/0.6737, allocations: 324.8 kB / 0.7155 GB, free: 7.285 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009516/0.6832, allocations: 1.366 MB / 0.7168 GB, free: 5.914 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005159/0.6884, allocations: 2.713 MB / 0.7194 GB, free: 3.125 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002451/0.6887, allocations: 259.9 kB / 0.7197 GB, free: 2.855 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003921/0.6891, allocations: 232 kB / 0.7199 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007451/0.6965, allocations: 3.172 MB / 0.723 GB, free: 15.27 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.198e-05/0.6966, allocations: 11.94 kB / 0.723 GB, free: 15.25 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002755/0.6969, allocations: 104 kB / 0.7231 GB, free: 15.15 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.956e-05/0.697, allocations: 71.94 kB / 0.7232 GB, free: 15.08 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008578/0.7056, allocations: 2.807 MB / 0.7259 GB, free: 12.26 MB / 0.545 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.02243/0.728, allocations: 13.68 MB / 0.7393 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004302/0.7324, allocations: 1.438 MB / 0.7407 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00191/0.7343, allocations: 1.785 MB / 0.7424 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003614/0.738, allocations: 1.154 MB / 0.7436 GB, free: 9.082 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=126): time 3.968e-06/0.738, allocations: 0 / 0.7436 GB, free: 9.082 MB / 0.5606 GB Notification: Performance of matching and sorting (n=130): time 0.03212/0.7701, allocations: 9.732 MB / 0.7531 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002395/0.7704, allocations: 0.5727 MB / 0.7536 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00455/0.7749, allocations: 2.694 MB / 0.7563 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0004632/0.7754, allocations: 65.7 kB / 0.7563 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.00117/0.7766, allocations: 1.346 MB / 0.7576 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005588/0.7772, allocations: 453.6 kB / 0.7581 GB, free: 9.895 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001266/0.7773, allocations: 36 kB / 0.7581 GB, free: 9.859 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.7775, allocations: 373.9 kB / 0.7585 GB, free: 9.488 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003574/0.781, allocations: 0.9485 MB / 0.7594 GB, free: 8.539 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004065/0.7851, allocations: 1.53 MB / 0.7609 GB, free: 6.766 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003691/0.7888, allocations: 1.093 MB / 0.762 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.916e-06/0.7889, allocations: 4 kB / 0.762 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of matching and sorting (n=223) (initialization): time 0.01026/0.7991, allocations: 3.09 MB / 0.765 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.002205/0.8014, allocations: 5.242 MB / 0.7701 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.346e-05/0.8014, allocations: 12.38 kB / 0.7701 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003057/0.8045, allocations: 0.9336 MB / 0.771 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00276/0.8073, allocations: 471.2 kB / 0.7715 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003272/0.8106, allocations: 2.204 MB / 0.7736 GB, free: 9.242 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004875/0.8154, allocations: 391.3 kB / 0.774 GB, free: 8.859 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003087/0.8158, allocations: 111.9 kB / 0.7741 GB, free: 8.75 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.8158, allocations: 10.5 kB / 0.7741 GB, free: 8.742 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009474/0.8253, allocations: 2.802 MB / 0.7768 GB, free: 5.926 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.193e-05/0.8254, allocations: 15.94 kB / 0.7769 GB, free: 5.91 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002906/0.8283, allocations: 0.9293 MB / 0.7778 GB, free: 4.98 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002543/0.8308, allocations: 467.2 kB / 0.7782 GB, free: 4.523 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002926/0.8338, allocations: 2.198 MB / 0.7804 GB, free: 2.273 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004228/0.838, allocations: 359.3 kB / 0.7807 GB, free: 1.922 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002496/0.8383, allocations: 103.9 kB / 0.7808 GB, free: 1.82 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,$PRE.heaPum1.com.isOn,heaPum1.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count,realToInteger.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (168): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {4 23,4 25} Notification: Performance of prepare postOptimizeDAE: time 0.001515/0.8398, allocations: 0.6987 MB / 0.7815 GB, free: 1.113 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000651/0.8405, allocations: 288.5 kB / 0.7818 GB, free: 0.8281 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008533/0.849, allocations: 2.37 MB / 0.7841 GB, free: 14.44 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.522e-05/0.8491, allocations: 20.08 kB / 0.7841 GB, free: 14.42 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.281e-05/0.8491, allocations: 4 kB / 0.7841 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007214/0.8563, allocations: 1.99 MB / 0.786 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01685/0.8732, allocations: 6.245 MB / 0.7921 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.281e-05/0.8732, allocations: 4.25 kB / 0.7921 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00173/0.875, allocations: 288.1 kB / 0.7924 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002626/0.8776, allocations: 0.7895 MB / 0.7932 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001309/0.8778, allocations: 55.88 kB / 0.7932 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00246/0.8802, allocations: 1.962 MB / 0.7952 GB, free: 2.809 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.736e-06/0.8803, allocations: 11.94 kB / 0.7952 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0123/0.8926, allocations: 4.346 MB / 0.7994 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001955/0.8946, allocations: 0.6729 MB / 0.8001 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005121/0.8951, allocations: 39.98 kB / 0.8001 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002965/0.8981, allocations: 282.5 kB / 0.8004 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001857/0.8983, allocations: 124.6 kB / 0.8005 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001364/0.8984, allocations: 67.92 kB / 0.8006 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.002978/0.9014, allocations: 1.902 MB / 0.8024 GB, free: 10.94 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9014, allocations: 0 / 0.8024 GB, free: 10.94 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.006171/0.9076, allocations: 1.5 MB / 0.8039 GB, free: 9.438 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 2 (heaPum1.con.vol.dynBal.U,heaPum1.eva.vol.dynBal.U) * Number of discrete variables: 6 ($whenCondition1,heaPum.com.isOn,heaPum1.com.isOn,N.T_start,N.count,realToInteger.y) * Number of discrete states: 3 (N.count,heaPum1.com.isOn,heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 17,4 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.01661/0.9242, allocations: 7.268 MB / 0.811 GB, free: 1.945 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01364/0.9379, allocations: 3.654 MB / 0.8145 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.848e-05/0.938, allocations: 4.438 kB / 0.8146 GB, free: 14.26 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.00365/0.9417, allocations: 1.059 MB / 0.8156 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008168/0.9499, allocations: 1.473 MB / 0.817 GB, free: 11.75 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6539/1.604, allocations: 16.13 MB / 0.8328 GB, free: 219.5 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006221/1.61, allocations: 1.773 MB / 0.8345 GB, free: 218.7 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.009566/1.62, allocations: 0.6604 MB / 0.8352 GB, free: 218.7 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007114/1.627, allocations: 1.176 MB / 0.8363 GB, free: 218.7 MB / 0.6387 GB Notification: Performance of SimCode: time 1.045e-05/1.627, allocations: 2.906 kB / 0.8363 GB, free: 218.7 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.431/3.058, allocations: 94.04 MB / 0.9281 GB, free: 150.7 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004213/3.059, allocations: 268.9 kB / 0.9284 GB, free: 150.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.073/12.13, allocations: 0 / 0.9284 GB, free: 150.3 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Dynamic_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Dynamic.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe 2>&1) Environment - environmentSimulation: