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.00147/0.00147, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001635/0.001635, allocations: 212.2 kB / 24.52 MB, free: 4.074 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.378/1.378, allocations: 230.6 MB / 258.3 MB, free: 7.996 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: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 43.92 kB / 378.5 MB, free: 3.137 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2164/0.2179, allocations: 53.36 MB / 431.9 MB, free: 6.852 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002391/0.2202, allocations: 1.384 MB / 433.3 MB, free: 5.465 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005485/0.2257, allocations: 4.099 MB / 437.4 MB, free: 1.34 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.855e-05/0.2258, allocations: 4 kB / 437.4 MB, free: 1.336 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.404e-05/0.2258, allocations: 7.922 kB / 437.4 MB, free: 1.328 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009495/0.2267, allocations: 290.9 kB / 437.7 MB, free: 1.043 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001097/0.2278, allocations: 0.5159 MB / 438.2 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.237e-05/0.2279, allocations: 59.66 kB / 438.3 MB, free: 484 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.978e-05/0.228, allocations: 0 / 438.3 MB, free: 484 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.2281, allocations: 43.84 kB / 438.3 MB, free: 440 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006994/0.2288, allocations: 371.3 kB / 438.7 MB, free: 68 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.054e-05/0.2288, allocations: 0 / 438.7 MB, free: 68 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001078/0.2299, allocations: 0.6473 MB / 439.3 MB, free: 15.42 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.591e-05/0.2299, allocations: 8 kB / 439.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.518e-05/0.2299, allocations: 27.86 kB / 439.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000667/0.2306, allocations: 457.1 kB / 439.8 MB, free: 14.94 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.2306, allocations: 0 / 439.8 MB, free: 14.94 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.2306, allocations: 0 / 439.8 MB, free: 14.94 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.2306, allocations: 0 / 439.8 MB, free: 14.94 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.0005118/0.2311, allocations: 379.8 kB / 440.2 MB, free: 14.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.2311, allocations: 8.031 kB / 440.2 MB, free: 14.53 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.365e-05/0.2311, allocations: 4.188 kB / 440.2 MB, free: 14.53 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.358e-05/0.2312, allocations: 34.75 kB / 440.2 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.715e-05/0.2312, allocations: 8.875 kB / 440.2 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001822/0.2314, allocations: 130.5 kB / 440.4 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.2314, allocations: 7.938 kB / 440.4 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.7e-05/0.2314, allocations: 0 / 440.4 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001444/0.2316, allocations: 67.33 kB / 440.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.2316, allocations: 0 / 440.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.2316, allocations: 0 / 440.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.2316, allocations: 4 kB / 440.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.968e-05/0.2317, allocations: 23.97 kB / 440.5 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001736/0.2318, allocations: 141.6 kB / 440.6 MB, free: 14.03 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002797/0.2321, allocations: 77.17 kB / 440.7 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.989e-05/0.2322, allocations: 29.77 kB / 440.7 MB, free: 13.9 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003389/0.2325, allocations: 115.9 kB / 440.8 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/0.2326, allocations: 42.55 kB / 440.8 MB, free: 13.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.2326, allocations: 0 / 440.8 MB, free: 13.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002744/0.2328, allocations: 81.88 kB / 440.9 MB, free: 13.65 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.494e-05/0.2329, allocations: 85.05 kB / 441 MB, free: 13.55 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.313e-05/0.233, allocations: 113.8 kB / 441.1 MB, free: 13.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.233, allocations: 25.7 kB / 441.1 MB, free: 13.39 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.104e-05/0.233, allocations: 84.14 kB / 441.2 MB, free: 13.31 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.696e-05/0.2331, allocations: 31.72 kB / 441.3 MB, free: 13.28 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.606e-05/0.2331, allocations: 17.72 kB / 441.3 MB, free: 13.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.2332, allocations: 322.8 kB / 441.6 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.391e-05/0.2333, allocations: 8 kB / 441.6 MB, free: 12.92 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.431e-05/0.2334, allocations: 43.72 kB / 441.6 MB, free: 12.87 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001321/0.2335, allocations: 63.33 kB / 441.7 MB, free: 12.79 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.2335, allocations: 0 / 441.7 MB, free: 12.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002/0.2337, allocations: 93.55 kB / 441.8 MB, free: 12.7 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.2337, allocations: 8 kB / 441.8 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.2337, allocations: 0 / 441.8 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.2337, allocations: 0 / 441.8 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.025e-05/0.2338, allocations: 19.92 kB / 441.8 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.2338, allocations: 4 kB / 441.8 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.064e-05/0.2339, allocations: 0 / 441.8 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.2339, allocations: 4 kB / 441.8 MB, free: 12.66 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.961e-05/0.2339, allocations: 117.8 kB / 441.9 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.396e-05/0.234, allocations: 12.02 kB / 442 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003499/0.2343, allocations: 124 kB / 442.1 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/0.2343, allocations: 4 kB / 442.1 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.2343, allocations: 0 / 442.1 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.2343, allocations: 3.938 kB / 442.1 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001412/0.2345, allocations: 148.7 kB / 442.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.2345, allocations: 7.938 kB / 442.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.814e-05/0.2346, allocations: 12 kB / 442.3 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.2346, allocations: 0 / 442.3 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/0.2346, allocations: 11.98 kB / 442.3 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.2346, allocations: 0 / 442.3 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2346, allocations: 0 / 442.3 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002945/0.2349, allocations: 145.8 kB / 442.4 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.897e-05/0.2349, allocations: 15.97 kB / 442.4 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.579e-05/0.2349, allocations: 0 / 442.4 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.857e-05/0.2349, allocations: 4 kB / 442.4 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.818e-05/0.235, allocations: 11.98 kB / 442.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.222e-06/0.235, allocations: 0 / 442.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.673e-05/0.2351, allocations: 91.27 kB / 442.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2351, allocations: 0 / 442.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003979/0.2354, allocations: 139.5 kB / 442.7 MB, free: 11.75 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.0009987/0.2364, allocations: 0.8584 MB / 443.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001825/0.2366, allocations: 43.91 kB / 443.6 MB, free: 10.82 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.2366, allocations: 4 kB / 443.6 MB, free: 10.82 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.372e-05/0.2367, allocations: 23.98 kB / 443.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001865/0.2369, allocations: 16.11 kB / 443.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00175/0.2387, allocations: 1.527 MB / 445.1 MB, free: 9.145 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003128/0.239, allocations: 0.6885 MB / 445.8 MB, free: 8.43 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.65e-05/0.239, allocations: 27.09 kB / 445.8 MB, free: 8.406 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.543e-05/0.2391, allocations: 27.36 kB / 445.9 MB, free: 8.379 MB / 350.1 MB Notification: Performance of SimCode: time 4.6e-07/0.2391, allocations: 0 / 445.9 MB, free: 8.379 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02608/0.2652, allocations: 4.563 MB / 450.4 MB, free: 3.984 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/10.91, allocations: 4.062 kB / 450.4 MB, free: 3.98 MB / 350.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T.fmu > Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.325740198954009] Failed to read output from testmodel.py, exit status != 0: ['time', 'h1', 's1'] 11.077763297013007 11.094754097 10.860841512 Calling exit ...