Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.WaterProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 116.2 kB / 17.13 MB, free: 5.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00148/0.00148, allocations: 192.6 kB / 20.08 MB, free: 2.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 225.6 MB / 248.5 MB, free: 3.633 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8611/0.8611, allocations: 129.2 MB / 432.5 MB, free: 13.38 MB / 350.1 MB " [Timeout remaining time 179] 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.Media.Examples.WaterProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.WaterProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 71.88 kB / 0.5987 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4436/0.4455, allocations: 83.43 MB / 0.6802 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterProperties): time 0.005294/0.4508, allocations: 4.746 MB / 0.6848 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002448/0.4532, allocations: 2.715 MB / 0.6875 GB, free: 15.96 MB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001414/0.4534, allocations: 1.688 kB / 0.6875 GB, free: 15.96 MB / 0.5138 GB Notification: Performance of NFTyping.typeComponents: time 0.0003281/0.4537, allocations: 47.12 kB / 0.6875 GB, free: 15.92 MB / 0.5138 GB Notification: Performance of NFTyping.typeBindings: time 0.0003052/0.454, allocations: 96.38 kB / 0.6876 GB, free: 15.84 MB / 0.5138 GB Notification: Performance of NFTyping.typeClassSections: time 0.001475/0.4555, allocations: 0.5142 MB / 0.6881 GB, free: 15.46 MB / 0.5138 GB Notification: Performance of NFFlatten.flatten: time 0.0003356/0.4558, allocations: 226.8 kB / 0.6883 GB, free: 15.34 MB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 4.82e-05/0.4559, allocations: 10.39 kB / 0.6884 GB, free: 15.34 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002462/0.4561, allocations: 122.8 kB / 0.6885 GB, free: 15.28 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001852/0.4563, allocations: 93.83 kB / 0.6886 GB, free: 15.22 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 3.185e-05/0.4563, allocations: 8.875 kB / 0.6886 GB, free: 15.22 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001002/0.4573, allocations: 373.2 kB / 0.6889 GB, free: 15.02 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 8.621e-05/0.4574, allocations: 38.3 kB / 0.689 GB, free: 14.99 MB / 0.5138 GB Notification: Performance of NFVerifyModel.verify: time 0.0001153/0.4575, allocations: 87.7 kB / 0.689 GB, free: 14.94 MB / 0.5138 GB Notification: Performance of NFConvertDAE.convert: time 0.0007835/0.4583, allocations: 363.1 kB / 0.6894 GB, free: 14.74 MB / 0.5138 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.4583, allocations: 0 / 0.6894 GB, free: 14.74 MB / 0.5138 GB Notification: Performance of FrontEnd: time 2.445e-06/0.4583, allocations: 1.219 kB / 0.6894 GB, free: 14.74 MB / 0.5138 GB Notification: Performance of Transformations before backend: time 1.266e-05/0.4583, allocations: 0 / 0.6894 GB, free: 14.74 MB / 0.5138 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0009009/0.4592, allocations: 0.5014 MB / 0.6899 GB, free: 14.26 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.4593, allocations: 9.5 kB / 0.6899 GB, free: 14.26 MB / 0.5138 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.283e-05/0.4594, allocations: 56.38 kB / 0.6899 GB, free: 14.2 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001715/0.4595, allocations: 21.91 kB / 0.69 GB, free: 14.2 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003741/0.4599, allocations: 222.6 kB / 0.6902 GB, free: 13.95 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.272e-05/0.4599, allocations: 10.27 kB / 0.6902 GB, free: 13.95 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.894e-05/0.46, allocations: 14.31 kB / 0.6902 GB, free: 13.95 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004136/0.4604, allocations: 250.7 kB / 0.6904 GB, free: 13.77 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.4604, allocations: 1.219 kB / 0.6904 GB, free: 13.77 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.464e-05/0.4604, allocations: 6.125 kB / 0.6905 GB, free: 13.77 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.795e-05/0.4604, allocations: 9.25 kB / 0.6905 GB, free: 13.76 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005338/0.461, allocations: 437.5 kB / 0.6909 GB, free: 13.56 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00143/0.4624, allocations: 0.9491 MB / 0.6918 GB, free: 12.63 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003787/0.4628, allocations: 149.6 kB / 0.6919 GB, free: 12.56 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001263/0.4629, allocations: 54.45 kB / 0.692 GB, free: 12.54 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002141/0.465, allocations: 1.835 MB / 0.6938 GB, free: 10.43 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.461e-05/0.4651, allocations: 37.06 kB / 0.6938 GB, free: 10.39 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=15): time 1.944e-06/0.4651, allocations: 0 / 0.6938 GB, free: 10.39 MB / 0.5138 GB Notification: Performance of matching and sorting (n=15): time 0.0004893/0.4656, allocations: 150.1 kB / 0.694 GB, free: 10.3 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.409e-05/0.4656, allocations: 52.5 kB / 0.694 GB, free: 10.24 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002518/0.4659, allocations: 170.8 kB / 0.6942 GB, free: 10.1 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 3.539e-05/0.4659, allocations: 31.27 kB / 0.6942 GB, free: 10.06 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001385/0.4661, allocations: 147.8 kB / 0.6944 GB, free: 9.922 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 5.81e-05/0.4661, allocations: 58.25 kB / 0.6944 GB, free: 9.871 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001091/0.4662, allocations: 53.34 kB / 0.6945 GB, free: 9.832 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0002074/0.4664, allocations: 326 kB / 0.6948 GB, free: 9.508 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.666e-05/0.4665, allocations: 33.73 kB / 0.6948 GB, free: 9.496 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002411/0.4668, allocations: 141.6 kB / 0.6949 GB, free: 9.34 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003515/0.4671, allocations: 203.7 kB / 0.6951 GB, free: 9.148 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.002e-06/0.4671, allocations: 1.25 kB / 0.6951 GB, free: 9.148 MB / 0.5138 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004637/0.4676, allocations: 215 kB / 0.6953 GB, free: 9.035 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 3.256e-05/0.4676, allocations: 7.406 kB / 0.6953 GB, free: 9.035 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.4676, allocations: 6.656 kB / 0.6954 GB, free: 9.031 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.503e-05/0.4677, allocations: 9.406 kB / 0.6954 GB, free: 9.027 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002/0.4679, allocations: 56.67 kB / 0.6954 GB, free: 9.012 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/0.4679, allocations: 5.719 kB / 0.6954 GB, free: 9.012 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001496/0.468, allocations: 27.34 kB / 0.6954 GB, free: 8.992 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.18e-05/0.4681, allocations: 18.8 kB / 0.6955 GB, free: 8.984 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001395/0.4682, allocations: 138.7 kB / 0.6956 GB, free: 8.848 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.738e-05/0.4683, allocations: 16.81 kB / 0.6956 GB, free: 8.84 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003315/0.4686, allocations: 153.2 kB / 0.6958 GB, free: 8.746 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.447e-05/0.4686, allocations: 6.656 kB / 0.6958 GB, free: 8.742 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.4686, allocations: 0 / 0.6958 GB, free: 8.742 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.4686, allocations: 3.984 kB / 0.6958 GB, free: 8.738 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003001/0.4689, allocations: 217.8 kB / 0.696 GB, free: 8.504 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.4689, allocations: 0 / 0.696 GB, free: 8.504 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.198e-05/0.469, allocations: 23.48 kB / 0.696 GB, free: 8.5 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.469, allocations: 0.9375 kB / 0.696 GB, free: 8.5 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.469, allocations: 10.12 kB / 0.696 GB, free: 8.492 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.469, allocations: 5.438 kB / 0.696 GB, free: 8.488 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.469, allocations: 0 / 0.696 GB, free: 8.488 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002819/0.4693, allocations: 224.4 kB / 0.6962 GB, free: 8.309 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001225/0.4694, allocations: 105.8 kB / 0.6963 GB, free: 8.195 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.438e-05/0.4695, allocations: 1.344 kB / 0.6963 GB, free: 8.195 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002041/0.4697, allocations: 23.5 kB / 0.6964 GB, free: 8.18 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.592e-05/0.4697, allocations: 13.42 kB / 0.6964 GB, free: 8.172 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.155e-05/0.4697, allocations: 15.11 kB / 0.6964 GB, free: 8.164 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.000128/0.4699, allocations: 118.3 kB / 0.6965 GB, free: 8.07 MB / 0.5138 GB Notification: Performance of sort global known variables: time 6e-08/0.4699, allocations: 1.156 kB / 0.6965 GB, free: 8.07 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.0005633/0.4704, allocations: 78.38 kB / 0.6966 GB, free: 8.051 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00105/0.4715, allocations: 0.8307 MB / 0.6974 GB, free: 7.305 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.0003358/0.4718, allocations: 116.7 kB / 0.6975 GB, free: 7.258 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.038e-05/0.4718, allocations: 1.156 kB / 0.6975 GB, free: 7.258 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 8.312e-05/0.4719, allocations: 45.36 kB / 0.6975 GB, free: 7.238 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004976/0.4724, allocations: 55.95 kB / 0.6976 GB, free: 7.207 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002707/0.4751, allocations: 2.033 MB / 0.6996 GB, free: 5.43 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000373/0.4755, allocations: 0.7162 MB / 0.7003 GB, free: 4.715 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.0002015/0.4757, allocations: 43.5 kB / 0.7003 GB, free: 4.691 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.999e-05/0.4758, allocations: 45.11 kB / 0.7004 GB, free: 4.66 MB / 0.5138 GB Notification: Performance of SimCode: time 7.52e-07/0.4758, allocations: 0 / 0.7004 GB, free: 4.66 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03/0.5058, allocations: 5.292 MB / 0.7055 GB, free: 1.938 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.154/8.66, allocations: 7.594 kB / 0.7055 GB, free: 1.938 MB / 0.5138 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.WaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Examples_WaterProperties.fmu > IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.051394253969193] Failed to read output from testmodel.py, exit status != 0: 8.747698981314898 8.76184166 8.300038992 Calling exit ...