Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001312/0.001312, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001346/0.001346, allocations: 206.6 kB / 20.75 MB, free: 2.312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.427/1.427, allocations: 230.4 MB / 254 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003114/0.003114, allocations: 63.88 kB / 373 MB, free: 10.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1086, allocations: 53.37 MB / 426.3 MB, free: 4.641 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002635/0.1112, allocations: 1.383 MB / 427.7 MB, free: 3.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1877/0.2989, allocations: 4.041 MB / 431.8 MB, free: 7.598 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.429e-05/0.299, allocations: 1.188 kB / 431.8 MB, free: 7.598 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.988e-05/0.299, allocations: 8.109 kB / 431.8 MB, free: 7.598 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001152/0.3002, allocations: 276.8 kB / 432 MB, free: 7.598 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001205/0.3014, allocations: 0.4982 MB / 432.5 MB, free: 7.578 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001054/0.3015, allocations: 53.84 kB / 432.6 MB, free: 7.578 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.658e-05/0.3015, allocations: 12.25 kB / 432.6 MB, free: 7.578 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001142/0.3016, allocations: 39.39 kB / 432.6 MB, free: 7.574 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006493/0.3023, allocations: 362.7 kB / 433 MB, free: 7.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.113e-05/0.3023, allocations: 1.75 kB / 433 MB, free: 7.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009848/0.3033, allocations: 0.6192 MB / 433.6 MB, free: 7.539 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.522e-05/0.3033, allocations: 12.09 kB / 433.6 MB, free: 7.539 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.578e-05/0.3033, allocations: 24.03 kB / 433.7 MB, free: 7.531 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008771/0.3042, allocations: 456 kB / 434.1 MB, free: 7.492 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.3042, allocations: 0 / 434.1 MB, free: 7.492 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3042, allocations: 0 / 434.1 MB, free: 7.492 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.032e-05/0.3042, allocations: 1.062 kB / 434.1 MB, free: 7.492 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.0004762/0.3047, allocations: 447.3 kB / 434.5 MB, free: 7.074 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.3047, allocations: 8.812 kB / 434.5 MB, free: 7.074 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.303e-05/0.3048, allocations: 35.16 kB / 434.6 MB, free: 7.035 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.218e-05/0.3048, allocations: 8.672 kB / 434.6 MB, free: 7.031 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001577/0.3049, allocations: 191.2 kB / 434.8 MB, free: 6.832 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.305, allocations: 2.297 kB / 434.8 MB, free: 6.832 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.058e-05/0.305, allocations: 9.844 kB / 434.8 MB, free: 6.828 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001306/0.3051, allocations: 61.66 kB / 434.8 MB, free: 6.777 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.3051, allocations: 0 / 434.8 MB, free: 6.777 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.719e-06/0.3051, allocations: 4.828 kB / 434.9 MB, free: 6.777 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.3051, allocations: 0 / 434.9 MB, free: 6.777 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.186e-05/0.3052, allocations: 16.97 kB / 434.9 MB, free: 6.777 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001414/0.3054, allocations: 179.2 kB / 435 MB, free: 6.582 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002657/0.3056, allocations: 79.69 kB / 435.1 MB, free: 6.531 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.148e-05/0.3057, allocations: 28.59 kB / 435.1 MB, free: 6.512 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005899/0.3063, allocations: 1.535 MB / 436.7 MB, free: 4.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.337e-05/0.3063, allocations: 36.36 kB / 436.7 MB, free: 4.688 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.3063, allocations: 1.688 kB / 436.7 MB, free: 4.688 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002772/0.3066, allocations: 85.53 kB / 436.8 MB, free: 4.648 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.273e-05/0.3066, allocations: 78.45 kB / 436.9 MB, free: 4.555 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.542e-05/0.3067, allocations: 119.7 kB / 437 MB, free: 4.453 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.205e-06/0.3067, allocations: 25.7 kB / 437 MB, free: 4.422 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.736e-05/0.3067, allocations: 85.91 kB / 437.1 MB, free: 4.336 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.873e-05/0.3067, allocations: 24.89 kB / 437.1 MB, free: 4.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.581e-05/0.3067, allocations: 22.89 kB / 437.2 MB, free: 4.305 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.951e-05/0.3068, allocations: 317.2 kB / 437.5 MB, free: 3.992 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.893e-05/0.3068, allocations: 10.84 kB / 437.5 MB, free: 3.992 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.151e-05/0.3069, allocations: 42.61 kB / 437.5 MB, free: 3.961 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001197/0.307, allocations: 65.92 kB / 437.6 MB, free: 3.918 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.307, allocations: 1.828 kB / 437.6 MB, free: 3.918 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000174/0.3072, allocations: 87.7 kB / 437.7 MB, free: 3.875 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.3072, allocations: 7.094 kB / 437.7 MB, free: 3.875 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.3072, allocations: 0 / 437.7 MB, free: 3.875 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.3072, allocations: 8.562 kB / 437.7 MB, free: 3.871 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.883e-05/0.3073, allocations: 19.52 kB / 437.7 MB, free: 3.867 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.3073, allocations: 2.094 kB / 437.7 MB, free: 3.867 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.296e-05/0.3074, allocations: 3.469 kB / 437.7 MB, free: 3.867 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.3074, allocations: 4.219 kB / 437.7 MB, free: 3.867 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.449e-05/0.3074, allocations: 112.2 kB / 437.8 MB, free: 3.754 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.867e-05/0.3074, allocations: 11.98 kB / 437.8 MB, free: 3.746 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002962/0.3077, allocations: 125.3 kB / 438 MB, free: 3.691 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.74e-06/0.3077, allocations: 1.5 kB / 438 MB, free: 3.691 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.3077, allocations: 0 / 438 MB, free: 3.691 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.3077, allocations: 1.984 kB / 438 MB, free: 3.691 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.261e-05/0.3078, allocations: 173.2 kB / 438.1 MB, free: 3.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.3078, allocations: 1.75 kB / 438.1 MB, free: 3.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.813e-05/0.3079, allocations: 16.62 kB / 438.1 MB, free: 3.496 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.3079, allocations: 0.8438 kB / 438.1 MB, free: 3.496 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.888e-06/0.3079, allocations: 5.875 kB / 438.2 MB, free: 3.492 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.3079, allocations: 2.406 kB / 438.2 MB, free: 3.492 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.3079, allocations: 0.9375 kB / 438.2 MB, free: 3.492 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002577/0.3082, allocations: 145.7 kB / 438.3 MB, free: 3.414 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.188e-05/0.3082, allocations: 88.36 kB / 438.4 MB, free: 3.316 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.714e-05/0.3082, allocations: 4.797 kB / 438.4 MB, free: 3.316 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.072e-05/0.3083, allocations: 6.938 kB / 438.4 MB, free: 3.312 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.046e-05/0.3083, allocations: 9.391 kB / 438.4 MB, free: 3.309 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.325e-06/0.3083, allocations: 4.594 kB / 438.4 MB, free: 3.309 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.209e-05/0.3084, allocations: 93.84 kB / 438.5 MB, free: 3.234 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3084, allocations: 0 / 438.5 MB, free: 3.234 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004518/0.3088, allocations: 133.6 kB / 438.6 MB, free: 3.207 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.0008302/0.3096, allocations: 0.853 MB / 439.5 MB, free: 2.566 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001838/0.3098, allocations: 42.92 kB / 439.5 MB, free: 2.566 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.3098, allocations: 0 / 439.5 MB, free: 2.566 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.121e-05/0.3099, allocations: 28.59 kB / 439.6 MB, free: 2.562 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001794/0.3101, allocations: 12.81 kB / 439.6 MB, free: 2.562 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001307/0.3114, allocations: 1.531 MB / 441.1 MB, free: 1.27 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.033e-05/0.3115, allocations: 0.686 MB / 441.8 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.22e-05/0.3116, allocations: 28.75 kB / 441.8 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.964e-05/0.3116, allocations: 27.2 kB / 441.8 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3116, allocations: 0 / 441.8 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02851/0.3401, allocations: 4.402 MB / 446.2 MB, free: 15.85 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.921/8.261, allocations: 8.953 kB / 446.2 MB, free: 15.84 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T.fmu > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.716978173004463] Failed to read output from testmodel.py, exit status != 0: ['time', 'h1', 's1'] 8.332800491014495 8.353654389999999 8.045318967 Calling exit ...