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.00179/0.00179, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.002216/0.002216, allocations: 212.5 kB / 22.25 MB, free: 5.121 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.458/1.458, allocations: 230.6 MB / 256 MB, free: 8.023 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.8929/0.8929, allocations: 134 MB / 446.4 MB, free: 10.29 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.001946/0.001946, allocations: 71.17 kB / 0.6185 GB, free: 7.266 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1923/0.1942, allocations: 85.91 MB / 0.7024 GB, free: 1.434 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterDerivativeCheck): time 0.002623/0.1968, allocations: 1.278 MB / 0.7037 GB, free: 148 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004607/0.2014, allocations: 3.375 MB / 0.707 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.147e-05/0.2015, allocations: 0 / 0.707 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.552e-05/0.2015, allocations: 3.938 kB / 0.707 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.394e-05/0.2015, allocations: 7.984 kB / 0.707 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006046/0.2022, allocations: 107.5 kB / 0.7071 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001104/0.2023, allocations: 35.91 kB / 0.7071 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.279e-05/0.2023, allocations: 4 kB / 0.7071 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.476e-05/0.2024, allocations: 19.92 kB / 0.7071 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.627e-05/0.2025, allocations: 19.92 kB / 0.7071 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.199e-05/0.2025, allocations: 0 / 0.7071 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003348/0.2028, allocations: 95.72 kB / 0.7072 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.48e-05/0.2028, allocations: 4 kB / 0.7072 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.964e-05/0.2029, allocations: 15.92 kB / 0.7073 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002005/0.2031, allocations: 68.08 kB / 0.7073 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.2031, allocations: 0 / 0.7073 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.793e-06/0.2031, allocations: 0 / 0.7073 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.2031, allocations: 0 / 0.7073 GB, free: 12.38 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.0004963/0.2036, allocations: 276.8 kB / 0.7076 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.2036, allocations: 8.031 kB / 0.7076 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.612e-05/0.2037, allocations: 34.75 kB / 0.7076 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001102/0.2038, allocations: 8.938 kB / 0.7076 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001353/0.2039, allocations: 114.5 kB / 0.7077 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.2039, allocations: 4.312 kB / 0.7077 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.672e-05/0.204, allocations: 12.33 kB / 0.7078 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001612/0.2041, allocations: 53.61 kB / 0.7078 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.2041, allocations: 0 / 0.7078 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.2041, allocations: 4 kB / 0.7078 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-06/0.2041, allocations: 3.938 kB / 0.7078 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.719e-05/0.2042, allocations: 19.97 kB / 0.7078 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002074/0.2044, allocations: 136.8 kB / 0.708 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001016/0.2045, allocations: 50.48 kB / 0.708 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.57e-05/0.2045, allocations: 20.84 kB / 0.708 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006262/0.2052, allocations: 242.1 kB / 0.7083 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.784e-05/0.2052, allocations: 38.56 kB / 0.7083 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.2052, allocations: 0 / 0.7083 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.0006748/0.2059, allocations: 221.6 kB / 0.7085 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.383e-05/0.2059, allocations: 59.41 kB / 0.7086 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.084e-05/0.206, allocations: 109.7 kB / 0.7087 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/0.2061, allocations: 29.7 kB / 0.7087 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001636/0.2062, allocations: 84.09 kB / 0.7088 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.343e-05/0.2062, allocations: 39.67 kB / 0.7088 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.578e-05/0.2063, allocations: 25.72 kB / 0.7088 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002249/0.2065, allocations: 314.8 kB / 0.7091 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.077e-05/0.2065, allocations: 12.06 kB / 0.7092 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.591e-05/0.2066, allocations: 54.67 kB / 0.7092 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002039/0.2068, allocations: 85.08 kB / 0.7093 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.2068, allocations: 0 / 0.7093 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001447/0.207, allocations: 93.5 kB / 0.7094 GB, free: 9.996 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.207, allocations: 8.125 kB / 0.7094 GB, free: 9.988 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.207, allocations: 4 kB / 0.7094 GB, free: 9.984 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.207, allocations: 0 / 0.7094 GB, free: 9.984 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.783e-05/0.2071, allocations: 19.94 kB / 0.7094 GB, free: 9.965 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.2071, allocations: 4 kB / 0.7094 GB, free: 9.961 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.125e-05/0.2071, allocations: 7.938 kB / 0.7094 GB, free: 9.953 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.2071, allocations: 4 kB / 0.7094 GB, free: 9.949 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 9.741e-05/0.2072, allocations: 117.8 kB / 0.7095 GB, free: 9.824 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.753e-05/0.2073, allocations: 4 kB / 0.7095 GB, free: 9.82 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.597e-05/0.2073, allocations: 12.06 kB / 0.7096 GB, free: 9.801 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.2073, allocations: 0 / 0.7096 GB, free: 9.801 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.2073, allocations: 3.938 kB / 0.7096 GB, free: 9.797 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.2073, allocations: 7.938 kB / 0.7096 GB, free: 9.789 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002577/0.2076, allocations: 144.7 kB / 0.7097 GB, free: 9.605 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2076, allocations: 0 / 0.7097 GB, free: 9.605 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.97e-05/0.2077, allocations: 15.98 kB / 0.7097 GB, free: 9.59 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.2077, allocations: 0 / 0.7097 GB, free: 9.59 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.2077, allocations: 4 kB / 0.7097 GB, free: 9.586 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.2077, allocations: 7.938 kB / 0.7097 GB, free: 9.578 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.2077, allocations: 0 / 0.7097 GB, free: 9.578 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002127/0.2079, allocations: 179.4 kB / 0.7099 GB, free: 9.387 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.268e-05/0.2079, allocations: 4 kB / 0.7099 GB, free: 9.383 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.2079, allocations: 0 / 0.7099 GB, free: 9.383 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.208, allocations: 7.938 kB / 0.7099 GB, free: 9.375 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.447e-05/0.2081, allocations: 11.92 kB / 0.7099 GB, free: 9.363 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-06/0.2081, allocations: 4 kB / 0.7099 GB, free: 9.359 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.276e-05/0.2081, allocations: 75.66 kB / 0.71 GB, free: 9.285 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2081, allocations: 4 kB / 0.71 GB, free: 9.281 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002394/0.2084, allocations: 16 kB / 0.71 GB, free: 9.266 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.0006348/0.209, allocations: 0.7009 MB / 0.7107 GB, free: 8.539 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001324/0.2091, allocations: 52.02 kB / 0.7108 GB, free: 8.488 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2091, allocations: 0 / 0.7108 GB, free: 8.488 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 2.399e-05/0.2091, allocations: 16 kB / 0.7108 GB, free: 8.473 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003107/0.2095, allocations: 10.19 kB / 0.7108 GB, free: 8.465 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001724/0.2112, allocations: 1.531 MB / 0.7123 GB, free: 6.828 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003439/0.2115, allocations: 0.6884 MB / 0.7129 GB, free: 6.113 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.396e-05/0.2116, allocations: 8 kB / 0.713 GB, free: 6.105 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.971e-05/0.2116, allocations: 15.44 kB / 0.713 GB, free: 6.09 MB / 0.5294 GB Notification: Performance of SimCode: time 3.31e-07/0.2116, allocations: 0 / 0.713 GB, free: 6.09 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02985/0.2415, allocations: 1.808 MB / 0.7147 GB, free: 4.418 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.2, allocations: 0 / 0.7147 GB, free: 4.418 MB / 0.5294 GB " [Timeout remaining time 649] (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: 15.021277935004036] Failed to read output from testmodel.py, exit status != 0: 11.301880758001062 11.325129556 11.117863913 Calling exit ...