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.001951/0.001951, allocations: 111.1 kB / 20.44 MB, free: 1.352 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.002375/0.002375, allocations: 213.3 kB / 23.73 MB, free: 4.531 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.45/1.45, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.00166/0.00166, allocations: 51.92 kB / 377.7 MB, free: 2.992 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2461/0.2477, allocations: 53.36 MB / 431.1 MB, free: 6.805 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.00226/0.25, allocations: 1.347 MB / 432.4 MB, free: 5.453 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005313/0.2553, allocations: 3.745 MB / 436.2 MB, free: 1.684 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.236e-05/0.2553, allocations: 0 / 436.2 MB, free: 1.684 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.749e-05/0.2554, allocations: 3.984 kB / 436.2 MB, free: 1.68 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001143/0.2565, allocations: 298.8 kB / 436.5 MB, free: 1.387 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001238/0.2578, allocations: 0.517 MB / 437 MB, free: 0.875 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.998e-05/0.2578, allocations: 51.73 kB / 437 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.535e-05/0.2579, allocations: 4 kB / 437 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001126/0.258, allocations: 39.83 kB / 437.1 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007098/0.2587, allocations: 375.3 kB / 437.4 MB, free: 424 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.051e-05/0.2587, allocations: 0 / 437.4 MB, free: 424 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009457/0.2597, allocations: 0.536 MB / 438 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.416e-05/0.2597, allocations: 7.938 kB / 438 MB, free: 15.87 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.398e-05/0.2597, allocations: 23.86 kB / 438 MB, free: 15.85 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006625/0.2604, allocations: 432.8 kB / 438.4 MB, free: 15.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.2604, allocations: 3.984 kB / 438.4 MB, free: 15.42 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2604, allocations: 0 / 438.4 MB, free: 15.42 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.912e-06/0.2604, allocations: 4 kB / 438.4 MB, free: 15.42 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.000513/0.2609, allocations: 369.2 kB / 438.8 MB, free: 15.03 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.2609, allocations: 8.031 kB / 438.8 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.21e-05/0.261, allocations: 38.75 kB / 438.8 MB, free: 14.97 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.823e-05/0.261, allocations: 0.9375 kB / 438.8 MB, free: 14.97 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001877/0.2612, allocations: 126.5 kB / 439 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.2612, allocations: 12.06 kB / 439 MB, free: 14.81 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.474e-05/0.2612, allocations: 4 kB / 439 MB, free: 14.81 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/0.2614, allocations: 63.39 kB / 439 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.2614, allocations: 0 / 439 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.2614, allocations: 4 kB / 439 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.2614, allocations: 0 / 439 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.382e-05/0.2615, allocations: 23.91 kB / 439.1 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000194/0.2617, allocations: 141.7 kB / 439.2 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002877/0.262, allocations: 73.12 kB / 439.3 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.085e-05/0.262, allocations: 25.78 kB / 439.3 MB, free: 14.4 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003693/0.2624, allocations: 127.8 kB / 439.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.026e-05/0.2624, allocations: 34.56 kB / 439.5 MB, free: 14.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.2624, allocations: 0 / 439.5 MB, free: 14.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002951/0.2627, allocations: 85.55 kB / 439.5 MB, free: 14.14 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.633e-05/0.2628, allocations: 77.11 kB / 439.6 MB, free: 14.05 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.2629, allocations: 109.8 kB / 439.7 MB, free: 13.93 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/0.2629, allocations: 29.7 kB / 439.8 MB, free: 13.9 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.172e-05/0.263, allocations: 80.14 kB / 439.8 MB, free: 13.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.736e-05/0.263, allocations: 31.78 kB / 439.9 MB, free: 13.79 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.154e-05/0.263, allocations: 21.72 kB / 439.9 MB, free: 13.76 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.2632, allocations: 322.8 kB / 440.2 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.716e-05/0.2632, allocations: 15.92 kB / 440.2 MB, free: 13.42 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.651e-05/0.2633, allocations: 39.42 kB / 440.3 MB, free: 13.37 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001424/0.2635, allocations: 63.72 kB / 440.3 MB, free: 13.29 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.157e-06/0.2635, allocations: 3.938 kB / 440.3 MB, free: 13.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001994/0.2637, allocations: 89.5 kB / 440.4 MB, free: 13.2 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.2637, allocations: 8 kB / 440.4 MB, free: 13.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.2637, allocations: 0 / 440.4 MB, free: 13.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.2637, allocations: 0 / 440.4 MB, free: 13.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.086e-05/0.2638, allocations: 15.98 kB / 440.4 MB, free: 13.17 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.2638, allocations: 4 kB / 440.4 MB, free: 13.17 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.231e-05/0.2638, allocations: 0 / 440.4 MB, free: 13.17 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.2638, allocations: 4 kB / 440.4 MB, free: 13.16 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.977e-05/0.2639, allocations: 125.7 kB / 440.6 MB, free: 13.03 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.294e-05/0.2639, allocations: 12.02 kB / 440.6 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003796/0.2643, allocations: 127.9 kB / 440.7 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.2643, allocations: 0 / 440.7 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.2643, allocations: 4 kB / 440.7 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.2643, allocations: 0 / 440.7 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001479/0.2645, allocations: 148.7 kB / 440.8 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.2645, allocations: 4 kB / 440.9 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.242e-05/0.2646, allocations: 15.98 kB / 440.9 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.2646, allocations: 0 / 440.9 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.2646, allocations: 4 kB / 440.9 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.2646, allocations: 0 / 440.9 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2646, allocations: 0 / 440.9 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003053/0.2649, allocations: 149.8 kB / 441 MB, free: 12.51 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.133e-05/0.2649, allocations: 15.97 kB / 441 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/0.2649, allocations: 0 / 441 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.927e-05/0.265, allocations: 0 / 441 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.897e-05/0.265, allocations: 11.98 kB / 441 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.175e-06/0.265, allocations: 8.062 kB / 441.1 MB, free: 12.47 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.28e-05/0.2651, allocations: 91.27 kB / 441.1 MB, free: 12.38 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2651, allocations: 0 / 441.1 MB, free: 12.38 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004371/0.2655, allocations: 131.5 kB / 441.3 MB, free: 12.25 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.001002/0.2665, allocations: 0.8557 MB / 442.1 MB, free: 11.37 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000182/0.2667, allocations: 55.84 kB / 442.2 MB, free: 11.31 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2667, allocations: 0 / 442.2 MB, free: 11.31 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.195e-05/0.2668, allocations: 23.98 kB / 442.2 MB, free: 11.29 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001989/0.267, allocations: 16.11 kB / 442.2 MB, free: 11.27 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001759/0.2688, allocations: 1.523 MB / 443.7 MB, free: 9.648 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.578e-05/0.2688, allocations: 75.34 kB / 443.8 MB, free: 9.555 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.544e-05/0.2689, allocations: 27.53 kB / 443.8 MB, free: 9.531 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.477e-05/0.269, allocations: 27.42 kB / 443.9 MB, free: 9.504 MB / 350.1 MB Notification: Performance of SimCode: time 6.51e-07/0.269, allocations: 4 kB / 443.9 MB, free: 9.5 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03309/0.3021, allocations: 4.94 MB / 448.8 MB, free: 4.719 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.56, allocations: 11.94 kB / 448.8 MB, free: 4.707 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.135999117046595] Failed to read output from testmodel.py, exit status != 0: ['time', 'h1', 's1'] 11.66782252676785 11.685622917 11.422052941 Calling exit ...