Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002005/0.002005, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002423/0.002423, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.502/1.502, allocations: 230.6 MB / 258.3 MB, free: 8.043 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002083/0.002083, allocations: 64.77 kB / 378.5 MB, free: 3.156 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2936/0.2957, allocations: 53.37 MB / 431.9 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.00262/0.2983, allocations: 1.373 MB / 433.3 MB, free: 5.508 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005819/0.3041, allocations: 4.111 MB / 437.4 MB, free: 1.371 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.993e-05/0.3042, allocations: 0 / 437.4 MB, free: 1.371 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.605e-05/0.3042, allocations: 3.938 kB / 437.4 MB, free: 1.367 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001163/0.3054, allocations: 298.9 kB / 437.7 MB, free: 1.074 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001253/0.3066, allocations: 0.5132 MB / 438.2 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001099/0.3067, allocations: 59.66 kB / 438.3 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.029e-05/0.3068, allocations: 7.984 kB / 438.3 MB, free: 0.5 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001149/0.3069, allocations: 39.84 kB / 438.3 MB, free: 472 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007602/0.3076, allocations: 375.2 kB / 438.7 MB, free: 96 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.3077, allocations: 4 kB / 438.7 MB, free: 92 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001205/0.3089, allocations: 0.6489 MB / 439.3 MB, free: 15.44 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.483e-05/0.3089, allocations: 7.922 kB / 439.3 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.349e-05/0.3089, allocations: 19.94 kB / 439.4 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007635/0.3097, allocations: 457.2 kB / 439.8 MB, free: 14.97 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3097, allocations: 0 / 439.8 MB, free: 14.97 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3097, allocations: 0 / 439.8 MB, free: 14.97 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.3097, allocations: 0 / 439.8 MB, free: 14.97 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.0006177/0.3103, allocations: 369.2 kB / 440.2 MB, free: 14.58 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.3104, allocations: 12.03 kB / 440.2 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.787e-05/0.3104, allocations: 38.69 kB / 440.2 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.738e-05/0.3104, allocations: 12.89 kB / 440.2 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002165/0.3107, allocations: 126.5 kB / 440.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/0.3107, allocations: 4.125 kB / 440.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.3107, allocations: 8 kB / 440.4 MB, free: 14.35 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/0.3109, allocations: 55.39 kB / 440.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.3109, allocations: 3.938 kB / 440.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.3109, allocations: 8 kB / 440.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.3109, allocations: 4 kB / 440.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.842e-05/0.311, allocations: 23.92 kB / 440.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002088/0.3112, allocations: 141.7 kB / 440.6 MB, free: 14.06 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003118/0.3115, allocations: 81.06 kB / 440.7 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.988e-05/0.3116, allocations: 29.75 kB / 440.7 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003723/0.3119, allocations: 119.9 kB / 440.8 MB, free: 13.81 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.257e-05/0.312, allocations: 34.56 kB / 440.8 MB, free: 13.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.312, allocations: 0 / 440.8 MB, free: 13.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003077/0.3123, allocations: 85.55 kB / 440.9 MB, free: 13.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.52e-05/0.3124, allocations: 81.11 kB / 441 MB, free: 13.58 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.3125, allocations: 113.8 kB / 441.1 MB, free: 13.46 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.3125, allocations: 29.64 kB / 441.1 MB, free: 13.42 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.159e-05/0.3125, allocations: 84.12 kB / 441.2 MB, free: 13.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.011e-05/0.3126, allocations: 23.8 kB / 441.3 MB, free: 13.31 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.557e-05/0.3126, allocations: 21.7 kB / 441.3 MB, free: 13.29 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.3128, allocations: 318.8 kB / 441.6 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.011e-05/0.3128, allocations: 11.98 kB / 441.6 MB, free: 12.95 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.017e-05/0.3129, allocations: 43.36 kB / 441.6 MB, free: 12.9 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001334/0.313, allocations: 59.36 kB / 441.7 MB, free: 12.83 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.313, allocations: 7.938 kB / 441.7 MB, free: 12.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001947/0.3132, allocations: 85.56 kB / 441.8 MB, free: 12.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.3133, allocations: 7.984 kB / 441.8 MB, free: 12.72 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.3133, allocations: 0 / 441.8 MB, free: 12.72 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.3133, allocations: 4 kB / 441.8 MB, free: 12.72 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.676e-05/0.3133, allocations: 12 kB / 441.8 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.3133, allocations: 0 / 441.8 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.484e-05/0.3134, allocations: 7.984 kB / 441.8 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.3134, allocations: 480 / 441.8 MB, free: 12.7 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 0.0001029/0.3135, allocations: 125.8 kB / 441.9 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.869e-05/0.3135, allocations: 7.953 kB / 442 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004007/0.3139, allocations: 125 kB / 442.1 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.3139, allocations: 0 / 442.1 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.3139, allocations: 0 / 442.1 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.3139, allocations: 0.5625 kB / 442.1 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001626/0.3141, allocations: 148.7 kB / 442.2 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.3141, allocations: 8 kB / 442.2 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.657e-05/0.3142, allocations: 11.98 kB / 442.2 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.3142, allocations: 0 / 442.2 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.3142, allocations: 7.938 kB / 442.2 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3142, allocations: 0 / 442.2 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3142, allocations: 3.938 kB / 442.3 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003157/0.3145, allocations: 157.8 kB / 442.4 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.976e-05/0.3145, allocations: 15.97 kB / 442.4 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.065e-05/0.3146, allocations: 4 kB / 442.4 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.772e-05/0.3146, allocations: 0 / 442.4 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.032e-05/0.3146, allocations: 11.98 kB / 442.4 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.121e-06/0.3147, allocations: 0 / 442.4 MB, free: 12.01 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.505e-05/0.3147, allocations: 95.2 kB / 442.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3147, allocations: 0 / 442.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004285/0.3151, allocations: 135.5 kB / 442.7 MB, free: 11.78 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.001007/0.3161, allocations: 0.8511 MB / 443.5 MB, free: 10.9 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000198/0.3163, allocations: 47.91 kB / 443.6 MB, free: 10.85 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3163, allocations: 0 / 443.6 MB, free: 10.85 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.745e-05/0.3164, allocations: 28.33 kB / 443.6 MB, free: 10.82 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001972/0.3166, allocations: 12 kB / 443.6 MB, free: 10.81 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001776/0.3184, allocations: 1.522 MB / 445.1 MB, free: 9.184 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003208/0.3187, allocations: 0.6885 MB / 445.8 MB, free: 8.469 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.762e-05/0.3188, allocations: 27.59 kB / 445.8 MB, free: 8.445 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.709e-05/0.3189, allocations: 27.42 kB / 445.9 MB, free: 8.418 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3189, allocations: 0 / 445.9 MB, free: 8.418 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03162/0.3505, allocations: 4.413 MB / 450.3 MB, free: 4.129 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.329/8.68, allocations: 7.375 kB / 450.3 MB, free: 4.129 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T.fmu > Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.067058511078358] Failed to read output from testmodel.py, exit status != 0: ['time', 'h1', 's1'] 8.753953749779612 8.783885005 8.468514569 Calling exit ...