Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.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.001536/0.001536, allocations: 112.5 kB / 21.19 MB, free: 0.7578 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.001694/0.001694, allocations: 209.8 kB / 24.49 MB, free: 4.133 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.421/1.421, allocations: 230.6 MB / 258.3 MB, free: 8.242 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 44.06 kB / 379 MB, free: 2.699 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2143/0.2158, allocations: 53.38 MB / 432.4 MB, free: 6.957 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.00238/0.2182, allocations: 1.363 MB / 433.8 MB, free: 5.586 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005304/0.2235, allocations: 4.109 MB / 437.9 MB, free: 1.453 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.353e-05/0.2235, allocations: 0 / 437.9 MB, free: 1.453 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.916e-05/0.2235, allocations: 3.984 kB / 437.9 MB, free: 1.449 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009731/0.2245, allocations: 306.8 kB / 438.2 MB, free: 1.148 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001054/0.2255, allocations: 0.5045 MB / 438.7 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.01e-05/0.2256, allocations: 55.67 kB / 438.7 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.432e-05/0.2257, allocations: 3.797 kB / 438.7 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001123/0.2258, allocations: 47.84 kB / 438.8 MB, free: 0.543 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007177/0.2265, allocations: 367.3 kB / 439.1 MB, free: 188 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.32e-05/0.2265, allocations: 4 kB / 439.1 MB, free: 184 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001061/0.2276, allocations: 0.6512 MB / 439.8 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.507e-05/0.2276, allocations: 7.938 kB / 439.8 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.497e-05/0.2276, allocations: 23.86 kB / 439.8 MB, free: 15.49 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006797/0.2283, allocations: 452.3 kB / 440.3 MB, free: 15.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2283, allocations: 4 kB / 440.3 MB, free: 15.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2283, allocations: 0 / 440.3 MB, free: 15.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.2283, allocations: 0 / 440.3 MB, free: 15.05 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005506/0.2289, allocations: 365.3 kB / 440.6 MB, free: 14.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.2289, allocations: 12.02 kB / 440.6 MB, free: 14.65 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.835e-05/0.2289, allocations: 12.89 kB / 440.6 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002066/0.2291, allocations: 130.4 kB / 440.8 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.2292, allocations: 4.375 kB / 440.8 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.233e-05/0.2292, allocations: 11.88 kB / 440.8 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/0.2293, allocations: 67.33 kB / 440.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.2293, allocations: 0 / 440.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.2293, allocations: 0 / 440.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.2293, allocations: 0 / 440.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.117e-05/0.2294, allocations: 27.97 kB / 440.9 MB, free: 14.37 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001833/0.2296, allocations: 141.5 kB / 441 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002701/0.2299, allocations: 81.28 kB / 441.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.171e-05/0.2299, allocations: 17.7 kB / 441.1 MB, free: 14.06 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003298/0.2303, allocations: 127.9 kB / 441.2 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/0.2303, allocations: 34.5 kB / 441.3 MB, free: 13.89 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.803e-06/0.2303, allocations: 3.938 kB / 441.3 MB, free: 13.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002734/0.2306, allocations: 85.55 kB / 441.4 MB, free: 13.8 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.7e-05/0.2306, allocations: 77.11 kB / 441.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.911e-05/0.2307, allocations: 117.8 kB / 441.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.2307, allocations: 25.7 kB / 441.6 MB, free: 13.55 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.928e-05/0.2308, allocations: 84.14 kB / 441.7 MB, free: 13.47 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.256e-05/0.2308, allocations: 23.78 kB / 441.7 MB, free: 13.45 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.81e-05/0.2308, allocations: 21.72 kB / 441.7 MB, free: 13.42 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.231, allocations: 318.8 kB / 442 MB, free: 13.1 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.39e-05/0.231, allocations: 8 kB / 442 MB, free: 13.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.517e-05/0.2311, allocations: 47.41 kB / 442.1 MB, free: 13.03 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001296/0.2312, allocations: 63.34 kB / 442.1 MB, free: 12.96 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2312, allocations: 0 / 442.1 MB, free: 12.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001926/0.2314, allocations: 85.56 kB / 442.2 MB, free: 12.87 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.2314, allocations: 8 kB / 442.2 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.2315, allocations: 11.88 kB / 442.2 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.2315, allocations: 0 / 442.2 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.699e-05/0.2315, allocations: 15.98 kB / 442.3 MB, free: 12.83 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.892e-06/0.2315, allocations: 4 kB / 442.3 MB, free: 12.83 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.972e-05/0.2316, allocations: 0 / 442.3 MB, free: 12.83 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.517e-05/0.2316, allocations: 4 kB / 442.3 MB, free: 12.82 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (8): * Single equations (assignments): 8 * 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 7.73e-05/0.2317, allocations: 117.8 kB / 442.4 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.706e-05/0.2317, allocations: 7.953 kB / 442.4 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003327/0.232, allocations: 133 kB / 442.5 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.232, allocations: 0 / 442.5 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.232, allocations: 4 kB / 442.5 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.232, allocations: 0 / 442.5 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001466/0.2322, allocations: 148.6 kB / 442.7 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.2322, allocations: 0 / 442.7 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.839e-05/0.2323, allocations: 16.56 kB / 442.7 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.2323, allocations: 0 / 442.7 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.2323, allocations: 7.984 kB / 442.7 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.2323, allocations: 3.938 kB / 442.7 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.2323, allocations: 4 kB / 442.7 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000285/0.2326, allocations: 141.8 kB / 442.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.061e-05/0.2326, allocations: 24.02 kB / 442.9 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.497e-05/0.2326, allocations: 0 / 442.9 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.125e-05/0.2326, allocations: 4 kB / 442.9 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.223e-05/0.2327, allocations: 7.984 kB / 442.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-06/0.2327, allocations: 4 kB / 442.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.273e-05/0.2327, allocations: 91.27 kB / 443 MB, free: 12.05 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2327, allocations: 0 / 443 MB, free: 12.05 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003875/0.2331, allocations: 135.5 kB / 443.1 MB, free: 11.91 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (s1,h1) * 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): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0004567/0.2336, allocations: 278.6 kB / 443.4 MB, free: 11.63 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001805/0.2338, allocations: 51.91 kB / 443.4 MB, free: 11.58 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.2338, allocations: 0 / 443.4 MB, free: 11.58 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.077e-05/0.2338, allocations: 27.92 kB / 443.4 MB, free: 11.55 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001836/0.234, allocations: 12.72 kB / 443.5 MB, free: 11.54 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005072/0.2345, allocations: 320.9 kB / 443.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002896/0.2348, allocations: 0.6885 MB / 444.5 MB, free: 10.48 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.58e-05/0.2349, allocations: 19.42 kB / 444.5 MB, free: 10.46 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2349, allocations: 0 / 444.5 MB, free: 10.46 MB / 350.1 MB Notification: Performance of Templates: time 0.005055/0.2399, allocations: 2.916 MB / 447.4 MB, free: 7.57 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & ./Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.88006118289195] Failed to read output from testmodel.py, exit status != 0: ['time', 'h1', 's1'] 0.24791484605520964 0.26231353700000004 0.031010776 Calling exit ...