Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001841/0.001841, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002135/0.002135, allocations: 194.6 kB / 23.71 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 225.7 MB / 252.5 MB, free: 12.79 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,fileNamePrefix="Modelica_4_0_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_0_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.001555/0.001555, allocations: 47.92 kB / 370.4 MB, free: 9.695 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2816/0.2831, allocations: 52.17 MB / 422.6 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002544/0.2857, allocations: 1.347 MB / 423.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005555/0.2912, allocations: 3.685 MB / 427.6 MB, free: 9.34 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.482e-05/0.2913, allocations: 0 / 427.6 MB, free: 9.34 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.916e-05/0.2913, allocations: 0 / 427.6 MB, free: 9.34 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001126/0.2925, allocations: 298.9 kB / 427.9 MB, free: 9.047 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001346/0.2938, allocations: 0.5019 MB / 428.4 MB, free: 8.547 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001115/0.2939, allocations: 59.66 kB / 428.4 MB, free: 8.488 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.571e-05/0.294, allocations: 11.98 kB / 428.5 MB, free: 8.477 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001212/0.2941, allocations: 39.84 kB / 428.5 MB, free: 8.438 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007485/0.2948, allocations: 363.3 kB / 428.8 MB, free: 8.082 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.27e-05/0.2948, allocations: 4 kB / 428.9 MB, free: 8.078 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001082/0.2959, allocations: 0.5365 MB / 429.4 MB, free: 7.543 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.42e-05/0.2959, allocations: 4 kB / 429.4 MB, free: 7.539 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.004e-05/0.296, allocations: 19.88 kB / 429.4 MB, free: 7.52 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007755/0.2968, allocations: 432.7 kB / 429.8 MB, free: 7.098 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.2968, allocations: 0 / 429.8 MB, free: 7.098 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2968, allocations: 0 / 429.8 MB, free: 7.098 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.2968, allocations: 0 / 429.8 MB, free: 7.098 MB / 334.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.0006302/0.2974, allocations: 373.3 kB / 430.2 MB, free: 6.703 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.872e-05/0.2975, allocations: 8.031 kB / 430.2 MB, free: 6.695 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.653e-05/0.2975, allocations: 34.75 kB / 430.2 MB, free: 6.652 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.995e-05/0.2975, allocations: 12.83 kB / 430.3 MB, free: 6.641 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002177/0.2978, allocations: 130.5 kB / 430.4 MB, free: 6.488 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.2978, allocations: 4.125 kB / 430.4 MB, free: 6.484 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.055e-05/0.2978, allocations: 7.953 kB / 430.4 MB, free: 6.477 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.298, allocations: 63.33 kB / 430.5 MB, free: 6.402 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.298, allocations: 0 / 430.5 MB, free: 6.402 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.298, allocations: 4 kB / 430.5 MB, free: 6.398 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.298, allocations: 0 / 430.5 MB, free: 6.398 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.448e-05/0.2981, allocations: 19.92 kB / 430.5 MB, free: 6.379 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002092/0.2983, allocations: 149.6 kB / 430.6 MB, free: 6.188 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003061/0.2986, allocations: 85.14 kB / 430.7 MB, free: 6.086 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.708e-05/0.2987, allocations: 21.78 kB / 430.7 MB, free: 6.059 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004046/0.2991, allocations: 123.9 kB / 430.8 MB, free: 5.938 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.234e-05/0.2991, allocations: 38.56 kB / 430.9 MB, free: 5.891 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.2991, allocations: 0 / 430.9 MB, free: 5.891 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002972/0.2994, allocations: 81.91 kB / 431 MB, free: 5.805 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.869e-05/0.2995, allocations: 85.11 kB / 431 MB, free: 5.703 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000109/0.2996, allocations: 113.8 kB / 431.2 MB, free: 5.582 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.2996, allocations: 25.7 kB / 431.2 MB, free: 5.551 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.804e-05/0.2997, allocations: 84.14 kB / 431.3 MB, free: 5.465 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.317e-05/0.2997, allocations: 31.73 kB / 431.3 MB, free: 5.434 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.21e-05/0.2997, allocations: 17.72 kB / 431.3 MB, free: 5.41 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.2999, allocations: 318.8 kB / 431.6 MB, free: 5.09 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.62e-05/0.3, allocations: 12 kB / 431.6 MB, free: 5.078 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.485e-05/0.3, allocations: 39.42 kB / 431.7 MB, free: 5.027 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001416/0.3002, allocations: 63.34 kB / 431.7 MB, free: 4.953 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.3002, allocations: 3.938 kB / 431.7 MB, free: 4.949 MB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001903/0.3004, allocations: 77.61 kB / 431.8 MB, free: 4.867 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.3004, allocations: 4 kB / 431.8 MB, free: 4.863 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.3004, allocations: 4 kB / 431.8 MB, free: 4.859 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.3004, allocations: 0 / 431.8 MB, free: 4.859 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.11e-05/0.3005, allocations: 27.92 kB / 431.9 MB, free: 4.832 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.3005, allocations: 4.062 kB / 431.9 MB, free: 4.828 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.666e-05/0.3006, allocations: 7.953 kB / 431.9 MB, free: 4.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/0.3006, allocations: 4 kB / 431.9 MB, free: 4.816 MB / 334.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 9.641e-05/0.3007, allocations: 117.8 kB / 432 MB, free: 4.691 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.907e-05/0.3007, allocations: 7.922 kB / 432 MB, free: 4.684 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003928/0.3011, allocations: 115.6 kB / 432.1 MB, free: 4.566 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/0.3011, allocations: 4 kB / 432.1 MB, free: 4.562 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.3011, allocations: 4 kB / 432.1 MB, free: 4.559 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3011, allocations: 0 / 432.1 MB, free: 4.559 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001658/0.3013, allocations: 152.6 kB / 432.3 MB, free: 4.367 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.3013, allocations: 0 / 432.3 MB, free: 4.367 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.847e-05/0.3014, allocations: 19.92 kB / 432.3 MB, free: 4.348 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.3014, allocations: 0 / 432.3 MB, free: 4.348 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.3014, allocations: 0 / 432.3 MB, free: 4.348 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.3014, allocations: 4 kB / 432.3 MB, free: 4.344 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.3014, allocations: 0 / 432.3 MB, free: 4.344 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003296/0.3017, allocations: 153.8 kB / 432.4 MB, free: 4.172 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.859e-05/0.3017, allocations: 8.016 kB / 432.4 MB, free: 4.164 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.22e-05/0.3018, allocations: 8 kB / 432.5 MB, free: 4.156 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.928e-05/0.3018, allocations: 0 / 432.5 MB, free: 4.156 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.3018, allocations: 11.92 kB / 432.5 MB, free: 4.145 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.3018, allocations: 0 / 432.5 MB, free: 4.145 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.508e-05/0.3019, allocations: 91.81 kB / 432.6 MB, free: 4.055 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3019, allocations: 0 / 432.6 MB, free: 4.055 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004575/0.3024, allocations: 131.5 kB / 432.7 MB, free: 3.926 MB / 334.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.001238/0.3036, allocations: 0.8776 MB / 433.6 MB, free: 3.027 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001995/0.3038, allocations: 47.95 kB / 433.6 MB, free: 2.98 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3038, allocations: 0 / 433.6 MB, free: 2.98 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.905e-05/0.3039, allocations: 28.11 kB / 433.6 MB, free: 2.953 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002147/0.3041, allocations: 19.25 kB / 433.7 MB, free: 2.938 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001868/0.306, allocations: 1.519 MB / 435.2 MB, free: 1.312 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.174e-05/0.3061, allocations: 67.34 kB / 435.2 MB, free: 1.227 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.663e-05/0.3061, allocations: 27.72 kB / 435.3 MB, free: 1.203 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.014e-05/0.3062, allocations: 27.45 kB / 435.3 MB, free: 1.176 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3062, allocations: 3.938 kB / 435.3 MB, free: 1.172 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03603/0.3422, allocations: 4.957 MB / 440.3 MB, free: 12.38 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.48, allocations: 6.234 kB / 440.3 MB, free: 12.37 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T.fmu > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.019315513316542] Failed to read output from testmodel.py, exit status != 0: ['time', 'h1', 's1'] 11.596632272936404 11.626617648 11.324131354 Calling exit ...