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.001718/0.001718, allocations: 97.91 kB / 20.48 MB, free: 1.363 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.002261/0.002261, allocations: 217.3 kB / 23.78 MB, free: 4.523 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.493/1.493, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.9599/0.9599, allocations: 150 MB / 464 MB, free: 10.26 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.00225/0.00225, allocations: 70.08 kB / 0.6419 GB, free: 9.969 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2178/0.22, allocations: 89.17 MB / 0.729 GB, free: 0.8711 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterDerivativeCheck): time 0.00343/0.2235, allocations: 1.268 MB / 0.7302 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006149/0.2296, allocations: 3.075 MB / 0.7333 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.099e-05/0.2297, allocations: 0 / 0.7333 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.67e-05/0.2297, allocations: 0 / 0.7333 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.162e-05/0.2298, allocations: 3.938 kB / 0.7333 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007785/0.2305, allocations: 119.5 kB / 0.7334 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001151/0.2306, allocations: 35.84 kB / 0.7334 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.883e-05/0.2307, allocations: 4 kB / 0.7334 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.843e-05/0.2308, allocations: 15.98 kB / 0.7334 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.355e-05/0.2308, allocations: 19.92 kB / 0.7334 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.38e-05/0.2309, allocations: 0 / 0.7334 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002693/0.2311, allocations: 67.75 kB / 0.7335 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.559e-05/0.2311, allocations: 7.984 kB / 0.7335 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.755e-05/0.2312, allocations: 19.92 kB / 0.7335 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002397/0.2314, allocations: 68.08 kB / 0.7336 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.2314, allocations: 0 / 0.7336 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.322e-06/0.2314, allocations: 0 / 0.7336 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.145e-05/0.2314, allocations: 0 / 0.7336 GB, free: 12.15 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.0004943/0.2319, allocations: 278.2 kB / 0.7339 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.36e-05/0.232, allocations: 12.02 kB / 0.7339 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.764e-05/0.232, allocations: 192 / 0.7339 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.088e-05/0.2321, allocations: 38.75 kB / 0.7339 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001202/0.2322, allocations: 4.938 kB / 0.7339 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.2323, allocations: 106.5 kB / 0.734 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.2323, allocations: 16.25 kB / 0.734 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.844e-05/0.2323, allocations: 12.12 kB / 0.734 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002399/0.2326, allocations: 130.8 kB / 0.7342 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.2326, allocations: 0 / 0.7342 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.668e-05/0.2326, allocations: 4 kB / 0.7342 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.2326, allocations: 0 / 0.7342 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.697e-05/0.2327, allocations: 19.97 kB / 0.7342 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000237/0.2329, allocations: 132.7 kB / 0.7343 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001429/0.2331, allocations: 54.48 kB / 0.7344 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.429e-05/0.2331, allocations: 21.02 kB / 0.7344 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000757/0.2339, allocations: 245.9 kB / 0.7346 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.884e-05/0.2339, allocations: 38.56 kB / 0.7347 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.2339, allocations: 0 / 0.7347 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0007855/0.2347, allocations: 221.1 kB / 0.7349 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.192e-05/0.2347, allocations: 55.41 kB / 0.7349 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.2348, allocations: 105.7 kB / 0.735 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/0.2349, allocations: 25.7 kB / 0.7351 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.173e-05/0.2349, allocations: 88.08 kB / 0.7351 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.605e-05/0.235, allocations: 35.75 kB / 0.7352 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.347e-05/0.235, allocations: 33.7 kB / 0.7352 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001721/0.2352, allocations: 314.8 kB / 0.7355 GB, free: 9.945 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.234e-05/0.2352, allocations: 11.98 kB / 0.7355 GB, free: 9.934 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.55e-05/0.2353, allocations: 57.14 kB / 0.7356 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001103/0.2354, allocations: 65.09 kB / 0.7356 GB, free: 9.777 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.2354, allocations: 0 / 0.7356 GB, free: 9.777 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001852/0.2356, allocations: 97.55 kB / 0.7357 GB, free: 9.676 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.2356, allocations: 4 kB / 0.7357 GB, free: 9.672 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.2356, allocations: 4 kB / 0.7357 GB, free: 9.668 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.2357, allocations: 448 / 0.7357 GB, free: 9.668 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.011e-05/0.2357, allocations: 27.92 kB / 0.7358 GB, free: 9.641 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.265e-05/0.2358, allocations: 7.938 kB / 0.7358 GB, free: 9.633 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.523e-05/0.2358, allocations: 4 kB / 0.7358 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.2358, allocations: 4 kB / 0.7358 GB, free: 9.625 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.0001173/0.2359, allocations: 115.8 kB / 0.7359 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.574e-05/0.236, allocations: 12.08 kB / 0.7359 GB, free: 9.492 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.312e-05/0.236, allocations: 8.062 kB / 0.7359 GB, free: 9.48 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.236, allocations: 0 / 0.7359 GB, free: 9.48 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.236, allocations: 11.86 kB / 0.7359 GB, free: 9.469 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.236, allocations: 0 / 0.7359 GB, free: 9.469 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002783/0.2363, allocations: 144.8 kB / 0.7361 GB, free: 9.285 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.2363, allocations: 0 / 0.7361 GB, free: 9.285 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.938e-05/0.2364, allocations: 19.92 kB / 0.7361 GB, free: 9.266 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.175e-06/0.2364, allocations: 0 / 0.7361 GB, free: 9.266 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.2364, allocations: 0 / 0.7361 GB, free: 9.266 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.2364, allocations: 3.938 kB / 0.7361 GB, free: 9.262 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.2364, allocations: 11.94 kB / 0.7361 GB, free: 9.25 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002452/0.2367, allocations: 167.8 kB / 0.7362 GB, free: 9.07 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.327e-05/0.2367, allocations: 8.047 kB / 0.7363 GB, free: 9.062 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.622e-05/0.2367, allocations: 0 / 0.7363 GB, free: 9.062 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.2368, allocations: 15.92 kB / 0.7363 GB, free: 9.047 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.667e-05/0.2368, allocations: 7.922 kB / 0.7363 GB, free: 9.039 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.298e-06/0.2369, allocations: 4 kB / 0.7363 GB, free: 9.035 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.02e-05/0.2369, allocations: 75.28 kB / 0.7364 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2369, allocations: 4 kB / 0.7364 GB, free: 8.957 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002685/0.2372, allocations: 12 kB / 0.7364 GB, free: 8.945 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.0005892/0.2378, allocations: 0.7085 MB / 0.7371 GB, free: 8.211 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001479/0.2379, allocations: 43.89 kB / 0.7371 GB, free: 8.168 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.2379, allocations: 0 / 0.7371 GB, free: 8.168 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.283e-05/0.238, allocations: 16 kB / 0.7371 GB, free: 8.152 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003568/0.2383, allocations: 13.97 kB / 0.7371 GB, free: 8.141 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001889/0.2402, allocations: 1.524 MB / 0.7386 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.319e-05/0.2403, allocations: 79.33 kB / 0.7387 GB, free: 6.414 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.854e-05/0.2403, allocations: 0 / 0.7387 GB, free: 6.414 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.965e-05/0.2404, allocations: 19.44 kB / 0.7387 GB, free: 6.395 MB / 0.5606 GB Notification: Performance of SimCode: time 7.52e-07/0.2404, allocations: 0 / 0.7387 GB, free: 6.395 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02523/0.2656, allocations: 1.867 MB / 0.7405 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.81, allocations: 18.41 kB / 0.7406 GB, free: 4.676 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.698389074066654] Failed to read output from testmodel.py, exit status != 0: 11.974931851029396 12.004473395 11.767521251 Calling exit ...