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.001739/0.001739, allocations: 112.2 kB / 20.43 MB, free: 1.449 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.001971/0.001971, allocations: 188.4 kB / 23.72 MB, free: 4.684 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.423/1.423, allocations: 225.6 MB / 252.5 MB, free: 13.02 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.001504/0.001504, allocations: 47.92 kB / 370.4 MB, free: 9.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2256/0.2272, allocations: 52.18 MB / 422.6 MB, free: 14.58 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002535/0.2297, allocations: 1.373 MB / 424 MB, free: 13.2 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005859/0.2355, allocations: 4.039 MB / 428 MB, free: 9.133 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.019e-05/0.2356, allocations: 3.938 kB / 428 MB, free: 9.129 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.41e-05/0.2356, allocations: 0 / 428 MB, free: 9.129 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001229/0.2369, allocations: 306.9 kB / 428.3 MB, free: 8.828 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001379/0.2382, allocations: 0.4982 MB / 428.8 MB, free: 8.328 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001156/0.2383, allocations: 51.72 kB / 428.9 MB, free: 8.277 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.34e-05/0.2384, allocations: 11.78 kB / 428.9 MB, free: 8.27 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001162/0.2385, allocations: 43.86 kB / 428.9 MB, free: 8.227 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007663/0.2393, allocations: 363.3 kB / 429.3 MB, free: 7.871 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.145e-05/0.2393, allocations: 0 / 429.3 MB, free: 7.871 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001258/0.2405, allocations: 0.6472 MB / 429.9 MB, free: 7.223 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.677e-05/0.2406, allocations: 11.97 kB / 429.9 MB, free: 7.211 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.371e-05/0.2406, allocations: 23.88 kB / 430 MB, free: 7.188 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008207/0.2414, allocations: 447.5 kB / 430.4 MB, free: 6.754 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.2414, allocations: 0 / 430.4 MB, free: 6.754 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2414, allocations: 0 / 430.4 MB, free: 6.754 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.103e-05/0.2414, allocations: 3.938 kB / 430.4 MB, free: 6.75 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.000598/0.242, allocations: 373.3 kB / 430.8 MB, free: 6.355 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.2421, allocations: 8.031 kB / 430.8 MB, free: 6.348 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.579e-05/0.2421, allocations: 34.75 kB / 430.8 MB, free: 6.305 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.531e-05/0.2422, allocations: 8.891 kB / 430.8 MB, free: 6.297 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002101/0.2424, allocations: 134.5 kB / 431 MB, free: 6.141 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.2424, allocations: 4.125 kB / 431 MB, free: 6.137 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.51e-05/0.2424, allocations: 7.953 kB / 431 MB, free: 6.129 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/0.2426, allocations: 63.33 kB / 431 MB, free: 6.055 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.2426, allocations: 0 / 431 MB, free: 6.055 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.2426, allocations: 7.938 kB / 431 MB, free: 6.047 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.2426, allocations: 4 kB / 431 MB, free: 6.043 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.049e-05/0.2427, allocations: 15.98 kB / 431.1 MB, free: 6.027 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001913/0.2429, allocations: 141.7 kB / 431.2 MB, free: 5.844 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003022/0.2432, allocations: 81.06 kB / 431.3 MB, free: 5.746 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.866e-05/0.2432, allocations: 29.77 kB / 431.3 MB, free: 5.711 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003843/0.2436, allocations: 119.9 kB / 431.4 MB, free: 5.594 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.946e-05/0.2437, allocations: 42.5 kB / 431.5 MB, free: 5.543 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.2437, allocations: 0 / 431.5 MB, free: 5.543 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003047/0.244, allocations: 81.92 kB / 431.5 MB, free: 5.457 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.957e-05/0.244, allocations: 85.05 kB / 431.6 MB, free: 5.355 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.2441, allocations: 109.8 kB / 431.7 MB, free: 5.238 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.2441, allocations: 25.7 kB / 431.8 MB, free: 5.207 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.823e-05/0.2442, allocations: 92.11 kB / 431.8 MB, free: 5.113 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.563e-05/0.2442, allocations: 31.69 kB / 431.9 MB, free: 5.082 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.37e-05/0.2443, allocations: 25.7 kB / 431.9 MB, free: 5.051 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.2444, allocations: 310.8 kB / 432.2 MB, free: 4.738 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.271e-05/0.2445, allocations: 15.98 kB / 432.2 MB, free: 4.723 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.478e-05/0.2446, allocations: 43.42 kB / 432.3 MB, free: 4.668 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000142/0.2447, allocations: 55.36 kB / 432.3 MB, free: 4.602 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.2447, allocations: 3.938 kB / 432.3 MB, free: 4.598 MB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002004/0.2449, allocations: 81.61 kB / 432.4 MB, free: 4.512 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.2449, allocations: 7.438 kB / 432.4 MB, free: 4.508 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.2449, allocations: 0 / 432.4 MB, free: 4.508 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.2449, allocations: 7.984 kB / 432.4 MB, free: 4.5 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.325e-05/0.245, allocations: 15.94 kB / 432.4 MB, free: 4.484 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.245, allocations: 0 / 432.4 MB, free: 4.484 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.231e-05/0.2451, allocations: 15.94 kB / 432.5 MB, free: 4.469 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.2451, allocations: 4 kB / 432.5 MB, free: 4.465 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.5e-05/0.2452, allocations: 117.8 kB / 432.6 MB, free: 4.34 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.97e-05/0.2452, allocations: 4 kB / 432.6 MB, free: 4.336 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004009/0.2456, allocations: 122.4 kB / 432.7 MB, free: 4.215 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.2456, allocations: 3.938 kB / 432.7 MB, free: 4.211 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.2456, allocations: 0 / 432.7 MB, free: 4.211 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.2456, allocations: 4 kB / 432.7 MB, free: 4.207 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001607/0.2458, allocations: 152.6 kB / 432.9 MB, free: 4.016 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.2458, allocations: 7.938 kB / 432.9 MB, free: 4.008 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.213e-05/0.2459, allocations: 11.98 kB / 432.9 MB, free: 3.996 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.2459, allocations: 4 kB / 432.9 MB, free: 3.992 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.2459, allocations: 0 / 432.9 MB, free: 3.992 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.2459, allocations: 0 / 432.9 MB, free: 3.992 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2459, allocations: 0 / 432.9 MB, free: 3.992 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003238/0.2462, allocations: 162.2 kB / 433 MB, free: 3.812 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.944e-05/0.2462, allocations: 8.016 kB / 433 MB, free: 3.805 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.235e-05/0.2463, allocations: 4 kB / 433 MB, free: 3.801 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.268e-05/0.2463, allocations: 4 kB / 433 MB, free: 3.797 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.369e-05/0.2463, allocations: 8.266 kB / 433.1 MB, free: 3.789 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.007e-06/0.2464, allocations: 4 kB / 433.1 MB, free: 3.785 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.618e-05/0.2464, allocations: 95.33 kB / 433.2 MB, free: 3.691 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2464, allocations: 0 / 433.2 MB, free: 3.691 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000459/0.2469, allocations: 127.5 kB / 433.3 MB, free: 3.566 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.001153/0.248, allocations: 0.8758 MB / 434.2 MB, free: 2.668 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000206/0.2482, allocations: 52.06 kB / 434.2 MB, free: 2.617 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2482, allocations: 0 / 434.2 MB, free: 2.617 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.725e-05/0.2483, allocations: 28.16 kB / 434.2 MB, free: 2.59 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001911/0.2485, allocations: 8 kB / 434.2 MB, free: 2.582 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001826/0.2503, allocations: 1.514 MB / 435.8 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003238/0.2507, allocations: 0.6885 MB / 436.4 MB, free: 256 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.129e-05/0.2507, allocations: 27.03 kB / 436.5 MB, free: 232 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.686e-05/0.2508, allocations: 27.42 kB / 436.5 MB, free: 204 kB / 334.1 MB Notification: Performance of SimCode: time 7.02e-07/0.2508, allocations: 7.938 kB / 436.5 MB, free: 196 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03436/0.2852, allocations: 4.529 MB / 441 MB, free: 11.82 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.11, allocations: 0 / 441 MB, free: 11.82 MB / 350.1 MB " [Timeout remaining time 649] (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: 13.62049200399997] Failed to read output from testmodel.py, exit status != 0: ['time', 'h1', 's1'] 11.212840214997414 11.239797287 10.993099541 Calling exit ...