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.001659/0.001659, 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.001962/0.001962, allocations: 198.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.554/1.554, allocations: 230.6 MB / 254.2 MB, free: 15.1 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.031/1.031, allocations: 150 MB / 460.2 MB, free: 5.285 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.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.002937/0.002937, allocations: 75.5 kB / 0.6368 GB, free: 30.36 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2113/0.2142, allocations: 89.12 MB / 0.7238 GB, free: 4.09 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterDerivativeCheck): time 0.003017/0.2173, allocations: 1.272 MB / 0.725 GB, free: 2.805 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004847/0.2221, allocations: 3.334 MB / 0.7283 GB, free: 15.45 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.172e-05/0.2222, allocations: 0 / 0.7283 GB, free: 15.45 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.355e-05/0.2222, allocations: 7.922 kB / 0.7283 GB, free: 15.44 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.659e-05/0.2222, allocations: 4 kB / 0.7283 GB, free: 15.44 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005795/0.2228, allocations: 115.5 kB / 0.7284 GB, free: 15.32 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.775e-05/0.2229, allocations: 35.92 kB / 0.7285 GB, free: 15.29 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.556e-05/0.223, allocations: 0 / 0.7285 GB, free: 15.29 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.872e-05/0.223, allocations: 23.92 kB / 0.7285 GB, free: 15.27 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.929e-05/0.2231, allocations: 15.91 kB / 0.7285 GB, free: 15.25 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.189e-05/0.2231, allocations: 4 kB / 0.7285 GB, free: 15.25 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002411/0.2233, allocations: 83.73 kB / 0.7286 GB, free: 15.16 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.914e-05/0.2234, allocations: 11.98 kB / 0.7286 GB, free: 15.15 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.304e-05/0.2234, allocations: 15.94 kB / 0.7286 GB, free: 15.14 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001983/0.2236, allocations: 72.06 kB / 0.7287 GB, free: 15.07 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.2236, allocations: 4 kB / 0.7287 GB, free: 15.06 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.735e-06/0.2236, allocations: 0 / 0.7287 GB, free: 15.06 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.767e-06/0.2236, allocations: 0 / 0.7287 GB, free: 15.06 MB / 0.545 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.0004997/0.2241, allocations: 347.3 kB / 0.729 GB, free: 14.68 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.2241, allocations: 8.031 kB / 0.729 GB, free: 14.67 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.152e-05/0.2242, allocations: 12.17 kB / 0.729 GB, free: 14.66 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.477e-05/0.2242, allocations: 34.73 kB / 0.7291 GB, free: 14.61 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.353e-05/0.2243, allocations: 4.938 kB / 0.7291 GB, free: 14.61 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/0.2244, allocations: 172.3 kB / 0.7292 GB, free: 14.4 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.2245, allocations: 8.375 kB / 0.7292 GB, free: 14.39 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.794e-05/0.2245, allocations: 8.125 kB / 0.7292 GB, free: 14.39 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/0.2246, allocations: 53.67 kB / 0.7293 GB, free: 14.33 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.2247, allocations: 0 / 0.7293 GB, free: 14.33 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.2247, allocations: 0 / 0.7293 GB, free: 14.33 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.2247, allocations: 0 / 0.7293 GB, free: 14.33 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.414e-05/0.2247, allocations: 19.97 kB / 0.7293 GB, free: 14.31 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002317/0.225, allocations: 173.6 kB / 0.7295 GB, free: 14.09 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001158/0.2251, allocations: 54.48 kB / 0.7295 GB, free: 14.03 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.63e-05/0.2251, allocations: 20.78 kB / 0.7296 GB, free: 14 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008164/0.2259, allocations: 0.583 MB / 0.7301 GB, free: 13.31 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/0.226, allocations: 34.56 kB / 0.7302 GB, free: 13.27 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.226, allocations: 4 kB / 0.7302 GB, free: 13.27 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0006613/0.2266, allocations: 306.5 kB / 0.7305 GB, free: 12.91 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.894e-05/0.2267, allocations: 51.41 kB / 0.7305 GB, free: 12.85 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.402e-05/0.2268, allocations: 105.7 kB / 0.7306 GB, free: 12.74 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.25e-05/0.2268, allocations: 29.7 kB / 0.7306 GB, free: 12.7 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.728e-05/0.2269, allocations: 84.09 kB / 0.7307 GB, free: 12.62 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.563e-05/0.2269, allocations: 35.67 kB / 0.7307 GB, free: 12.58 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.567e-05/0.2269, allocations: 29.72 kB / 0.7308 GB, free: 12.55 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001697/0.2271, allocations: 318.8 kB / 0.7311 GB, free: 12.23 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.048e-05/0.2271, allocations: 12 kB / 0.7311 GB, free: 12.21 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.583e-05/0.2272, allocations: 53.14 kB / 0.7311 GB, free: 12.14 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.711e-05/0.2273, allocations: 73.08 kB / 0.7312 GB, free: 12.05 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.2273, allocations: 0 / 0.7312 GB, free: 12.05 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001533/0.2274, allocations: 89.55 kB / 0.7313 GB, free: 11.96 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.2275, allocations: 8 kB / 0.7313 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.2275, allocations: 128 / 0.7313 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.2275, allocations: 8 kB / 0.7313 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.796e-05/0.2276, allocations: 19.94 kB / 0.7313 GB, free: 11.93 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.2276, allocations: 3.938 kB / 0.7313 GB, free: 11.92 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.136e-05/0.2276, allocations: 8.438 kB / 0.7313 GB, free: 11.91 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.2276, allocations: 7.984 kB / 0.7314 GB, free: 11.91 MB / 0.545 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 9.348e-05/0.2277, allocations: 113.8 kB / 0.7315 GB, free: 11.79 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.817e-05/0.2277, allocations: 7.891 kB / 0.7315 GB, free: 11.78 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.528e-05/0.2278, allocations: 7.969 kB / 0.7315 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.2278, allocations: 12 kB / 0.7315 GB, free: 11.75 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/0.2278, allocations: 3.938 kB / 0.7315 GB, free: 11.75 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.2278, allocations: 0 / 0.7315 GB, free: 11.75 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002706/0.2281, allocations: 173.6 kB / 0.7317 GB, free: 11.53 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.2281, allocations: 0 / 0.7317 GB, free: 11.53 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.085e-05/0.2282, allocations: 19.98 kB / 0.7317 GB, free: 11.51 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.2282, allocations: 288 / 0.7317 GB, free: 11.51 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.184e-06/0.2282, allocations: 4 kB / 0.7317 GB, free: 11.51 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.2282, allocations: 0 / 0.7317 GB, free: 11.51 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.2282, allocations: 3.938 kB / 0.7317 GB, free: 11.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000225/0.2284, allocations: 183.4 kB / 0.7319 GB, free: 11.31 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.078e-05/0.2285, allocations: 81.11 kB / 0.7319 GB, free: 11.21 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.394e-05/0.2285, allocations: 0 / 0.7319 GB, free: 11.21 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001424/0.2286, allocations: 12.03 kB / 0.7319 GB, free: 11.2 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.621e-05/0.2286, allocations: 3.938 kB / 0.732 GB, free: 11.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.198e-06/0.2286, allocations: 4 kB / 0.732 GB, free: 11.19 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.581e-05/0.2287, allocations: 75.28 kB / 0.732 GB, free: 11.12 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.2287, allocations: 4 kB / 0.732 GB, free: 11.11 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002374/0.2289, allocations: 16 kB / 0.732 GB, free: 11.1 MB / 0.545 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.0005416/0.2295, allocations: 0.7085 MB / 0.7327 GB, free: 10.36 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001354/0.2296, allocations: 43.89 kB / 0.7328 GB, free: 10.32 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2296, allocations: 4.25 kB / 0.7328 GB, free: 10.32 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.357e-05/0.2296, allocations: 12 kB / 0.7328 GB, free: 10.3 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003083/0.2299, allocations: 7.938 kB / 0.7328 GB, free: 10.3 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001682/0.2316, allocations: 1.535 MB / 0.7343 GB, free: 8.656 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003534/0.232, allocations: 0.6846 MB / 0.735 GB, free: 7.945 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.796e-05/0.232, allocations: 8 kB / 0.735 GB, free: 7.938 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.329e-05/0.2321, allocations: 15.44 kB / 0.735 GB, free: 7.922 MB / 0.545 GB Notification: Performance of SimCode: time 2.91e-07/0.2321, allocations: 0 / 0.735 GB, free: 7.922 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01955/0.2516, allocations: 1.703 MB / 0.7367 GB, free: 6.312 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.309/8.561, allocations: 5.969 kB / 0.7367 GB, free: 6.309 MB / 0.545 GB " [Timeout remaining time 651] (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: 12.688149094989058] Failed to read output from testmodel.py, exit status != 0: 8.686499008035753 8.706025632 8.478591114 Calling exit ...