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.001271/0.001271, allocations: 107.1 kB / 20.44 MB, free: 1.172 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.001426/0.001426, allocations: 207.4 kB / 23.73 MB, free: 4.379 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.467/1.467, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.001563/0.001563, allocations: 47.92 kB / 377.7 MB, free: 2.973 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2678/0.2694, allocations: 53.37 MB / 431.1 MB, free: 6.629 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002619/0.272, allocations: 1.355 MB / 432.4 MB, free: 5.27 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005734/0.2777, allocations: 3.729 MB / 436.2 MB, free: 1.516 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.974e-05/0.2778, allocations: 0 / 436.2 MB, free: 1.516 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.467e-05/0.2778, allocations: 7.922 kB / 436.2 MB, free: 1.508 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001211/0.279, allocations: 294.9 kB / 436.5 MB, free: 1.219 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001467/0.2805, allocations: 0.5168 MB / 437 MB, free: 0.707 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001081/0.2806, allocations: 55.73 kB / 437 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.06e-05/0.2806, allocations: 4 kB / 437 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001282/0.2807, allocations: 39.84 kB / 437.1 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007435/0.2815, allocations: 371.2 kB / 437.4 MB, free: 252 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.314e-05/0.2815, allocations: 4 kB / 437.4 MB, free: 248 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009862/0.2825, allocations: 0.5559 MB / 438 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.717e-05/0.2825, allocations: 7.984 kB / 438 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.385e-05/0.2825, allocations: 19.92 kB / 438 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007024/0.2832, allocations: 432.7 kB / 438.4 MB, free: 15.24 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.2832, allocations: 4 kB / 438.4 MB, free: 15.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2832, allocations: 0 / 438.4 MB, free: 15.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.2833, allocations: 0 / 438.4 MB, free: 15.23 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.0005424/0.2838, allocations: 373.2 kB / 438.8 MB, free: 14.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.2838, allocations: 12.03 kB / 438.8 MB, free: 14.83 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.452e-05/0.2839, allocations: 34.75 kB / 438.9 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.161e-05/0.2839, allocations: 4.938 kB / 438.9 MB, free: 14.78 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001993/0.2841, allocations: 130.5 kB / 439 MB, free: 14.63 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.2841, allocations: 4.125 kB / 439 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.812e-05/0.2841, allocations: 4 kB / 439 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/0.2843, allocations: 67.33 kB / 439.1 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.547e-06/0.2843, allocations: 0 / 439.1 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.2843, allocations: 0 / 439.1 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.2843, allocations: 3.984 kB / 439.1 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.379e-05/0.2844, allocations: 19.98 kB / 439.1 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000192/0.2846, allocations: 137.6 kB / 439.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003013/0.2849, allocations: 89.2 kB / 439.3 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.569e-05/0.285, allocations: 21.66 kB / 439.3 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003748/0.2853, allocations: 123.9 kB / 439.4 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/0.2854, allocations: 34.56 kB / 439.5 MB, free: 14.04 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.2854, allocations: 3.938 kB / 439.5 MB, free: 14.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003005/0.2857, allocations: 89.55 kB / 439.6 MB, free: 13.95 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.621e-05/0.2857, allocations: 77.11 kB / 439.6 MB, free: 13.85 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.608e-05/0.2858, allocations: 109.8 kB / 439.8 MB, free: 13.73 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.065e-05/0.2859, allocations: 25.7 kB / 439.8 MB, free: 13.7 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.58e-05/0.2859, allocations: 92.08 kB / 439.9 MB, free: 13.61 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.81e-05/0.2859, allocations: 23.78 kB / 439.9 MB, free: 13.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.783e-05/0.286, allocations: 21.72 kB / 439.9 MB, free: 13.56 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.2861, allocations: 314.8 kB / 440.2 MB, free: 13.24 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.577e-05/0.2862, allocations: 12 kB / 440.2 MB, free: 13.23 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.597e-05/0.2862, allocations: 43.41 kB / 440.3 MB, free: 13.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001359/0.2864, allocations: 67.34 kB / 440.3 MB, free: 13.1 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.2864, allocations: 3.938 kB / 440.3 MB, free: 13.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001972/0.2866, allocations: 81.56 kB / 440.4 MB, free: 13.01 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.2866, allocations: 4 kB / 440.4 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.2866, allocations: 0 / 440.4 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.2866, allocations: 4 kB / 440.4 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.169e-05/0.2867, allocations: 23.98 kB / 440.5 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.2867, allocations: 8.469 kB / 440.5 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.324e-05/0.2867, allocations: 4.469 kB / 440.5 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.297e-05/0.2867, allocations: 4 kB / 440.5 MB, free: 12.96 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 8.261e-05/0.2868, allocations: 113.8 kB / 440.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.271e-05/0.2869, allocations: 11.94 kB / 440.6 MB, free: 12.83 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003777/0.2872, allocations: 128.2 kB / 440.7 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.2872, allocations: 4 kB / 440.7 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.2873, allocations: 0 / 440.7 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.2873, allocations: 4 kB / 440.7 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001406/0.2874, allocations: 140.7 kB / 440.9 MB, free: 12.51 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.2874, allocations: 0 / 440.9 MB, free: 12.51 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.902e-05/0.2875, allocations: 15.92 kB / 440.9 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.2875, allocations: 0 / 440.9 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.2875, allocations: 8 kB / 440.9 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.2875, allocations: 0 / 440.9 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2875, allocations: 0 / 440.9 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003056/0.2878, allocations: 153.8 kB / 441 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.231e-05/0.2878, allocations: 15.97 kB / 441.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.633e-05/0.2878, allocations: 3.938 kB / 441.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.024e-05/0.2879, allocations: 7.938 kB / 441.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.693e-05/0.2879, allocations: 7.922 kB / 441.1 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-06/0.2879, allocations: 4 kB / 441.1 MB, free: 12.28 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.705e-05/0.288, allocations: 91.27 kB / 441.2 MB, free: 12.19 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.288, allocations: 0 / 441.2 MB, free: 12.19 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004531/0.2884, allocations: 135.5 kB / 441.3 MB, free: 12.05 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.0009885/0.2894, allocations: 0.8472 MB / 442.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001911/0.2896, allocations: 51.97 kB / 442.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.2896, allocations: 0 / 442.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.359e-05/0.2897, allocations: 27.92 kB / 442.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001975/0.2899, allocations: 12 kB / 442.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001752/0.2917, allocations: 1.535 MB / 443.8 MB, free: 9.449 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.781e-05/0.2917, allocations: 67.34 kB / 443.8 MB, free: 9.363 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.682e-05/0.2918, allocations: 32.67 kB / 443.9 MB, free: 9.336 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.877e-05/0.2919, allocations: 27.36 kB / 443.9 MB, free: 9.309 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2919, allocations: 0 / 443.9 MB, free: 9.309 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03245/0.3243, allocations: 4.977 MB / 448.9 MB, free: 4.488 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.6, allocations: 11.84 kB / 448.9 MB, free: 4.477 MB / 350.1 MB " [Timeout remaining time 648] (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: 14.269231539976317] Failed to read output from testmodel.py, exit status != 0: ['time', 'h1', 's1'] 11.707357047998812 11.737837271 11.448973694 Calling exit ...