Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001611/0.001611, allocations: 107.2 kB / 16.45 MB, free: 6.508 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.001842/0.001842, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.478/1.478, allocations: 230.6 MB / 252.8 MB, free: 9.117 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9033/0.9033, allocations: 134 MB / 442.8 MB, free: 11.69 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Media.Examples.WaterDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.WaterDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.001919/0.001919, allocations: 62.03 kB / 0.6134 GB, free: 8.805 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1949/0.1968, allocations: 85.86 MB / 0.6972 GB, free: 3.023 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterDerivativeCheck): time 0.002521/0.1993, allocations: 1.28 MB / 0.6985 GB, free: 1.73 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004066/0.2034, allocations: 3.34 MB / 0.7017 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.942e-05/0.2034, allocations: 0 / 0.7017 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.894e-05/0.2034, allocations: 4 kB / 0.7017 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.965e-05/0.2035, allocations: 7.922 kB / 0.7018 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004849/0.204, allocations: 109.1 kB / 0.7019 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.499e-05/0.204, allocations: 31.86 kB / 0.7019 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.76e-05/0.2041, allocations: 7.984 kB / 0.7019 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.668e-05/0.2041, allocations: 19.92 kB / 0.7019 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.262e-05/0.2042, allocations: 19.92 kB / 0.7019 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.588e-06/0.2042, allocations: 0 / 0.7019 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002327/0.2044, allocations: 95.73 kB / 0.702 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.483e-05/0.2044, allocations: 7.984 kB / 0.702 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.189e-05/0.2045, allocations: 15.92 kB / 0.702 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001849/0.2047, allocations: 68.08 kB / 0.7021 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.2047, allocations: 0 / 0.7021 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2047, allocations: 0 / 0.7021 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.049e-05/0.2047, allocations: 0 / 0.7021 GB, free: 13.99 MB / 0.5294 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.0004612/0.2051, allocations: 351.4 kB / 0.7024 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.2052, allocations: 13.11 kB / 0.7025 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.783e-05/0.2052, allocations: 38.75 kB / 0.7025 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.717e-05/0.2053, allocations: 4.938 kB / 0.7025 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.2054, allocations: 164.3 kB / 0.7027 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.2054, allocations: 4.375 kB / 0.7027 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.976e-05/0.2055, allocations: 12.33 kB / 0.7027 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001302/0.2056, allocations: 57.55 kB / 0.7027 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.2056, allocations: 0 / 0.7027 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.2056, allocations: 0 / 0.7027 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.2056, allocations: 0 / 0.7027 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.274e-05/0.2057, allocations: 27.91 kB / 0.7028 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001878/0.2059, allocations: 165.7 kB / 0.7029 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001121/0.206, allocations: 50.5 kB / 0.703 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.318e-05/0.206, allocations: 16.84 kB / 0.703 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007491/0.2068, allocations: 0.5948 MB / 0.7036 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.2068, allocations: 34.56 kB / 0.7036 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.2068, allocations: 0 / 0.7036 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.0006033/0.2074, allocations: 302.3 kB / 0.7039 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/0.2074, allocations: 51.41 kB / 0.7039 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.149e-05/0.2075, allocations: 101.8 kB / 0.704 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/0.2075, allocations: 29.64 kB / 0.7041 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.642e-05/0.2076, allocations: 92.09 kB / 0.7041 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.445e-05/0.2076, allocations: 27.73 kB / 0.7042 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-05/0.2077, allocations: 25.72 kB / 0.7042 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.2078, allocations: 322.8 kB / 0.7045 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.894e-05/0.2078, allocations: 11.94 kB / 0.7045 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.628e-05/0.2079, allocations: 53.14 kB / 0.7046 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.393e-05/0.208, allocations: 77.25 kB / 0.7046 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.208, allocations: 0 / 0.7046 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001458/0.2081, allocations: 97.5 kB / 0.7047 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.2082, allocations: 12.12 kB / 0.7047 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.2082, allocations: 0 / 0.7047 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.2082, allocations: 4 kB / 0.7047 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.462e-05/0.2083, allocations: 23.92 kB / 0.7048 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.2083, allocations: 4.062 kB / 0.7048 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.899e-05/0.2083, allocations: 7.938 kB / 0.7048 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.2083, allocations: 4 kB / 0.7048 GB, free: 10.83 MB / 0.5294 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.741e-05/0.2084, allocations: 113.8 kB / 0.7049 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.635e-05/0.2084, allocations: 0 / 0.7049 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.419e-05/0.2085, allocations: 15.97 kB / 0.7049 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.2085, allocations: 0 / 0.7049 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.2085, allocations: 0 / 0.7049 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.2085, allocations: 3.938 kB / 0.7049 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002628/0.2087, allocations: 177.7 kB / 0.7051 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.2087, allocations: 0 / 0.7051 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001035/0.2088, allocations: 19.92 kB / 0.7051 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.2088, allocations: 4 kB / 0.7051 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-06/0.2089, allocations: 448 / 0.7051 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.2089, allocations: 0 / 0.7051 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.2089, allocations: 7.938 kB / 0.7051 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002029/0.2091, allocations: 179.4 kB / 0.7053 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.922e-05/0.2091, allocations: 81.11 kB / 0.7054 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.2091, allocations: 4.047 kB / 0.7054 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.2092, allocations: 7.984 kB / 0.7054 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.002e-05/0.2093, allocations: 3.938 kB / 0.7054 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.621e-06/0.2093, allocations: 7.938 kB / 0.7054 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.524e-05/0.2093, allocations: 91.27 kB / 0.7055 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.2093, allocations: 0 / 0.7055 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002388/0.2096, allocations: 8 kB / 0.7055 GB, free: 10.03 MB / 0.5294 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.0004946/0.2101, allocations: 0.7047 MB / 0.7062 GB, free: 9.297 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001202/0.2102, allocations: 43.92 kB / 0.7062 GB, free: 9.254 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.2102, allocations: 3.938 kB / 0.7062 GB, free: 9.25 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 2.386e-05/0.2102, allocations: 12 kB / 0.7062 GB, free: 9.238 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000306/0.2105, allocations: 11.94 kB / 0.7062 GB, free: 9.227 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001618/0.2121, allocations: 1.526 MB / 0.7077 GB, free: 7.594 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003201/0.2124, allocations: 0.6807 MB / 0.7084 GB, free: 6.887 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.617e-05/0.2125, allocations: 8 kB / 0.7084 GB, free: 6.879 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.308e-05/0.2125, allocations: 19.42 kB / 0.7084 GB, free: 6.859 MB / 0.5294 GB Notification: Performance of SimCode: time 3.31e-07/0.2125, allocations: 3.938 kB / 0.7084 GB, free: 6.855 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02467/0.2372, allocations: 1.647 MB / 0.71 GB, free: 5.289 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.93/8.167, allocations: 4 kB / 0.71 GB, free: 5.285 MB / 0.5294 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Media_Examples_WaterDerivativeCheck.fmu > IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.865257601006306] Failed to read output from testmodel.py, exit status != 0: 8.23298082499241 8.253072969 8.044688631 Calling exit ...