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.001517/0.001517, allocations: 116.5 kB / 18.5 MB, free: 4.434 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.001666/0.001666, allocations: 216.9 kB / 21.47 MB, free: 1.473 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.42/1.42, allocations: 230.5 MB / 254.7 MB, free: 15 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.001876/0.001876, allocations: 67.89 kB / 373.6 MB, free: 10.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09588/0.09775, allocations: 53.3 MB / 426.9 MB, free: 4.941 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002451/0.1002, allocations: 1.376 MB / 428.2 MB, free: 3.555 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1865/0.2867, allocations: 4.048 MB / 432.3 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.943e-05/0.2867, allocations: 1.75 kB / 432.3 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.183e-05/0.2868, allocations: 6.75 kB / 432.3 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001117/0.2879, allocations: 281.2 kB / 432.6 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00113/0.289, allocations: 0.489 MB / 433.1 MB, free: 7.504 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.652e-05/0.2891, allocations: 60.69 kB / 433.1 MB, free: 7.504 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.608e-05/0.2891, allocations: 5.391 kB / 433.1 MB, free: 7.504 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001007/0.2892, allocations: 39.34 kB / 433.2 MB, free: 7.504 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000593/0.2898, allocations: 367.1 kB / 433.5 MB, free: 7.496 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.013e-05/0.2898, allocations: 0 / 433.5 MB, free: 7.496 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008231/0.2907, allocations: 0.6208 MB / 434.1 MB, free: 7.484 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.372e-05/0.2907, allocations: 11.66 kB / 434.2 MB, free: 7.484 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.08e-05/0.2907, allocations: 21.3 kB / 434.2 MB, free: 7.477 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006319/0.2913, allocations: 452.1 kB / 434.6 MB, free: 7.445 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.2913, allocations: 1.906 kB / 434.6 MB, free: 7.445 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.2914, allocations: 1.25 kB / 434.6 MB, free: 7.445 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.461e-06/0.2914, allocations: 3.281 kB / 434.6 MB, free: 7.445 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.000448/0.2918, allocations: 443.5 kB / 435.1 MB, free: 7.031 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.2918, allocations: 10.73 kB / 435.1 MB, free: 7.031 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.813e-05/0.2919, allocations: 36.69 kB / 435.1 MB, free: 6.988 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.059e-05/0.2919, allocations: 11.08 kB / 435.1 MB, free: 6.984 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00016/0.2921, allocations: 189.1 kB / 435.3 MB, free: 6.785 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.2921, allocations: 1.844 kB / 435.3 MB, free: 6.785 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.687e-05/0.2921, allocations: 6.312 kB / 435.3 MB, free: 6.781 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001292/0.2922, allocations: 63.05 kB / 435.4 MB, free: 6.734 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.2922, allocations: 5.375 kB / 435.4 MB, free: 6.734 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/0.2922, allocations: 4.062 kB / 435.4 MB, free: 6.734 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.2922, allocations: 1.094 kB / 435.4 MB, free: 6.734 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.52e-05/0.2923, allocations: 19.75 kB / 435.4 MB, free: 6.734 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001361/0.2925, allocations: 171.7 kB / 435.6 MB, free: 6.539 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000261/0.2927, allocations: 77.31 kB / 435.6 MB, free: 6.492 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.772e-05/0.2928, allocations: 31.27 kB / 435.7 MB, free: 6.469 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005895/0.2934, allocations: 1.538 MB / 437.2 MB, free: 4.688 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.369e-05/0.2934, allocations: 32.44 kB / 437.2 MB, free: 4.648 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.2934, allocations: 0 / 437.2 MB, free: 4.648 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002576/0.2936, allocations: 86.75 kB / 437.3 MB, free: 4.613 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.67e-05/0.2937, allocations: 85.89 kB / 437.4 MB, free: 4.516 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.225e-05/0.2937, allocations: 114.8 kB / 437.5 MB, free: 4.418 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.406e-06/0.2937, allocations: 27.73 kB / 437.6 MB, free: 4.387 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.779e-05/0.2938, allocations: 82.44 kB / 437.6 MB, free: 4.305 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.702e-05/0.2938, allocations: 22.98 kB / 437.7 MB, free: 4.289 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.167e-05/0.2938, allocations: 23.22 kB / 437.7 MB, free: 4.273 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.842e-05/0.2938, allocations: 315.4 kB / 438 MB, free: 3.961 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.424e-05/0.2939, allocations: 14.34 kB / 438 MB, free: 3.961 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.518e-05/0.294, allocations: 41.05 kB / 438 MB, free: 3.926 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001096/0.2941, allocations: 61.23 kB / 438.1 MB, free: 3.895 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.2941, allocations: 0 / 438.1 MB, free: 3.895 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001674/0.2942, allocations: 94.97 kB / 438.2 MB, free: 3.852 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.2943, allocations: 5.219 kB / 438.2 MB, free: 3.852 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.2943, allocations: 2.047 kB / 438.2 MB, free: 3.852 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.2943, allocations: 1.094 kB / 438.2 MB, free: 3.852 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.58e-05/0.2943, allocations: 17.75 kB / 438.2 MB, free: 3.852 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.2943, allocations: 1.859 kB / 438.2 MB, free: 3.852 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.245e-05/0.2944, allocations: 2.984 kB / 438.2 MB, free: 3.852 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.2944, allocations: 3.25 kB / 438.2 MB, free: 3.852 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 4.934e-05/0.2944, allocations: 123.3 kB / 438.3 MB, free: 3.73 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.844e-05/0.2945, allocations: 11.94 kB / 438.4 MB, free: 3.723 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003319/0.2948, allocations: 123.6 kB / 438.5 MB, free: 3.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-06/0.2948, allocations: 1.672 kB / 438.5 MB, free: 3.68 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.2948, allocations: 1.656 kB / 438.5 MB, free: 3.68 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.2948, allocations: 0.6094 kB / 438.5 MB, free: 3.68 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.931e-05/0.2949, allocations: 173.9 kB / 438.7 MB, free: 3.488 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.2949, allocations: 4 kB / 438.7 MB, free: 3.484 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.619e-05/0.295, allocations: 18.81 kB / 438.7 MB, free: 3.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.295, allocations: 1.094 kB / 438.7 MB, free: 3.48 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.295, allocations: 5.328 kB / 438.7 MB, free: 3.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.295, allocations: 2.875 kB / 438.7 MB, free: 3.48 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.295, allocations: 1.125 kB / 438.7 MB, free: 3.48 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002453/0.2953, allocations: 141.2 kB / 438.8 MB, free: 3.398 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.217e-05/0.2953, allocations: 91.92 kB / 438.9 MB, free: 3.301 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.815e-05/0.2953, allocations: 1.781 kB / 438.9 MB, free: 3.301 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.008e-05/0.2953, allocations: 2.719 kB / 438.9 MB, free: 3.301 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.412e-05/0.2954, allocations: 12.45 kB / 438.9 MB, free: 3.297 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/0.2954, allocations: 3.625 kB / 438.9 MB, free: 3.297 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.124e-05/0.2954, allocations: 87.75 kB / 439 MB, free: 3.223 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2954, allocations: 1.25 kB / 439 MB, free: 3.223 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004098/0.2958, allocations: 133.5 kB / 439.1 MB, free: 3.195 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.0008703/0.2967, allocations: 0.8748 MB / 440 MB, free: 2.555 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001807/0.2969, allocations: 49.52 kB / 440.1 MB, free: 2.551 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2969, allocations: 1.094 kB / 440.1 MB, free: 2.551 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.844e-05/0.297, allocations: 34.8 kB / 440.1 MB, free: 2.543 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001857/0.2971, allocations: 13.62 kB / 440.1 MB, free: 2.539 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001239/0.2984, allocations: 1.514 MB / 441.6 MB, free: 1.254 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.467e-05/0.2985, allocations: 0.6947 MB / 442.3 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.418e-05/0.2985, allocations: 27.81 kB / 442.4 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.82e-05/0.2986, allocations: 27 kB / 442.4 MB, free: 0.543 MB / 350.1 MB Notification: Performance of SimCode: time 3.5e-07/0.2986, allocations: 4 kB / 442.4 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03017/0.3288, allocations: 4.459 MB / 446.8 MB, free: 15.82 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.97/8.299, allocations: 10.64 kB / 446.9 MB, free: 15.82 MB / 366.1 MB " [Timeout remaining time 652] (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: 10.552491122856736] Failed to read output from testmodel.py, exit status != 0: ['time', 'h1', 's1'] 8.371565325185657 8.388266061 8.093582589 Calling exit ...