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.001812/0.001812, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001604/0.001604, allocations: 214.4 kB / 23.75 MB, free: 4.668 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.4/1.4, allocations: 230.6 MB / 257.5 MB, free: 8.012 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.001501/0.001501, allocations: 47.92 kB / 377.8 MB, free: 3.168 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/0.2446, allocations: 53.36 MB / 431.1 MB, free: 6.875 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002468/0.2471, allocations: 1.378 MB / 432.5 MB, free: 5.492 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005502/0.2526, allocations: 4.107 MB / 436.6 MB, free: 1.359 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.1e-05/0.2526, allocations: 0 / 436.6 MB, free: 1.359 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.952e-05/0.2526, allocations: 3.938 kB / 436.6 MB, free: 1.355 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001059/0.2537, allocations: 306.9 kB / 436.9 MB, free: 1.055 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001185/0.2549, allocations: 0.5051 MB / 437.4 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001029/0.255, allocations: 51.67 kB / 437.5 MB, free: 0.5 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.943e-05/0.255, allocations: 19.7 kB / 437.5 MB, free: 496 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001034/0.2551, allocations: 35.92 kB / 437.5 MB, free: 460 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007239/0.2559, allocations: 371.2 kB / 437.9 MB, free: 88 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.307e-05/0.2559, allocations: 4 kB / 437.9 MB, free: 84 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001156/0.257, allocations: 0.6489 MB / 438.5 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.751e-05/0.257, allocations: 11.97 kB / 438.5 MB, free: 15.42 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.367e-05/0.2571, allocations: 19.88 kB / 438.6 MB, free: 15.4 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007261/0.2578, allocations: 455.5 kB / 439 MB, free: 14.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2578, allocations: 0 / 439 MB, free: 14.96 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2578, allocations: 0 / 439 MB, free: 14.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.2578, allocations: 0 / 439 MB, free: 14.96 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.0005728/0.2584, allocations: 377.2 kB / 439.4 MB, free: 14.56 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.2584, allocations: 12.03 kB / 439.4 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.432e-05/0.2585, allocations: 34.75 kB / 439.4 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.36e-05/0.2585, allocations: 8.891 kB / 439.4 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002002/0.2587, allocations: 130.5 kB / 439.6 MB, free: 14.35 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.2587, allocations: 4.125 kB / 439.6 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.174e-05/0.2587, allocations: 4 kB / 439.6 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/0.2589, allocations: 55.39 kB / 439.6 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.2589, allocations: 4 kB / 439.6 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.2589, allocations: 7.938 kB / 439.6 MB, free: 14.26 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.2589, allocations: 4 kB / 439.6 MB, free: 14.26 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.936e-05/0.259, allocations: 19.92 kB / 439.7 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001872/0.2592, allocations: 141.7 kB / 439.8 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002945/0.2595, allocations: 81.06 kB / 439.9 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.891e-05/0.2596, allocations: 29.77 kB / 439.9 MB, free: 13.92 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000375/0.2599, allocations: 119.9 kB / 440 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.26, allocations: 34.56 kB / 440.1 MB, free: 13.76 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.26, allocations: 0 / 440.1 MB, free: 13.76 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002867/0.2602, allocations: 81.55 kB / 440.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.037e-05/0.2603, allocations: 85.11 kB / 440.2 MB, free: 13.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.433e-05/0.2604, allocations: 109.8 kB / 440.3 MB, free: 13.46 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.2604, allocations: 29.69 kB / 440.4 MB, free: 13.42 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.597e-05/0.2605, allocations: 84.14 kB / 440.4 MB, free: 13.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.987e-05/0.2605, allocations: 23.8 kB / 440.5 MB, free: 13.31 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.857e-05/0.2606, allocations: 25.64 kB / 440.5 MB, free: 13.28 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.2607, allocations: 314.8 kB / 440.8 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.023e-05/0.2607, allocations: 19.92 kB / 440.8 MB, free: 12.95 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.956e-05/0.2608, allocations: 39.42 kB / 440.9 MB, free: 12.89 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/0.261, allocations: 63.72 kB / 440.9 MB, free: 12.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/0.261, allocations: 3.938 kB / 440.9 MB, free: 12.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001922/0.2612, allocations: 89.55 kB / 441 MB, free: 12.72 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.2612, allocations: 4 kB / 441 MB, free: 12.72 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.2612, allocations: 4 kB / 441 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.2612, allocations: 4 kB / 441 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.784e-05/0.2613, allocations: 12 kB / 441 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.2613, allocations: 3.938 kB / 441 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.818e-05/0.2613, allocations: 11.98 kB / 441 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.243e-05/0.2613, allocations: 4 kB / 441 MB, free: 12.68 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.558e-05/0.2614, allocations: 113.8 kB / 441.2 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.106e-05/0.2614, allocations: 11.95 kB / 441.2 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003791/0.2618, allocations: 121 kB / 441.3 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.2618, allocations: 0 / 441.3 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.2618, allocations: 0 / 441.3 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.2618, allocations: 3.984 kB / 441.3 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001466/0.262, allocations: 148.7 kB / 441.4 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.262, allocations: 0 / 441.4 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.336e-05/0.2621, allocations: 15.92 kB / 441.5 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.2621, allocations: 0 / 441.5 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.2621, allocations: 4 kB / 441.5 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.2621, allocations: 0 / 441.5 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2621, allocations: 0 / 441.5 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003118/0.2624, allocations: 161.8 kB / 441.6 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.643e-05/0.2624, allocations: 7.938 kB / 441.6 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.04e-05/0.2624, allocations: 8 kB / 441.6 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.923e-05/0.2625, allocations: 0 / 441.6 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.176e-05/0.2625, allocations: 7.984 kB / 441.6 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-06/0.2625, allocations: 0 / 441.6 MB, free: 12.01 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.684e-05/0.2626, allocations: 95.2 kB / 441.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2626, allocations: 0 / 441.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00043/0.263, allocations: 131.5 kB / 441.9 MB, free: 11.79 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.0009699/0.264, allocations: 0.8571 MB / 442.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001911/0.2642, allocations: 48.77 kB / 442.8 MB, free: 10.86 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2642, allocations: 0 / 442.8 MB, free: 10.86 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.548e-05/0.2643, allocations: 32.05 kB / 442.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001942/0.2645, allocations: 17.77 kB / 442.8 MB, free: 10.81 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001728/0.2662, allocations: 1.533 MB / 444.3 MB, free: 9.172 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002969/0.2665, allocations: 0.6884 MB / 445 MB, free: 8.457 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.17e-05/0.2665, allocations: 27.59 kB / 445.1 MB, free: 8.434 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.171e-05/0.2666, allocations: 23.42 kB / 445.1 MB, free: 8.41 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2666, allocations: 0 / 445.1 MB, free: 8.41 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03206/0.2987, allocations: 4.523 MB / 449.6 MB, free: 4.039 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.4, allocations: 4.938 kB / 449.6 MB, free: 4.035 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: 13.921515399000782] Failed to read output from testmodel.py, exit status != 0: ['time', 'h1', 's1'] 11.50862760200107 11.53553698 11.272782192 Calling exit ...