Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008902/0.0008902, allocations: 84 kB / 21.43 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003191/0.003191, allocations: 145.3 kB / 24.68 MB, free: 9.422 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.809/0.809, allocations: 173.4 MB / 201.2 MB, free: 9.438 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 319.7 MB, free: 5.871 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.841e-05/1.987e-05, allocations: 9.516 kB / 319.7 MB, free: 5.863 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.001449/0.001469, allocations: 1.323 MB / 321 MB, free: 4.527 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003436/0.004906, allocations: 3.698 MB / 324.7 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.112e-05/0.004937, allocations: 3.938 kB / 324.7 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.967e-05/0.004956, allocations: 7.922 kB / 324.7 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007758/0.005732, allocations: 298.7 kB / 325 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006461/0.006378, allocations: 0.5163 MB / 325.5 MB, free: 15.98 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.27e-05/0.006451, allocations: 51.67 kB / 325.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.451e-05/0.006485, allocations: 7.938 kB / 325.6 MB, free: 15.92 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.242e-05/0.006578, allocations: 47.83 kB / 325.6 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000474/0.007052, allocations: 363.3 kB / 326 MB, free: 15.52 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.312e-05/0.007065, allocations: 0 / 326 MB, free: 15.52 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005279/0.007593, allocations: 0.5455 MB / 326.5 MB, free: 14.97 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.246e-05/0.007605, allocations: 3.984 kB / 326.5 MB, free: 14.97 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.502e-05/0.00763, allocations: 19.94 kB / 326.5 MB, free: 14.95 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004726/0.008103, allocations: 474.9 kB / 327 MB, free: 14.48 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.993e-06/0.008105, allocations: 4 kB / 327 MB, free: 14.48 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.008106, allocations: 0 / 327 MB, free: 14.48 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.008112, allocations: 3.984 kB / 327 MB, free: 14.48 MB / 298.7 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.0003767/0.008488, allocations: 373.3 kB / 327.4 MB, free: 14.08 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.00852, allocations: 8.031 kB / 327.4 MB, free: 14.07 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.205e-05/0.008552, allocations: 8.891 kB / 327.4 MB, free: 14.07 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.008683, allocations: 133.7 kB / 327.5 MB, free: 13.91 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.778e-06/0.008693, allocations: 384 / 327.5 MB, free: 13.91 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.895e-05/0.008712, allocations: 4.375 kB / 327.5 MB, free: 13.91 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001047/0.008817, allocations: 67.7 kB / 327.6 MB, free: 13.83 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.008825, allocations: 4 kB / 327.6 MB, free: 13.82 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.008834, allocations: 0 / 327.6 MB, free: 13.82 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.008838, allocations: 0 / 327.6 MB, free: 13.82 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.2e-05/0.00889, allocations: 19.92 kB / 327.6 MB, free: 13.8 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000113/0.009003, allocations: 118.2 kB / 327.7 MB, free: 13.66 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001849/0.009188, allocations: 73.28 kB / 327.8 MB, free: 13.57 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.423e-05/0.009222, allocations: 25.7 kB / 327.8 MB, free: 13.54 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002256/0.009448, allocations: 123.9 kB / 328 MB, free: 13.41 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.7e-05/0.009465, allocations: 38.56 kB / 328 MB, free: 13.37 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 9.32e-07/0.009466, allocations: 0 / 328 MB, free: 13.37 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001797/0.009645, allocations: 85.86 kB / 328.1 MB, free: 13.28 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.144e-05/0.009687, allocations: 81.09 kB / 328.2 MB, free: 13.18 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.567e-05/0.009753, allocations: 117.8 kB / 328.3 MB, free: 13.05 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.659e-06/0.009762, allocations: 25.7 kB / 328.3 MB, free: 13.02 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.585e-05/0.009788, allocations: 80.14 kB / 328.4 MB, free: 12.94 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.084e-05/0.009819, allocations: 31.73 kB / 328.4 MB, free: 12.91 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.767e-05/0.009847, allocations: 29.64 kB / 328.4 MB, free: 12.88 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.117e-05/0.009918, allocations: 314.8 kB / 328.7 MB, free: 12.56 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.018e-05/0.009948, allocations: 15.98 kB / 328.8 MB, free: 12.54 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.802e-05/0.009986, allocations: 39.42 kB / 328.8 MB, free: 12.49 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.373e-05/0.01006, allocations: 63.39 kB / 328.9 MB, free: 12.42 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.01006, allocations: 0 / 328.9 MB, free: 12.42 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001021/0.01016, allocations: 85.53 kB / 328.9 MB, free: 12.33 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.01018, allocations: 8 kB / 328.9 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.01018, allocations: 8 kB / 329 MB, free: 12.31 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.01019, allocations: 3.938 kB / 329 MB, free: 12.31 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.576e-05/0.01023, allocations: 15.98 kB / 329 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.01023, allocations: 4 kB / 329 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.238e-05/0.01026, allocations: 3.953 kB / 329 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.01027, allocations: 4 kB / 329 MB, free: 12.28 MB / 298.7 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.688e-05/0.01032, allocations: 117.8 kB / 329.1 MB, free: 12.16 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.305e-06/0.01033, allocations: 4 kB / 329.1 MB, free: 12.15 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002225/0.01056, allocations: 137 kB / 329.2 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/0.01056, allocations: 0 / 329.2 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.01056, allocations: 3.984 kB / 329.2 MB, free: 12.01 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.01057, allocations: 0 / 329.2 MB, free: 12.01 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.282e-05/0.01064, allocations: 117.3 kB / 329.4 MB, free: 11.87 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.01064, allocations: 0 / 329.4 MB, free: 11.87 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.258e-05/0.01068, allocations: 16 kB / 329.4 MB, free: 11.85 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.01069, allocations: 0 / 329.4 MB, free: 11.85 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.01069, allocations: 0 / 329.4 MB, free: 11.85 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.0107, allocations: 11.92 kB / 329.4 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-07/0.0107, allocations: 4 kB / 329.4 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001697/0.01087, allocations: 141.8 kB / 329.5 MB, free: 11.68 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.877e-05/0.01089, allocations: 8.016 kB / 329.5 MB, free: 11.67 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.339e-05/0.0109, allocations: 8 kB / 329.5 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.721e-05/0.01092, allocations: 3.938 kB / 329.5 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.187e-05/0.01095, allocations: 7.984 kB / 329.6 MB, free: 11.65 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.568e-06/0.01095, allocations: 0 / 329.6 MB, free: 11.65 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.536e-05/0.01099, allocations: 91.27 kB / 329.6 MB, free: 11.56 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01099, allocations: 0 / 329.6 MB, free: 11.56 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002456/0.01123, allocations: 131.5 kB / 329.8 MB, free: 11.43 MB / 298.7 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.0004386/0.01167, allocations: 323.6 kB / 330.1 MB, free: 11.12 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000116/0.01179, allocations: 47.91 kB / 330.1 MB, free: 11.07 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.01179, allocations: 0 / 330.1 MB, free: 11.07 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.337e-05/0.01184, allocations: 27.92 kB / 330.2 MB, free: 11.04 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001358/0.01198, allocations: 11.94 kB / 330.2 MB, free: 11.03 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003395/0.01232, allocations: 275.5 kB / 330.4 MB, free: 10.73 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.828e-05/0.01236, allocations: 71.58 kB / 330.5 MB, free: 10.64 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.522e-05/0.01239, allocations: 28.48 kB / 330.5 MB, free: 10.61 MB / 298.7 MB Notification: Performance of SimCode: time 3.31e-07/0.01239, allocations: 0 / 330.5 MB, free: 10.61 MB / 298.7 MB Notification: Performance of Templates: time 0.003132/0.01552, allocations: 2.962 MB / 333.5 MB, free: 7.672 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & ./Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.484808957204223] Failed to read output from testmodel.py, exit status != 0: ['time', 'h1', 's1'] 0.02122624311596155 0.028638820000000002 0.019011501 Calling exit ...