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.001631/0.001631, allocations: 119.5 kB / 18.5 MB, free: 4.551 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.002172/0.002172, allocations: 209.6 kB / 21.45 MB, free: 1.602 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.448/1.448, allocations: 230.5 MB / 254.8 MB, free: 15.12 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.001993/0.001993, allocations: 63.84 kB / 373.7 MB, free: 10.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1075, allocations: 53.33 MB / 427 MB, free: 4.812 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002731/0.1103, allocations: 1.372 MB / 428.4 MB, free: 3.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.216/0.3263, allocations: 4.047 MB / 432.4 MB, free: 7.551 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.241e-05/0.3264, allocations: 0.5625 kB / 432.4 MB, free: 7.551 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.484e-05/0.3264, allocations: 5.922 kB / 432.4 MB, free: 7.551 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00116/0.3276, allocations: 281.3 kB / 432.7 MB, free: 7.551 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001305/0.3289, allocations: 0.4888 MB / 433.2 MB, free: 7.535 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000119/0.329, allocations: 59.02 kB / 433.2 MB, free: 7.535 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.219e-05/0.329, allocations: 10.94 kB / 433.3 MB, free: 7.535 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001104/0.3291, allocations: 35.27 kB / 433.3 MB, free: 7.535 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006732/0.3298, allocations: 366.6 kB / 433.6 MB, free: 7.531 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.298e-05/0.3298, allocations: 1.656 kB / 433.7 MB, free: 7.531 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00103/0.3309, allocations: 0.6203 MB / 434.3 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.446e-05/0.3309, allocations: 10.09 kB / 434.3 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.539e-05/0.3309, allocations: 17.5 kB / 434.3 MB, free: 7.512 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007841/0.3317, allocations: 455.6 kB / 434.7 MB, free: 7.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3317, allocations: 1.469 kB / 434.7 MB, free: 7.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3317, allocations: 0 / 434.7 MB, free: 7.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.092e-06/0.3317, allocations: 2.75 kB / 434.7 MB, free: 7.48 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.0005158/0.3322, allocations: 447.2 kB / 435.2 MB, free: 7.062 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.3323, allocations: 10.98 kB / 435.2 MB, free: 7.062 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.058e-05/0.3323, allocations: 34.69 kB / 435.2 MB, free: 7.023 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.528e-05/0.3323, allocations: 7.641 kB / 435.2 MB, free: 7.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001756/0.3325, allocations: 190.9 kB / 435.4 MB, free: 6.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.3325, allocations: 7.031 kB / 435.4 MB, free: 6.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.3325, allocations: 7.438 kB / 435.4 MB, free: 6.816 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.3327, allocations: 61.48 kB / 435.5 MB, free: 6.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.3327, allocations: 0 / 435.5 MB, free: 6.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.3327, allocations: 1.281 kB / 435.5 MB, free: 6.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.3327, allocations: 1.156 kB / 435.5 MB, free: 6.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.066e-05/0.3328, allocations: 25.98 kB / 435.5 MB, free: 6.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001574/0.3329, allocations: 167.9 kB / 435.7 MB, free: 6.574 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002939/0.3332, allocations: 76.75 kB / 435.8 MB, free: 6.527 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.537e-05/0.3333, allocations: 27.72 kB / 435.8 MB, free: 6.508 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006915/0.334, allocations: 1.544 MB / 437.3 MB, free: 4.723 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.805e-05/0.334, allocations: 33.02 kB / 437.4 MB, free: 4.684 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.334, allocations: 2.719 kB / 437.4 MB, free: 4.684 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002959/0.3343, allocations: 82.27 kB / 437.4 MB, free: 4.648 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/0.3343, allocations: 83.23 kB / 437.5 MB, free: 4.555 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.687e-05/0.3344, allocations: 116.1 kB / 437.6 MB, free: 4.453 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.027e-06/0.3344, allocations: 27.59 kB / 437.7 MB, free: 4.422 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.217e-05/0.3345, allocations: 85.12 kB / 437.8 MB, free: 4.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.722e-05/0.3345, allocations: 26.34 kB / 437.8 MB, free: 4.324 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.789e-05/0.3345, allocations: 21.56 kB / 437.8 MB, free: 4.309 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.153e-05/0.3346, allocations: 317.7 kB / 438.1 MB, free: 3.996 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.217e-05/0.3346, allocations: 14.12 kB / 438.1 MB, free: 3.996 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.807e-05/0.3347, allocations: 42 kB / 438.2 MB, free: 3.961 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001286/0.3348, allocations: 64.56 kB / 438.2 MB, free: 3.926 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.3348, allocations: 2.625 kB / 438.2 MB, free: 3.926 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001887/0.335, allocations: 90.45 kB / 438.3 MB, free: 3.887 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.281e-05/0.3351, allocations: 9.531 kB / 438.3 MB, free: 3.883 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/0.3351, allocations: 1.641 kB / 438.3 MB, free: 3.883 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.3351, allocations: 2.188 kB / 438.3 MB, free: 3.883 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.436e-05/0.3352, allocations: 16.09 kB / 438.3 MB, free: 3.883 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.3352, allocations: 2.719 kB / 438.4 MB, free: 3.883 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.648e-05/0.3352, allocations: 3.703 kB / 438.4 MB, free: 3.883 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.313e-05/0.3352, allocations: 4.25 kB / 438.4 MB, free: 3.883 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 5.4e-05/0.3353, allocations: 116.1 kB / 438.5 MB, free: 3.766 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.005e-05/0.3353, allocations: 11.8 kB / 438.5 MB, free: 3.758 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003763/0.3357, allocations: 123 kB / 438.6 MB, free: 3.707 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.3357, allocations: 1.125 kB / 438.6 MB, free: 3.707 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.3357, allocations: 1 kB / 438.6 MB, free: 3.707 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.3357, allocations: 1.844 kB / 438.6 MB, free: 3.707 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001035/0.3358, allocations: 177.6 kB / 438.8 MB, free: 3.516 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.3358, allocations: 2.156 kB / 438.8 MB, free: 3.516 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.963e-05/0.3359, allocations: 15.16 kB / 438.8 MB, free: 3.512 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.3359, allocations: 1.312 kB / 438.8 MB, free: 3.512 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.3359, allocations: 5.141 kB / 438.8 MB, free: 3.512 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.3359, allocations: 2.141 kB / 438.8 MB, free: 3.512 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3359, allocations: 3.938 kB / 438.8 MB, free: 3.508 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002678/0.3362, allocations: 142.2 kB / 438.9 MB, free: 3.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.916e-05/0.3362, allocations: 95.66 kB / 439 MB, free: 3.328 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.943e-05/0.3362, allocations: 1.875 kB / 439 MB, free: 3.328 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.029e-05/0.3363, allocations: 2.469 kB / 439 MB, free: 3.328 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.259e-05/0.3363, allocations: 9.984 kB / 439.1 MB, free: 3.328 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.3363, allocations: 2.844 kB / 439.1 MB, free: 3.328 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.525e-05/0.3364, allocations: 89.55 kB / 439.1 MB, free: 3.254 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3364, allocations: 3 kB / 439.1 MB, free: 3.254 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005156/0.3369, allocations: 135.4 kB / 439.3 MB, free: 3.227 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.0009207/0.3378, allocations: 0.8564 MB / 440.1 MB, free: 2.586 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001948/0.338, allocations: 46.92 kB / 440.2 MB, free: 2.582 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.338, allocations: 0 / 440.2 MB, free: 2.582 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.687e-05/0.3381, allocations: 28.88 kB / 440.2 MB, free: 2.578 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001971/0.3383, allocations: 16.25 kB / 440.2 MB, free: 2.574 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001441/0.3397, allocations: 1.516 MB / 441.7 MB, free: 1.289 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001034/0.3398, allocations: 0.6902 MB / 442.4 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.201e-05/0.3399, allocations: 32 kB / 442.5 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.348e-05/0.34, allocations: 22.56 kB / 442.5 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of SimCode: time 8.62e-07/0.34, allocations: 0 / 442.5 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03226/0.3722, allocations: 4.424 MB / 446.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.305/8.678, allocations: 8.953 kB / 446.9 MB, free: 15.89 MB / 366.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 & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_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_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.100705930031836] Failed to read output from testmodel.py, exit status != 0: ['time', 'h1', 's1'] 8.746071118395776 8.761410851 8.426659081 Calling exit ...