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.001446/0.001446, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001545/0.001545, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.544/1.544, allocations: 230.6 MB / 256 MB, free: 7.785 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.9511/0.9511, allocations: 134 MB / 446.4 MB, free: 9.906 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: translateModel(IDEAS.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck") translateModel(IDEAS.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck") [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.002114/0.002114, allocations: 66.31 kB / 0.6189 GB, free: 6.422 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2201/0.2222, allocations: 85.9 MB / 0.7028 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterDerivativeCheck): time 0.003298/0.2255, allocations: 1.277 MB / 0.7041 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005027/0.2305, allocations: 3.091 MB / 0.7071 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.555e-05/0.2306, allocations: 3.938 kB / 0.7071 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.317e-05/0.2306, allocations: 3.938 kB / 0.7071 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.391e-05/0.2306, allocations: 3.938 kB / 0.7071 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007064/0.2313, allocations: 107.5 kB / 0.7072 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000107/0.2315, allocations: 39.84 kB / 0.7072 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.504e-05/0.2315, allocations: 4 kB / 0.7072 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.301e-05/0.2316, allocations: 23.91 kB / 0.7073 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.428e-05/0.2316, allocations: 15.92 kB / 0.7073 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.101e-05/0.2316, allocations: 0 / 0.7073 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002624/0.2319, allocations: 67.83 kB / 0.7074 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.998e-05/0.2319, allocations: 7.984 kB / 0.7074 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.582e-05/0.232, allocations: 19.92 kB / 0.7074 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002191/0.2322, allocations: 63.8 kB / 0.7074 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 1.769e-05/0.2322, allocations: 4 kB / 0.7074 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.195e-06/0.2322, allocations: 0 / 0.7074 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.167e-05/0.2322, allocations: 0 / 0.7074 GB, free: 11.85 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.0004952/0.2327, allocations: 270.3 kB / 0.7077 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.2327, allocations: 8.031 kB / 0.7077 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001208/0.2329, allocations: 4.938 kB / 0.7077 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.233, allocations: 118.4 kB / 0.7078 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.233, allocations: 384 / 0.7078 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.601e-05/0.233, allocations: 12.33 kB / 0.7078 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002162/0.2333, allocations: 134.9 kB / 0.708 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.2333, allocations: 0 / 0.708 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.2333, allocations: 0 / 0.708 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.2333, allocations: 4 kB / 0.708 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.305e-05/0.2333, allocations: 19.97 kB / 0.708 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001883/0.2335, allocations: 105.3 kB / 0.7081 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001133/0.2337, allocations: 54.56 kB / 0.7081 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.557e-05/0.2337, allocations: 16.84 kB / 0.7082 GB, free: 11 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000662/0.2343, allocations: 245.8 kB / 0.7084 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.515e-05/0.2344, allocations: 38.56 kB / 0.7084 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.2344, allocations: 0 / 0.7084 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.0006687/0.2351, allocations: 221.2 kB / 0.7086 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.552e-05/0.2351, allocations: 59.33 kB / 0.7087 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.628e-05/0.2352, allocations: 101.9 kB / 0.7088 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.2352, allocations: 25.7 kB / 0.7088 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.101e-05/0.2353, allocations: 92.31 kB / 0.7089 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.983e-05/0.2353, allocations: 31.73 kB / 0.7089 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.346e-05/0.2354, allocations: 21.72 kB / 0.709 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001685/0.2355, allocations: 326.8 kB / 0.7093 GB, free: 9.746 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.549e-05/0.2356, allocations: 12.44 kB / 0.7093 GB, free: 9.734 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.938e-05/0.2357, allocations: 53.14 kB / 0.7093 GB, free: 9.664 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001098/0.2358, allocations: 77.25 kB / 0.7094 GB, free: 9.57 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.2358, allocations: 4 kB / 0.7094 GB, free: 9.566 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001656/0.2359, allocations: 105.5 kB / 0.7095 GB, free: 9.457 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.236, allocations: 10.53 kB / 0.7095 GB, free: 9.449 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.236, allocations: 4 kB / 0.7095 GB, free: 9.445 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.236, allocations: 0 / 0.7095 GB, free: 9.445 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.893e-05/0.2361, allocations: 19.94 kB / 0.7095 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/0.2361, allocations: 7.984 kB / 0.7096 GB, free: 9.418 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.816e-05/0.2361, allocations: 0 / 0.7096 GB, free: 9.418 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.2361, allocations: 4 kB / 0.7096 GB, free: 9.414 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 0.0001127/0.2362, allocations: 121.7 kB / 0.7097 GB, free: 9.285 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.854e-05/0.2363, allocations: 4 kB / 0.7097 GB, free: 9.281 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.724e-05/0.2363, allocations: 12 kB / 0.7097 GB, free: 9.262 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.2363, allocations: 4 kB / 0.7097 GB, free: 9.258 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.2363, allocations: 0 / 0.7097 GB, free: 9.258 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.2363, allocations: 0 / 0.7097 GB, free: 9.258 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002359/0.2366, allocations: 125.2 kB / 0.7098 GB, free: 9.105 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.2366, allocations: 0 / 0.7098 GB, free: 9.105 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.246e-05/0.2366, allocations: 19.98 kB / 0.7098 GB, free: 9.086 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.2366, allocations: 0 / 0.7098 GB, free: 9.086 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.2367, allocations: 0 / 0.7098 GB, free: 9.086 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.2367, allocations: 0 / 0.7098 GB, free: 9.086 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.2367, allocations: 0 / 0.7098 GB, free: 9.086 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002333/0.2369, allocations: 183.3 kB / 0.71 GB, free: 8.891 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.686e-05/0.2369, allocations: 8 kB / 0.71 GB, free: 8.883 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.622e-05/0.2369, allocations: 4.031 kB / 0.71 GB, free: 8.879 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.237, allocations: 4 kB / 0.71 GB, free: 8.875 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.952e-05/0.2371, allocations: 4 kB / 0.71 GB, free: 8.871 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.844e-06/0.2371, allocations: 4 kB / 0.71 GB, free: 8.867 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.353e-05/0.2371, allocations: 79.27 kB / 0.7101 GB, free: 8.789 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.2371, allocations: 0 / 0.7101 GB, free: 8.789 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002553/0.2374, allocations: 16 kB / 0.7101 GB, free: 8.773 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.0001589/0.2375, allocations: 99.25 kB / 0.7102 GB, free: 8.668 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001469/0.2377, allocations: 43.86 kB / 0.7103 GB, free: 8.625 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2377, allocations: 0 / 0.7103 GB, free: 8.625 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 2.819e-05/0.2377, allocations: 19.92 kB / 0.7103 GB, free: 8.605 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003114/0.238, allocations: 4.516 kB / 0.7103 GB, free: 8.602 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006995/0.2387, allocations: 338.7 kB / 0.7106 GB, free: 8.246 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.202e-05/0.2388, allocations: 67.34 kB / 0.7107 GB, free: 8.16 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.426e-05/0.2388, allocations: 7.938 kB / 0.7107 GB, free: 8.152 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.208e-05/0.2389, allocations: 15.42 kB / 0.7107 GB, free: 8.137 MB / 0.5294 GB Notification: Performance of SimCode: time 3.81e-07/0.2389, allocations: 0 / 0.7107 GB, free: 8.137 MB / 0.5294 GB Notification: Performance of Templates: time 0.003609/0.2425, allocations: 0.6378 MB / 0.7113 GB, free: 7.516 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.makefile [Timeout 660] (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 & ./IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.945668200030923] Failed to read output from testmodel.py, exit status != 0: 0.25163593515753746 0.26912259799999994 0.033479365000000004 Calling exit ...