Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.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.00157/0.00157, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001917/0.001917, allocations: 216 kB / 22.99 MB, free: 4.977 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.466/1.466, allocations: 230.6 MB / 256.8 MB, free: 7.801 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 0.9957/0.9957, allocations: 149.9 MB / 463.1 MB, free: 10.37 MB / 366.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.WaterDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.WaterDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_WaterDerivativeCheck",fmuType="me",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.002174/0.002174, allocations: 65.89 kB / 0.641 GB, free: 10.16 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2016/0.2038, allocations: 89.17 MB / 0.7281 GB, free: 1.059 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterDerivativeCheck): time 0.003438/0.2072, allocations: 1.261 MB / 0.7294 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004986/0.2122, allocations: 3.082 MB / 0.7324 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.764e-05/0.2123, allocations: 0 / 0.7324 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.038e-05/0.2123, allocations: 4 kB / 0.7324 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.38e-05/0.2123, allocations: 11.91 kB / 0.7324 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005698/0.2129, allocations: 107.5 kB / 0.7325 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.147e-05/0.213, allocations: 35.86 kB / 0.7325 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.623e-05/0.213, allocations: 3.984 kB / 0.7325 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.074e-05/0.2131, allocations: 23.92 kB / 0.7325 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.413e-05/0.2132, allocations: 15.92 kB / 0.7326 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.249e-05/0.2132, allocations: 7.938 kB / 0.7326 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002213/0.2134, allocations: 67.75 kB / 0.7326 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.976e-05/0.2134, allocations: 8 kB / 0.7326 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.67e-05/0.2135, allocations: 23.91 kB / 0.7327 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002079/0.2137, allocations: 52.16 kB / 0.7327 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2137, allocations: 0 / 0.7327 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.124e-06/0.2137, allocations: 0 / 0.7327 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.132e-06/0.2137, allocations: 0 / 0.7327 GB, free: 12.33 MB / 0.5606 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.000493/0.2142, allocations: 286.2 kB / 0.733 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.2142, allocations: 8.031 kB / 0.733 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.283e-05/0.2143, allocations: 38.75 kB / 0.733 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.526e-05/0.2143, allocations: 12.94 kB / 0.733 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/0.2145, allocations: 106.5 kB / 0.7331 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.2145, allocations: 4.375 kB / 0.7331 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.53e-05/0.2145, allocations: 4.375 kB / 0.7332 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002024/0.2147, allocations: 142.6 kB / 0.7333 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.2147, allocations: 3.984 kB / 0.7333 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.2147, allocations: 0 / 0.7333 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.2147, allocations: 0 / 0.7333 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.559e-05/0.2148, allocations: 19.98 kB / 0.7333 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002054/0.215, allocations: 136.7 kB / 0.7334 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/0.2151, allocations: 46.56 kB / 0.7335 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.423e-05/0.2152, allocations: 16.8 kB / 0.7335 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000666/0.2158, allocations: 246.1 kB / 0.7337 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.956e-05/0.2159, allocations: 30.56 kB / 0.7338 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=5): time 1.433e-06/0.2159, allocations: 4 kB / 0.7338 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0006788/0.2165, allocations: 225.2 kB / 0.734 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.293e-05/0.2166, allocations: 55.41 kB / 0.734 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001829/0.2168, allocations: 101.8 kB / 0.7341 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.62e-05/0.2168, allocations: 37.7 kB / 0.7342 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.894e-05/0.2169, allocations: 84.09 kB / 0.7343 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.997e-05/0.2169, allocations: 27.75 kB / 0.7343 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.857e-05/0.2169, allocations: 29.7 kB / 0.7343 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001799/0.2171, allocations: 310.8 kB / 0.7346 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.687e-05/0.2172, allocations: 19.92 kB / 0.7346 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.391e-05/0.2172, allocations: 57.08 kB / 0.7347 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/0.2174, allocations: 77.27 kB / 0.7347 GB, free: 9.957 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.2174, allocations: 0 / 0.7347 GB, free: 9.957 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001518/0.2175, allocations: 93.55 kB / 0.7348 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.2175, allocations: 6.031 kB / 0.7348 GB, free: 9.855 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.2175, allocations: 0 / 0.7348 GB, free: 9.855 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.2176, allocations: 7.938 kB / 0.7349 GB, free: 9.848 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.344e-05/0.2176, allocations: 23.92 kB / 0.7349 GB, free: 9.824 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.188e-06/0.2176, allocations: 4 kB / 0.7349 GB, free: 9.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.029e-05/0.2177, allocations: 7.938 kB / 0.7349 GB, free: 9.812 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.2177, allocations: 8.125 kB / 0.7349 GB, free: 9.805 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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 0.0001054/0.2178, allocations: 113.8 kB / 0.735 GB, free: 9.684 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.837e-05/0.2178, allocations: 7.953 kB / 0.735 GB, free: 9.676 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.622e-05/0.2179, allocations: 12.48 kB / 0.735 GB, free: 9.66 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.2179, allocations: 0 / 0.735 GB, free: 9.66 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.2179, allocations: 0 / 0.735 GB, free: 9.66 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.2179, allocations: 3.938 kB / 0.735 GB, free: 9.656 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002534/0.2181, allocations: 144.7 kB / 0.7352 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.2181, allocations: 4 kB / 0.7352 GB, free: 9.469 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.861e-05/0.2182, allocations: 19.92 kB / 0.7352 GB, free: 9.449 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.2182, allocations: 4 kB / 0.7352 GB, free: 9.445 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.2182, allocations: 4 kB / 0.7352 GB, free: 9.441 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.2182, allocations: 0 / 0.7352 GB, free: 9.441 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2182, allocations: 0 / 0.7352 GB, free: 9.441 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002212/0.2185, allocations: 175.4 kB / 0.7354 GB, free: 9.254 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.544e-05/0.2185, allocations: 4 kB / 0.7354 GB, free: 9.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.383e-05/0.2185, allocations: 0 / 0.7354 GB, free: 9.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.2186, allocations: 8.031 kB / 0.7354 GB, free: 9.242 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.894e-05/0.2186, allocations: 7.938 kB / 0.7354 GB, free: 9.234 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.956e-06/0.2186, allocations: 7.938 kB / 0.7354 GB, free: 9.227 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.538e-05/0.2187, allocations: 79.27 kB / 0.7355 GB, free: 9.148 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2187, allocations: 7.938 kB / 0.7355 GB, free: 9.141 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002424/0.2189, allocations: 16 kB / 0.7355 GB, free: 9.125 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,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 (7): * Single equations (assignments): 7 * 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.0005404/0.2195, allocations: 0.7048 MB / 0.7362 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001208/0.2196, allocations: 40.34 kB / 0.7362 GB, free: 8.355 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.2196, allocations: 0 / 0.7362 GB, free: 8.355 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.792e-05/0.2196, allocations: 15.94 kB / 0.7362 GB, free: 8.34 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003004/0.2199, allocations: 8.188 kB / 0.7362 GB, free: 8.332 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001744/0.2217, allocations: 1.535 MB / 0.7377 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.501e-05/0.2217, allocations: 67.34 kB / 0.7378 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.916e-05/0.2218, allocations: 8.062 kB / 0.7378 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.077e-05/0.2218, allocations: 19.42 kB / 0.7378 GB, free: 6.578 MB / 0.5606 GB Notification: Performance of SimCode: time 2.8e-07/0.2218, allocations: 0 / 0.7378 GB, free: 6.578 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03091/0.2527, allocations: 2.192 MB / 0.74 GB, free: 4.535 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/11.83, allocations: 8.016 kB / 0.74 GB, free: 4.531 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_WaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Media_Examples_WaterDerivativeCheck.fmu > IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.645735998172313] Failed to read output from testmodel.py, exit status != 0: 11.94265675963834 11.968493578 11.749513217 Calling exit ...