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.001719/0.001719, allocations: 123.4 kB / 17.79 MB, free: 5.227 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.001978/0.001978, allocations: 208.3 kB / 20.75 MB, free: 2.273 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.436/1.436, allocations: 230.6 MB / 254.1 MB, free: 15.08 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="me",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="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 47.92 kB / 373 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1037, allocations: 53.33 MB / 426.3 MB, free: 4.801 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002565/0.1063, allocations: 1.383 MB / 427.7 MB, free: 3.406 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1968/0.3031, allocations: 4.044 MB / 431.7 MB, free: 7.547 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.309e-05/0.3032, allocations: 0 / 431.7 MB, free: 7.547 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.941e-05/0.3032, allocations: 2.719 kB / 431.7 MB, free: 7.547 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001148/0.3044, allocations: 281.6 kB / 432 MB, free: 7.547 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001303/0.3057, allocations: 0.4892 MB / 432.5 MB, free: 7.531 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000124/0.3058, allocations: 61.52 kB / 432.6 MB, free: 7.531 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.315e-05/0.3058, allocations: 9.203 kB / 432.6 MB, free: 7.531 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001187/0.306, allocations: 36.94 kB / 432.6 MB, free: 7.531 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007285/0.3067, allocations: 364.1 kB / 433 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.473e-05/0.3067, allocations: 0 / 433 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001175/0.3079, allocations: 0.6251 MB / 433.6 MB, free: 7.516 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.695e-05/0.3079, allocations: 5.656 kB / 433.6 MB, free: 7.516 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.571e-05/0.3079, allocations: 25.27 kB / 433.6 MB, free: 7.508 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000875/0.3088, allocations: 458.6 kB / 434.1 MB, free: 7.477 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3088, allocations: 2.938 kB / 434.1 MB, free: 7.477 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3088, allocations: 1.062 kB / 434.1 MB, free: 7.477 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.3088, allocations: 0 / 434.1 MB, free: 7.477 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.0005483/0.3094, allocations: 448.5 kB / 434.5 MB, free: 7.059 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.3094, allocations: 10.28 kB / 434.5 MB, free: 7.059 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.883e-05/0.3094, allocations: 31.5 kB / 434.5 MB, free: 7.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.613e-05/0.3095, allocations: 8.766 kB / 434.5 MB, free: 7.016 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001765/0.3097, allocations: 188.7 kB / 434.7 MB, free: 6.816 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.3097, allocations: 1.906 kB / 434.7 MB, free: 6.816 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.863e-05/0.3097, allocations: 10.44 kB / 434.7 MB, free: 6.812 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.3098, allocations: 61.25 kB / 434.8 MB, free: 6.766 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.3098, allocations: 0.8438 kB / 434.8 MB, free: 6.766 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.3098, allocations: 3.438 kB / 434.8 MB, free: 6.766 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.3098, allocations: 1.812 kB / 434.8 MB, free: 6.766 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.02e-05/0.3099, allocations: 22.7 kB / 434.8 MB, free: 6.766 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001475/0.3101, allocations: 168 kB / 435 MB, free: 6.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002771/0.3104, allocations: 77.23 kB / 435.1 MB, free: 6.523 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.438e-05/0.3104, allocations: 32.59 kB / 435.1 MB, free: 6.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007326/0.3112, allocations: 1.539 MB / 436.6 MB, free: 4.719 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.857e-05/0.3112, allocations: 32.69 kB / 436.7 MB, free: 4.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.593e-06/0.3112, allocations: 0 / 436.7 MB, free: 4.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003214/0.3115, allocations: 88.56 kB / 436.8 MB, free: 4.645 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.95e-05/0.3115, allocations: 81.95 kB / 436.8 MB, free: 4.547 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.795e-05/0.3116, allocations: 113.4 kB / 437 MB, free: 4.449 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.877e-06/0.3116, allocations: 30.3 kB / 437 MB, free: 4.418 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.409e-05/0.3117, allocations: 81.92 kB / 437.1 MB, free: 4.336 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.756e-05/0.3117, allocations: 24.08 kB / 437.1 MB, free: 4.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.932e-05/0.3117, allocations: 23.91 kB / 437.1 MB, free: 4.305 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.099e-05/0.3118, allocations: 316.8 kB / 437.4 MB, free: 3.992 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.297e-05/0.3118, allocations: 15.3 kB / 437.4 MB, free: 3.992 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.967e-05/0.3119, allocations: 44.38 kB / 437.5 MB, free: 3.953 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001299/0.312, allocations: 59.52 kB / 437.5 MB, free: 3.918 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.312, allocations: 0 / 437.5 MB, free: 3.918 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001921/0.3122, allocations: 92.47 kB / 437.6 MB, free: 3.871 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.3123, allocations: 5.312 kB / 437.6 MB, free: 3.871 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.3123, allocations: 2.719 kB / 437.6 MB, free: 3.871 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.3123, allocations: 1.094 kB / 437.6 MB, free: 3.871 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.959e-05/0.3124, allocations: 22.23 kB / 437.7 MB, free: 3.867 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.3124, allocations: 1.781 kB / 437.7 MB, free: 3.867 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.081e-05/0.3124, allocations: 3.844 kB / 437.7 MB, free: 3.867 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.664e-05/0.3124, allocations: 5.375 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 5.538e-05/0.3125, allocations: 115.8 kB / 437.8 MB, free: 3.75 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.97e-05/0.3125, allocations: 11.33 kB / 437.8 MB, free: 3.742 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003753/0.3129, allocations: 122.3 kB / 437.9 MB, free: 3.691 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.727e-06/0.3129, allocations: 2.375 kB / 437.9 MB, free: 3.691 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.3129, allocations: 1.188 kB / 437.9 MB, free: 3.691 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.3129, allocations: 1.969 kB / 437.9 MB, free: 3.691 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001093/0.313, allocations: 173.8 kB / 438.1 MB, free: 3.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.313, allocations: 4 kB / 438.1 MB, free: 3.496 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.131e-05/0.3131, allocations: 12.78 kB / 438.1 MB, free: 3.496 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.3131, allocations: 1.062 kB / 438.1 MB, free: 3.496 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.3131, allocations: 5.297 kB / 438.1 MB, free: 3.496 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.3131, allocations: 2.719 kB / 438.1 MB, free: 3.496 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.3131, allocations: 1.797 kB / 438.1 MB, free: 3.496 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002773/0.3134, allocations: 149 kB / 438.3 MB, free: 3.41 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.261e-05/0.3134, allocations: 91.41 kB / 438.3 MB, free: 3.312 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.088e-05/0.3135, allocations: 2.641 kB / 438.3 MB, free: 3.312 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.011e-05/0.3135, allocations: 2.547 kB / 438.4 MB, free: 3.312 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.471e-05/0.3135, allocations: 5.734 kB / 438.4 MB, free: 3.312 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.3135, allocations: 5.906 kB / 438.4 MB, free: 3.312 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.78e-05/0.3136, allocations: 93.22 kB / 438.5 MB, free: 3.234 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3136, allocations: 0 / 438.5 MB, free: 3.234 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005458/0.3141, allocations: 135.8 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.0009529/0.3151, allocations: 0.8605 MB / 439.4 MB, free: 2.566 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002196/0.3153, allocations: 49.77 kB / 439.5 MB, free: 2.562 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3153, allocations: 0 / 439.5 MB, free: 2.562 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.701e-05/0.3154, allocations: 27.02 kB / 439.5 MB, free: 2.559 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002084/0.3156, allocations: 9.875 kB / 439.5 MB, free: 2.559 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001477/0.3171, allocations: 1.519 MB / 441.1 MB, free: 1.27 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001008/0.3172, allocations: 0.6863 MB / 441.7 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.953e-05/0.3173, allocations: 35.34 kB / 441.8 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.633e-05/0.3173, allocations: 26.34 kB / 441.8 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3173, allocations: 0 / 441.8 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03181/0.3491, allocations: 4.392 MB / 446.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.214/8.563, allocations: 25.44 kB / 446.2 MB, free: 15.84 MB / 366.1 MB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_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: 11.032307568006217] Failed to read output from testmodel.py, exit status != 0: ['time', 'h1', 's1'] 8.63360915199155 8.657498422 8.344278333 Calling exit ...