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.001301/0.001301, allocations: 124 kB / 17.79 MB, free: 5.266 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.001363/0.001363, allocations: 190.9 kB / 20.73 MB, free: 2.328 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.4/1.4, allocations: 225.6 MB / 249.1 MB, free: 3.629 MB / 190.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.001497/0.001497, allocations: 51.92 kB / 365.6 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09677/0.09826, allocations: 52.15 MB / 417.8 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002358/0.1006, allocations: 1.357 MB / 419.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005502/0.1061, allocations: 4.011 MB / 423.1 MB, free: 7.242 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.338e-05/0.1062, allocations: 0 / 423.1 MB, free: 7.242 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.346e-05/0.1062, allocations: 7.922 kB / 423.1 MB, free: 7.234 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001001/0.1072, allocations: 275 kB / 423.4 MB, free: 6.965 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001084/0.1083, allocations: 0.4893 MB / 423.9 MB, free: 6.477 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001046/0.1084, allocations: 67.64 kB / 424 MB, free: 6.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.641e-05/0.1084, allocations: 3.938 kB / 424 MB, free: 6.406 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.1085, allocations: 43.84 kB / 424 MB, free: 6.363 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006569/0.1092, allocations: 355.2 kB / 424.4 MB, free: 6.016 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.267e-05/0.1092, allocations: 4 kB / 424.4 MB, free: 6.012 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009886/0.1102, allocations: 0.6161 MB / 425 MB, free: 5.395 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.527e-05/0.1102, allocations: 7.938 kB / 425 MB, free: 5.387 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.358e-05/0.1102, allocations: 23.92 kB / 425 MB, free: 5.363 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006948/0.1109, allocations: 450.9 kB / 425.5 MB, free: 4.922 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1109, allocations: 0 / 425.5 MB, free: 4.922 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1109, allocations: 0 / 425.5 MB, free: 4.922 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.1109, allocations: 0 / 425.5 MB, free: 4.922 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.0006096/0.1115, allocations: 454.3 kB / 425.9 MB, free: 4.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.1116, allocations: 8.031 kB / 425.9 MB, free: 4.422 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.747e-05/0.1116, allocations: 34.75 kB / 425.9 MB, free: 4.379 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.061e-05/0.1116, allocations: 4.891 kB / 425.9 MB, free: 4.375 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002241/0.1119, allocations: 188.3 kB / 426.1 MB, free: 4.152 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.762e-05/0.1119, allocations: 12.12 kB / 426.1 MB, free: 4.141 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.829e-05/0.1119, allocations: 3.953 kB / 426.1 MB, free: 4.137 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000153/0.1121, allocations: 59.39 kB / 426.2 MB, free: 4.066 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.1121, allocations: 0 / 426.2 MB, free: 4.066 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.1121, allocations: 0 / 426.2 MB, free: 4.066 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.1121, allocations: 3.938 kB / 426.2 MB, free: 4.062 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.424e-05/0.1122, allocations: 19.98 kB / 426.2 MB, free: 4.043 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002012/0.1124, allocations: 174.6 kB / 426.4 MB, free: 3.82 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002827/0.1127, allocations: 81.06 kB / 426.5 MB, free: 3.723 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.202e-05/0.1127, allocations: 21.77 kB / 426.5 MB, free: 3.695 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001181/0.1139, allocations: 1.544 MB / 428 MB, free: 1.801 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.423e-05/0.1139, allocations: 34.56 kB / 428.1 MB, free: 1.758 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.1139, allocations: 0 / 428.1 MB, free: 1.758 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002944/0.1142, allocations: 81.92 kB / 428.2 MB, free: 1.672 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.108e-05/0.1143, allocations: 81.09 kB / 428.2 MB, free: 1.574 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.1144, allocations: 117.8 kB / 428.4 MB, free: 1.449 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.1144, allocations: 25.7 kB / 428.4 MB, free: 1.418 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.389e-05/0.1145, allocations: 88.08 kB / 428.5 MB, free: 1.328 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.755e-05/0.1145, allocations: 23.75 kB / 428.5 MB, free: 1.305 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.879e-05/0.1145, allocations: 21.7 kB / 428.5 MB, free: 1.277 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.1147, allocations: 318.8 kB / 428.8 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.343e-05/0.1147, allocations: 23.86 kB / 428.8 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.558e-05/0.1148, allocations: 39.42 kB / 428.9 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001457/0.115, allocations: 59.39 kB / 428.9 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.115, allocations: 3.938 kB / 428.9 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001918/0.1152, allocations: 81.59 kB / 429 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.1152, allocations: 12.06 kB / 429 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.1152, allocations: 0 / 429 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.1152, allocations: 0 / 429 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.648e-05/0.1153, allocations: 16 kB / 429 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.1153, allocations: 3.984 kB / 429.1 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.852e-05/0.1153, allocations: 15.89 kB / 429.1 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.243e-05/0.1153, allocations: 4 kB / 429.1 MB, free: 0.6719 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 0.000106/0.1154, allocations: 114.4 kB / 429.2 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.034e-05/0.1155, allocations: 4 kB / 429.2 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000353/0.1158, allocations: 125 kB / 429.3 MB, free: 428 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.1158, allocations: 0 / 429.3 MB, free: 428 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1158, allocations: 4 kB / 429.3 MB, free: 424 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.1158, allocations: 3.984 kB / 429.3 MB, free: 420 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001642/0.116, allocations: 181.5 kB / 429.5 MB, free: 188 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.116, allocations: 0 / 429.5 MB, free: 188 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.282e-05/0.1161, allocations: 19.92 kB / 429.5 MB, free: 168 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.1161, allocations: 4 kB / 429.5 MB, free: 164 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.128e-06/0.1161, allocations: 0 / 429.5 MB, free: 164 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.1161, allocations: 0 / 429.5 MB, free: 164 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1161, allocations: 0 / 429.5 MB, free: 164 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000308/0.1164, allocations: 141.8 kB / 429.7 MB, free: 0 / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.183e-05/0.1165, allocations: 89.12 kB / 429.7 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/0.1165, allocations: 4.062 kB / 429.7 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.246e-05/0.1166, allocations: 4 kB / 429.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.004e-05/0.1166, allocations: 7.984 kB / 429.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.365e-06/0.1166, allocations: 4 kB / 429.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.999e-05/0.1167, allocations: 95.2 kB / 429.9 MB, free: 15.78 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1167, allocations: 3.938 kB / 429.9 MB, free: 15.78 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004393/0.1171, allocations: 131.5 kB / 430 MB, free: 15.65 MB / 366.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.001121/0.1182, allocations: 0.8722 MB / 430.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001973/0.1184, allocations: 43.91 kB / 430.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1184, allocations: 4 kB / 430.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.799e-05/0.1185, allocations: 32.05 kB / 430.9 MB, free: 14.68 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001879/0.1187, allocations: 16 kB / 431 MB, free: 14.66 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001762/0.1205, allocations: 1.522 MB / 432.5 MB, free: 13.03 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000325/0.1208, allocations: 0.6846 MB / 433.2 MB, free: 12.32 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.842e-05/0.1209, allocations: 27.59 kB / 433.2 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.166e-05/0.1209, allocations: 27.42 kB / 433.2 MB, free: 12.27 MB / 366.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1209, allocations: 0 / 433.2 MB, free: 12.27 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02872/0.1496, allocations: 4.408 MB / 437.6 MB, free: 8.027 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.24/8.389, allocations: 19.75 kB / 437.6 MB, free: 8.008 MB / 366.1 MB " [Timeout remaining time 652] (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: 11.031129208859056] Failed to read output from testmodel.py, exit status != 0: ['time', 'h1', 's1'] 8.459935161750764 8.671816701000001 8.558701027 Calling exit ...