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.001944/0.001944, allocations: 105 kB / 20.48 MB, free: 1.488 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.002465/0.002465, allocations: 214.8 kB / 23.79 MB, free: 4.703 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.499/1.499, allocations: 230.6 MB / 257.6 MB, free: 8.02 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.9802/0.9802, allocations: 150 MB / 464 MB, free: 10.55 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.WaterDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_WaterDerivativeCheck",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.00214/0.00214, allocations: 74.62 kB / 0.642 GB, free: 10.52 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1757/0.1779, allocations: 89.17 MB / 0.7291 GB, free: 1.422 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterDerivativeCheck): time 0.002354/0.1802, allocations: 1.283 MB / 0.7303 GB, free: 136 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00419/0.1844, allocations: 3.363 MB / 0.7336 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.881e-05/0.1845, allocations: 0 / 0.7336 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.588e-05/0.1845, allocations: 0 / 0.7336 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.58e-05/0.1845, allocations: 7.938 kB / 0.7336 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005158/0.185, allocations: 113.2 kB / 0.7337 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.278e-05/0.1851, allocations: 39.84 kB / 0.7338 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.195e-05/0.1852, allocations: 4 kB / 0.7338 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.39e-05/0.1852, allocations: 23.91 kB / 0.7338 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.735e-05/0.1853, allocations: 8 kB / 0.7338 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.117e-06/0.1853, allocations: 0 / 0.7338 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002377/0.1855, allocations: 95.72 kB / 0.7339 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.585e-05/0.1855, allocations: 7.938 kB / 0.7339 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.348e-05/0.1856, allocations: 19.91 kB / 0.7339 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001819/0.1858, allocations: 64.14 kB / 0.734 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1858, allocations: 0 / 0.734 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.273e-06/0.1858, allocations: 3.938 kB / 0.734 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.042e-06/0.1858, allocations: 0 / 0.734 GB, free: 12.37 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.0003992/0.1862, allocations: 282.2 kB / 0.7343 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.1862, allocations: 8.031 kB / 0.7343 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.583e-05/0.1862, allocations: 4.188 kB / 0.7343 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.522e-05/0.1863, allocations: 38.75 kB / 0.7343 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.496e-05/0.1863, allocations: 4.938 kB / 0.7343 GB, free: 12 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.299e-05/0.1864, allocations: 106.5 kB / 0.7344 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.1864, allocations: 4.375 kB / 0.7344 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.715e-05/0.1865, allocations: 12.12 kB / 0.7344 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001275/0.1866, allocations: 53.61 kB / 0.7345 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.1866, allocations: 0 / 0.7345 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.1866, allocations: 0 / 0.7345 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.1866, allocations: 4 kB / 0.7345 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.623e-05/0.1867, allocations: 19.98 kB / 0.7345 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001767/0.1869, allocations: 140.6 kB / 0.7346 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000102/0.187, allocations: 50.48 kB / 0.7347 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.459e-05/0.187, allocations: 16.8 kB / 0.7347 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00056/0.1875, allocations: 250.2 kB / 0.7349 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.1876, allocations: 30.56 kB / 0.735 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.1876, allocations: 0 / 0.735 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0005634/0.1881, allocations: 225.6 kB / 0.7352 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.147e-05/0.1882, allocations: 55.41 kB / 0.7352 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.948e-05/0.1883, allocations: 101.8 kB / 0.7353 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.439e-05/0.1883, allocations: 33.7 kB / 0.7354 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.888e-05/0.1883, allocations: 88.03 kB / 0.7355 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.653e-05/0.1884, allocations: 39.73 kB / 0.7355 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.345e-05/0.1884, allocations: 25.72 kB / 0.7355 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.1886, allocations: 318.8 kB / 0.7358 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.984e-05/0.1886, allocations: 15.94 kB / 0.7358 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.541e-05/0.1886, allocations: 57.14 kB / 0.7359 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.579e-05/0.1887, allocations: 73.08 kB / 0.736 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1887, allocations: 0 / 0.736 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001506/0.1889, allocations: 97.77 kB / 0.7361 GB, free: 9.984 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.1889, allocations: 8 kB / 0.7361 GB, free: 9.977 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.1889, allocations: 0 / 0.7361 GB, free: 9.977 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.1889, allocations: 4 kB / 0.7361 GB, free: 9.973 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.213e-05/0.189, allocations: 19.94 kB / 0.7361 GB, free: 9.953 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.189, allocations: 7.922 kB / 0.7361 GB, free: 9.945 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.983e-05/0.1891, allocations: 8 kB / 0.7361 GB, free: 9.938 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.876e-06/0.1891, allocations: 4 kB / 0.7361 GB, free: 9.934 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 8.722e-05/0.1892, allocations: 114 kB / 0.7362 GB, free: 9.812 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.914e-05/0.1892, allocations: 7.953 kB / 0.7362 GB, free: 9.805 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.907e-05/0.1892, allocations: 8.062 kB / 0.7362 GB, free: 9.793 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.1892, allocations: 4 kB / 0.7362 GB, free: 9.789 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.1892, allocations: 3.938 kB / 0.7362 GB, free: 9.785 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.1892, allocations: 0 / 0.7362 GB, free: 9.785 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002492/0.1895, allocations: 140.7 kB / 0.7364 GB, free: 9.605 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1895, allocations: 0 / 0.7364 GB, free: 9.605 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.933e-05/0.1896, allocations: 19.92 kB / 0.7364 GB, free: 9.586 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.566e-06/0.1896, allocations: 4 kB / 0.7364 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.1896, allocations: 4 kB / 0.7364 GB, free: 9.578 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1896, allocations: 4 kB / 0.7364 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/0.1896, allocations: 3.938 kB / 0.7364 GB, free: 9.57 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001906/0.1898, allocations: 163.5 kB / 0.7366 GB, free: 9.395 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.873e-05/0.1898, allocations: 11.89 kB / 0.7366 GB, free: 9.383 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.31e-05/0.1898, allocations: 0 / 0.7366 GB, free: 9.383 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.1899, allocations: 8.031 kB / 0.7366 GB, free: 9.375 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.682e-05/0.19, allocations: 7.938 kB / 0.7366 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-06/0.19, allocations: 4 kB / 0.7366 GB, free: 9.363 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.779e-05/0.19, allocations: 87.22 kB / 0.7367 GB, free: 9.277 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.19, allocations: 0 / 0.7367 GB, free: 9.277 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002428/0.1902, allocations: 12 kB / 0.7367 GB, free: 9.266 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.0005022/0.1907, allocations: 0.7204 MB / 0.7374 GB, free: 8.52 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001151/0.1909, allocations: 39.92 kB / 0.7374 GB, free: 8.48 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1909, allocations: 0 / 0.7374 GB, free: 8.48 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.389e-05/0.1909, allocations: 15.94 kB / 0.7374 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003011/0.1912, allocations: 7.938 kB / 0.7374 GB, free: 8.457 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001569/0.1928, allocations: 1.535 MB / 0.7389 GB, free: 6.816 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003333/0.1931, allocations: 0.6807 MB / 0.7396 GB, free: 6.109 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.907e-05/0.1931, allocations: 8 kB / 0.7396 GB, free: 6.102 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.882e-05/0.1932, allocations: 15.44 kB / 0.7396 GB, free: 6.086 MB / 0.5606 GB Notification: Performance of SimCode: time 5.11e-07/0.1932, allocations: 0 / 0.7396 GB, free: 6.086 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02414/0.2173, allocations: 1.845 MB / 0.7414 GB, free: 4.398 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/11.81, allocations: 15.23 kB / 0.7414 GB, free: 4.387 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.74725421902258] Failed to read output from testmodel.py, exit status != 0: 11.983687972009648 12.014177971 11.822657573 Calling exit ...