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.001956/0.001956, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.002433/0.002433, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.629/1.629, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.001664/0.001664, allocations: 47.94 kB / 373.5 MB, free: 9.711 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1021, allocations: 53.33 MB / 426.8 MB, free: 4.285 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002458/0.1045, allocations: 1.375 MB / 428.2 MB, free: 2.898 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1894/0.2939, allocations: 4.047 MB / 432.2 MB, free: 8.059 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.515e-05/0.294, allocations: 0 / 432.2 MB, free: 8.059 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.836e-05/0.294, allocations: 4.781 kB / 432.2 MB, free: 8.059 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009893/0.295, allocations: 285.5 kB / 432.5 MB, free: 8.047 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001098/0.2961, allocations: 0.492 MB / 433 MB, free: 8.027 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001102/0.2962, allocations: 58.09 kB / 433 MB, free: 8.027 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.709e-05/0.2962, allocations: 4.156 kB / 433 MB, free: 8.027 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001058/0.2963, allocations: 39.41 kB / 433.1 MB, free: 8.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006294/0.297, allocations: 364.7 kB / 433.4 MB, free: 8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.156e-05/0.297, allocations: 0.6875 kB / 433.4 MB, free: 8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008984/0.2979, allocations: 0.6172 MB / 434.1 MB, free: 7.961 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.411e-05/0.2979, allocations: 12.14 kB / 434.1 MB, free: 7.961 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.189e-05/0.2979, allocations: 24.09 kB / 434.1 MB, free: 7.953 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006907/0.2986, allocations: 455.1 kB / 434.5 MB, free: 7.918 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2986, allocations: 0 / 434.5 MB, free: 7.918 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.2986, allocations: 0.5625 kB / 434.5 MB, free: 7.918 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.511e-06/0.2986, allocations: 0 / 434.5 MB, free: 7.918 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.0004819/0.2991, allocations: 442.9 kB / 435 MB, free: 7.504 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.2991, allocations: 11.16 kB / 435 MB, free: 7.504 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.053e-05/0.2992, allocations: 7.578 kB / 435 MB, free: 7.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001621/0.2993, allocations: 199.5 kB / 435.2 MB, free: 7.293 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.2993, allocations: 1.906 kB / 435.2 MB, free: 7.293 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.837e-05/0.2994, allocations: 6.516 kB / 435.2 MB, free: 7.293 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001362/0.2995, allocations: 61.69 kB / 435.3 MB, free: 7.242 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.2995, allocations: 0 / 435.3 MB, free: 7.242 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.2995, allocations: 8.25 kB / 435.3 MB, free: 7.242 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.2995, allocations: 0 / 435.3 MB, free: 7.242 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.411e-05/0.2996, allocations: 21.8 kB / 435.3 MB, free: 7.238 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001371/0.2997, allocations: 173.3 kB / 435.5 MB, free: 7.039 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002992/0.3, allocations: 75.45 kB / 435.5 MB, free: 6.992 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.328e-05/0.3001, allocations: 27.55 kB / 435.6 MB, free: 6.973 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006094/0.3007, allocations: 1.543 MB / 437.1 MB, free: 5.184 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.304e-05/0.3007, allocations: 32.53 kB / 437.1 MB, free: 5.145 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.3007, allocations: 1.156 kB / 437.1 MB, free: 5.145 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002916/0.301, allocations: 84.22 kB / 437.2 MB, free: 5.105 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.133e-05/0.3011, allocations: 79.27 kB / 437.3 MB, free: 5.012 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.756e-05/0.3011, allocations: 111.8 kB / 437.4 MB, free: 4.914 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.187e-06/0.3011, allocations: 29.7 kB / 437.4 MB, free: 4.879 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.277e-05/0.3012, allocations: 86.42 kB / 437.5 MB, free: 4.797 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.174e-05/0.3012, allocations: 24.27 kB / 437.5 MB, free: 4.781 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.654e-05/0.3012, allocations: 22.2 kB / 437.6 MB, free: 4.766 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.927e-05/0.3013, allocations: 317.2 kB / 437.9 MB, free: 4.453 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.357e-05/0.3013, allocations: 13.34 kB / 437.9 MB, free: 4.453 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.767e-05/0.3014, allocations: 45 kB / 437.9 MB, free: 4.418 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001319/0.3015, allocations: 56.33 kB / 438 MB, free: 4.383 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.3015, allocations: 3.938 kB / 438 MB, free: 4.379 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001932/0.3017, allocations: 93.66 kB / 438.1 MB, free: 4.332 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.3018, allocations: 9.219 kB / 438.1 MB, free: 4.328 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.3018, allocations: 1.406 kB / 438.1 MB, free: 4.328 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.3018, allocations: 2.125 kB / 438.1 MB, free: 4.328 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.333e-05/0.3019, allocations: 17.42 kB / 438.1 MB, free: 4.328 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.3019, allocations: 2.922 kB / 438.1 MB, free: 4.328 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.515e-05/0.3019, allocations: 2.844 kB / 438.1 MB, free: 4.328 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.418e-05/0.3019, allocations: 3.906 kB / 438.1 MB, free: 4.328 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 5.329e-05/0.302, allocations: 115.6 kB / 438.2 MB, free: 4.211 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.049e-05/0.302, allocations: 11.02 kB / 438.2 MB, free: 4.203 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003142/0.3023, allocations: 124.6 kB / 438.4 MB, free: 4.152 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.104e-06/0.3023, allocations: 2.859 kB / 438.4 MB, free: 4.152 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.3023, allocations: 0 / 438.4 MB, free: 4.152 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.3023, allocations: 1.984 kB / 438.4 MB, free: 4.152 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001024/0.3024, allocations: 171.7 kB / 438.5 MB, free: 3.961 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.3024, allocations: 4.641 kB / 438.5 MB, free: 3.957 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.197e-05/0.3025, allocations: 16.2 kB / 438.6 MB, free: 3.953 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.3025, allocations: 0.9688 kB / 438.6 MB, free: 3.953 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.3025, allocations: 3.141 kB / 438.6 MB, free: 3.953 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.3025, allocations: 2.031 kB / 438.6 MB, free: 3.953 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.3025, allocations: 4.203 kB / 438.6 MB, free: 3.953 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002966/0.3028, allocations: 144.1 kB / 438.7 MB, free: 3.875 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.927e-05/0.3029, allocations: 98.64 kB / 438.8 MB, free: 3.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.017e-05/0.3029, allocations: 1.969 kB / 438.8 MB, free: 3.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.292e-05/0.3029, allocations: 1.734 kB / 438.8 MB, free: 3.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.024e-05/0.303, allocations: 9.188 kB / 438.8 MB, free: 3.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/0.303, allocations: 3.547 kB / 438.8 MB, free: 3.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.6e-05/0.303, allocations: 94.16 kB / 438.9 MB, free: 3.691 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.303, allocations: 0 / 438.9 MB, free: 3.691 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000488/0.3035, allocations: 136.3 kB / 439 MB, free: 3.664 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.0005244/0.304, allocations: 281 kB / 439.3 MB, free: 3.543 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000203/0.3042, allocations: 53.97 kB / 439.4 MB, free: 3.535 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3042, allocations: 0 / 439.4 MB, free: 3.535 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.802e-05/0.3043, allocations: 27.03 kB / 439.4 MB, free: 3.531 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002063/0.3045, allocations: 20.8 kB / 439.4 MB, free: 3.527 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004883/0.305, allocations: 289.9 kB / 439.7 MB, free: 3.309 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001114/0.3051, allocations: 0.6871 MB / 440.4 MB, free: 2.613 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.711e-05/0.3052, allocations: 33.23 kB / 440.4 MB, free: 2.605 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.707e-05/0.3052, allocations: 18.28 kB / 440.4 MB, free: 2.598 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3052, allocations: 0 / 440.4 MB, free: 2.598 MB / 350.1 MB Notification: Performance of Templates: time 0.007432/0.3127, allocations: 3.064 MB / 443.5 MB, free: 2.215 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: 4.749165751039982] Failed to read output from testmodel.py, exit status != 0: ['time', 'h1', 's1'] 0.3209434002637863 0.333170744 0.031588145000000005 Calling exit ...