Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 118.8 kB / 17.84 MB, free: 5.234 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001606/0.001606, allocations: 202.3 kB / 20.79 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.614/1.614, allocations: 230.6 MB / 254.2 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.043/1.043, allocations: 150 MB / 460.2 MB, free: 5.27 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Media.Examples.SteamDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_SteamDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.SteamDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_SteamDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002025/0.002025, allocations: 62.44 kB / 0.6368 GB, free: 30.48 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1954/0.1975, allocations: 89.14 MB / 0.7238 GB, free: 4.055 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamDerivativeCheck): time 0.002327/0.1998, allocations: 1.278 MB / 0.7251 GB, free: 2.762 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.1857/0.3855, allocations: 140.9 MB / 0.8627 GB, free: 5.277 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.341e-05/0.3856, allocations: 0 / 0.8627 GB, free: 5.277 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 2.476e-05/0.3856, allocations: 0 / 0.8627 GB, free: 5.277 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 8.704e-05/0.3857, allocations: 11.92 kB / 0.8627 GB, free: 5.266 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001969/0.3877, allocations: 462.6 kB / 0.8631 GB, free: 4.812 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0001423/0.3878, allocations: 47.83 kB / 0.8632 GB, free: 4.766 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 5.664e-05/0.3879, allocations: 4 kB / 0.8632 GB, free: 4.762 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 7.159e-05/0.3879, allocations: 23.92 kB / 0.8632 GB, free: 4.738 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.388, allocations: 15.91 kB / 0.8632 GB, free: 4.723 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.95e-05/0.3881, allocations: 4 kB / 0.8632 GB, free: 4.719 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001963/0.39, allocations: 0.8387 MB / 0.8641 GB, free: 3.879 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 2.159e-05/0.3901, allocations: 7.984 kB / 0.8641 GB, free: 3.871 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 4.485e-05/0.3901, allocations: 19.92 kB / 0.8641 GB, free: 3.852 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001032/0.3911, allocations: 443 kB / 0.8645 GB, free: 3.418 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.3911, allocations: 0 / 0.8645 GB, free: 3.418 MB / 0.67 GB Notification: Performance of FrontEnd: time 3.095e-06/0.3911, allocations: 0 / 0.8645 GB, free: 3.418 MB / 0.67 GB Notification: Performance of Transformations before backend: time 7.634e-06/0.3911, allocations: 4 kB / 0.8645 GB, free: 3.414 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007668/0.3919, allocations: 375.2 kB / 0.8649 GB, free: 3 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 6.779e-05/0.392, allocations: 8.031 kB / 0.8649 GB, free: 2.992 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.573e-05/0.392, allocations: 4.188 kB / 0.8649 GB, free: 2.988 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.226e-05/0.3921, allocations: 38.67 kB / 0.8649 GB, free: 2.941 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002361/0.3923, allocations: 16.92 kB / 0.8649 GB, free: 2.926 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001743/0.3925, allocations: 160.4 kB / 0.8651 GB, free: 2.73 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.3925, allocations: 8.125 kB / 0.8651 GB, free: 2.723 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.651e-05/0.3925, allocations: 12 kB / 0.8651 GB, free: 2.711 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002084/0.3927, allocations: 49.67 kB / 0.8652 GB, free: 2.656 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.3927, allocations: 0 / 0.8652 GB, free: 2.656 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.636e-05/0.3928, allocations: 4 kB / 0.8652 GB, free: 2.652 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.3928, allocations: 0 / 0.8652 GB, free: 2.652 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.353e-05/0.3929, allocations: 23.97 kB / 0.8652 GB, free: 2.629 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002347/0.3931, allocations: 169.6 kB / 0.8653 GB, free: 2.414 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000142/0.3932, allocations: 50.5 kB / 0.8654 GB, free: 2.355 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.96e-05/0.3933, allocations: 24.83 kB / 0.8654 GB, free: 2.328 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4196/0.8129, allocations: 3.203 MB / 0.8685 GB, free: 148.1 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.39e-05/0.8129, allocations: 32.12 kB / 0.8686 GB, free: 148.1 MB / 0.67 GB Notification: Performance of pre-optimization done (n=7): time 4.378e-06/0.8129, allocations: 0 / 0.8686 GB, free: 148.1 MB / 0.67 GB Notification: Performance of matching and sorting (n=11): time 0.04513/0.8581, allocations: 15 MB / 0.8832 GB, free: 143.2 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.92e-05/0.8581, allocations: 52.72 kB / 0.8833 GB, free: 143.2 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.974e-05/0.8581, allocations: 97.23 kB / 0.8834 GB, free: 143.1 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/0.8581, allocations: 25.7 kB / 0.8834 GB, free: 143 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 1.362e-05/0.8582, allocations: 83.64 kB / 0.8835 GB, free: 142.9 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 3.377e-05/0.8582, allocations: 42.97 kB / 0.8835 GB, free: 142.9 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.17e-05/0.8582, allocations: 35.66 kB / 0.8835 GB, free: 142.9 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 5.454e-05/0.8583, allocations: 321.8 kB / 0.8839 GB, free: 142.6 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.745e-05/0.8583, allocations: 22.61 kB / 0.8839 GB, free: 142.5 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.985e-05/0.8584, allocations: 26.75 kB / 0.8839 GB, free: 142.5 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001033/0.8585, allocations: 61.59 kB / 0.884 GB, free: 142.5 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.8585, allocations: 0 / 0.884 GB, free: 142.5 MB / 0.67 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001892/0.8587, allocations: 104.1 kB / 0.8841 GB, free: 142.4 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.8587, allocations: 8 kB / 0.8841 GB, free: 142.4 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.8587, allocations: 0 / 0.8841 GB, free: 142.4 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.8587, allocations: 4 kB / 0.8841 GB, free: 142.4 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.8588, allocations: 21.78 kB / 0.8841 GB, free: 142.4 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.8588, allocations: 3.984 kB / 0.8841 GB, free: 142.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.529e-05/0.8588, allocations: 3.375 kB / 0.8841 GB, free: 142.4 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.859e-06/0.8589, allocations: 4 kB / 0.8841 GB, free: 142.4 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (14): * Single equations (assignments): 14 * Array equations: 0 * 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 5.91e-05/0.8589, allocations: 122.6 kB / 0.8842 GB, free: 142.2 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.983e-05/0.859, allocations: 11.58 kB / 0.8842 GB, free: 142.2 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002316/0.8592, allocations: 135.8 kB / 0.8844 GB, free: 142.1 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.8592, allocations: 0 / 0.8844 GB, free: 142.1 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.8592, allocations: 0 / 0.8844 GB, free: 142.1 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.8592, allocations: 0 / 0.8844 GB, free: 142.1 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001072/0.8593, allocations: 175.7 kB / 0.8845 GB, free: 141.9 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.8593, allocations: 0 / 0.8845 GB, free: 141.9 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001162/0.8594, allocations: 27.61 kB / 0.8846 GB, free: 141.9 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.8594, allocations: 0 / 0.8846 GB, free: 141.9 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.8594, allocations: 4 kB / 0.8846 GB, free: 141.9 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.8594, allocations: 4.078 kB / 0.8846 GB, free: 141.9 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.8594, allocations: 3.984 kB / 0.8846 GB, free: 141.9 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002659/0.8597, allocations: 161.8 kB / 0.8847 GB, free: 141.7 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 5.509e-05/0.8598, allocations: 85.14 kB / 0.8848 GB, free: 141.6 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.8598, allocations: 2.562 kB / 0.8848 GB, free: 141.6 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001356/0.8599, allocations: 11.98 kB / 0.8848 GB, free: 141.6 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.851e-05/0.8599, allocations: 14.42 kB / 0.8848 GB, free: 141.6 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.86, allocations: 7.125 kB / 0.8848 GB, free: 141.6 MB / 0.67 GB Notification: Performance of sorting global known variables: time 1.812e-05/0.86, allocations: 75.28 kB / 0.8849 GB, free: 141.5 MB / 0.67 GB Notification: Performance of sort global known variables: time 6e-08/0.86, allocations: 0 / 0.8849 GB, free: 141.5 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002403/0.8624, allocations: 0.5748 MB / 0.8855 GB, free: 141 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hVapSym,cpSym,cvSym) * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * 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.003623/0.866, allocations: 0.9454 MB / 0.8864 GB, free: 140.1 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0001973/0.8662, allocations: 61.23 kB / 0.8864 GB, free: 140 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.8662, allocations: 0 / 0.8864 GB, free: 140 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 5.544e-05/0.8663, allocations: 34.8 kB / 0.8865 GB, free: 140 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000198/0.8665, allocations: 12.55 kB / 0.8865 GB, free: 140 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001811/0.8683, allocations: 1.549 MB / 0.888 GB, free: 138.5 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001069/0.8684, allocations: 0.6846 MB / 0.8887 GB, free: 137.7 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 7.069e-05/0.8684, allocations: 24.53 kB / 0.8887 GB, free: 137.7 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.274e-05/0.8685, allocations: 21.25 kB / 0.8887 GB, free: 137.7 MB / 0.67 GB Notification: Performance of SimCode: time 2.81e-07/0.8685, allocations: 0 / 0.8887 GB, free: 137.7 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04572/0.9142, allocations: 25.52 MB / 0.9136 GB, free: 112.2 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.249/10.16, allocations: 5.969 kB / 0.9136 GB, free: 112.2 MB / 0.67 GB " [Timeout remaining time 650] (rm -f IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_SteamDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-10 IBPSA_latest_IBPSA_Media_Examples_SteamDerivativeCheck.fmu > IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 22.814818544953596] Failed to read output from testmodel.py, exit status != 0: 10.298179848992731 10.311535052 9.917591193 Calling exit ...