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 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] 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.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.WaterProperties") translateModel(IBPSA.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.WaterProperties") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001585/0.001585, allocations: 116.9 kB / 17.34 MB, free: 5.039 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.001391/0.001391, allocations: 201.9 kB / 18.33 MB, free: 4.055 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.531/1.531, allocations: 225.6 MB / 244.8 MB, free: 13.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.856/0.856, allocations: 128.4 MB / 426.1 MB, free: 7.25 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 74.95 kB / 0.5912 GB, free: 21.4 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1896/0.1915, allocations: 83.26 MB / 0.6725 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterProperties): time 0.007041/0.1986, allocations: 4.731 MB / 0.6771 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003325/0.2019, allocations: 2.706 MB / 0.6798 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.603e-05/0.202, allocations: 4 kB / 0.6798 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002609/0.2022, allocations: 55.66 kB / 0.6798 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0003015/0.2025, allocations: 95.38 kB / 0.6799 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00139/0.2039, allocations: 0.5045 MB / 0.6804 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002935/0.2042, allocations: 232 kB / 0.6806 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.655e-05/0.2043, allocations: 9.547 kB / 0.6806 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002236/0.2045, allocations: 127.5 kB / 0.6808 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001403/0.2046, allocations: 95.59 kB / 0.6809 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.193e-05/0.2047, allocations: 8 kB / 0.6809 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007035/0.2054, allocations: 375.3 kB / 0.6812 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.318e-05/0.2054, allocations: 43.83 kB / 0.6813 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001011/0.2055, allocations: 79.66 kB / 0.6813 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0005917/0.2061, allocations: 358.8 kB / 0.6817 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.2061, allocations: 0 / 0.6817 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2061, allocations: 0 / 0.6817 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.243e-06/0.2061, allocations: 0 / 0.6817 GB, free: 10.42 MB / 0.5137 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.0008392/0.207, allocations: 0.5071 MB / 0.6822 GB, free: 9.863 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.207, allocations: 12.03 kB / 0.6822 GB, free: 9.852 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002049/0.2072, allocations: 28.84 kB / 0.6822 GB, free: 9.824 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003185/0.2075, allocations: 212.1 kB / 0.6824 GB, free: 9.578 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.851e-05/0.2076, allocations: 16.64 kB / 0.6824 GB, free: 9.562 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.816e-05/0.2076, allocations: 16.38 kB / 0.6824 GB, free: 9.547 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004302/0.208, allocations: 248.3 kB / 0.6827 GB, free: 9.285 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.208, allocations: 0 / 0.6827 GB, free: 9.285 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.408e-05/0.2081, allocations: 4 kB / 0.6827 GB, free: 9.281 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.81e-05/0.2081, allocations: 11.94 kB / 0.6827 GB, free: 9.27 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005395/0.2086, allocations: 435.9 kB / 0.6831 GB, free: 8.844 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001307/0.2099, allocations: 0.9411 MB / 0.684 GB, free: 7.812 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002884/0.2102, allocations: 148.7 kB / 0.6842 GB, free: 7.66 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.2103, allocations: 56.81 kB / 0.6842 GB, free: 7.602 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001692/0.212, allocations: 1.84 MB / 0.686 GB, free: 5.402 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.978e-05/0.2121, allocations: 30.56 kB / 0.6861 GB, free: 5.363 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.262e-06/0.2121, allocations: 0 / 0.6861 GB, free: 5.363 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0003474/0.2124, allocations: 145.5 kB / 0.6862 GB, free: 5.215 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.266e-05/0.2125, allocations: 59.34 kB / 0.6862 GB, free: 5.145 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001641/0.2126, allocations: 164.7 kB / 0.6864 GB, free: 4.973 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.135e-05/0.2126, allocations: 33.7 kB / 0.6864 GB, free: 4.934 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.2128, allocations: 152 kB / 0.6866 GB, free: 4.781 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.37e-05/0.2128, allocations: 47.59 kB / 0.6866 GB, free: 4.734 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.592e-05/0.2129, allocations: 57.66 kB / 0.6867 GB, free: 4.672 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001756/0.2131, allocations: 322.8 kB / 0.687 GB, free: 4.348 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.511e-05/0.2131, allocations: 39.91 kB / 0.687 GB, free: 4.309 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001707/0.2133, allocations: 145.7 kB / 0.6872 GB, free: 4.117 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002718/0.2136, allocations: 200.9 kB / 0.6874 GB, free: 3.875 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.119e-06/0.2136, allocations: 7.938 kB / 0.6874 GB, free: 3.867 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003401/0.2139, allocations: 209.3 kB / 0.6876 GB, free: 3.656 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.2139, allocations: 8 kB / 0.6876 GB, free: 3.648 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.214, allocations: 4 kB / 0.6876 GB, free: 3.645 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.138e-05/0.214, allocations: 4 kB / 0.6876 GB, free: 3.641 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001831/0.2142, allocations: 59.84 kB / 0.6876 GB, free: 3.582 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.2142, allocations: 4 kB / 0.6876 GB, free: 3.578 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.2143, allocations: 27.78 kB / 0.6877 GB, free: 3.551 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.134e-05/0.2143, allocations: 16.41 kB / 0.6877 GB, free: 3.535 MB / 0.5137 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.0001256/0.2144, allocations: 137.7 kB / 0.6878 GB, free: 3.391 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.156e-05/0.2145, allocations: 15.91 kB / 0.6878 GB, free: 3.375 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003139/0.2148, allocations: 151.1 kB / 0.688 GB, free: 3.227 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/0.2148, allocations: 7.938 kB / 0.688 GB, free: 3.219 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.2148, allocations: 0 / 0.688 GB, free: 3.219 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.2148, allocations: 3.938 kB / 0.688 GB, free: 3.215 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003025/0.2151, allocations: 213.6 kB / 0.6882 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.2151, allocations: 0 / 0.6882 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.245e-05/0.2152, allocations: 39.86 kB / 0.6882 GB, free: 2.918 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.2152, allocations: 0 / 0.6882 GB, free: 2.918 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.2152, allocations: 7.984 kB / 0.6882 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/0.2152, allocations: 3.938 kB / 0.6882 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.2153, allocations: 4 kB / 0.6882 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002844/0.2155, allocations: 222.3 kB / 0.6885 GB, free: 2.672 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001191/0.2157, allocations: 112.9 kB / 0.6886 GB, free: 2.543 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.966e-05/0.2157, allocations: 4 kB / 0.6886 GB, free: 2.539 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001869/0.2159, allocations: 19.92 kB / 0.6886 GB, free: 2.52 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.075e-05/0.2159, allocations: 11.98 kB / 0.6886 GB, free: 2.508 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.9e-05/0.2159, allocations: 8 kB / 0.6886 GB, free: 2.5 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001077/0.216, allocations: 124.9 kB / 0.6887 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.216, allocations: 0 / 0.6887 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004108/0.2164, allocations: 79.8 kB / 0.6888 GB, free: 2.301 MB / 0.5137 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.0003799/0.2168, allocations: 186.9 kB / 0.689 GB, free: 2.105 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00027/0.2171, allocations: 107.8 kB / 0.6891 GB, free: 2 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.2171, allocations: 4.938 kB / 0.6891 GB, free: 1.996 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 7.174e-05/0.2172, allocations: 43.86 kB / 0.6891 GB, free: 1.953 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004475/0.2176, allocations: 47.95 kB / 0.6892 GB, free: 1.906 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008257/0.2184, allocations: 334.5 kB / 0.6895 GB, free: 1.551 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004566/0.2189, allocations: 0.7131 MB / 0.6902 GB, free: 0.8086 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001569/0.2191, allocations: 53.84 kB / 0.6902 GB, free: 0.7539 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.189e-05/0.2191, allocations: 23.38 kB / 0.6903 GB, free: 0.7305 MB / 0.5137 GB Notification: Performance of SimCode: time 3.11e-07/0.2191, allocations: 0 / 0.6903 GB, free: 0.7305 MB / 0.5137 GB Notification: Performance of Templates: time 0.007872/0.227, allocations: 3.487 MB / 0.6937 GB, free: 13.29 MB / 0.5294 GB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.WaterProperties.makefile [Timeout 660] (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 & ./IBPSA_latest_IBPSA.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 480]