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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 107.3 kB / 16.92 MB, free: 5.77 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 191.3 kB / 17.85 MB, free: 5.168 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 222.9 MB / 241.5 MB, free: 15.29 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009969/0.000997, allocations: 49.36 kB / 300.7 MB, free: 5.797 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0943/0.09531, allocations: 49.44 MB / 350.2 MB, free: 4.344 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002683/0.09804, allocations: 1.357 MB / 351.5 MB, free: 2.969 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005037/0.1031, allocations: 3.983 MB / 355.5 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.944e-05/0.1032, allocations: 0 / 355.5 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.425e-05/0.1032, allocations: 3.984 kB / 355.5 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001065/0.1043, allocations: 279 kB / 355.8 MB, free: 14.68 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001098/0.1054, allocations: 499.5 kB / 356.3 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.479e-05/0.1055, allocations: 55.72 kB / 356.3 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.621e-05/0.1056, allocations: 7.938 kB / 356.3 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.1057, allocations: 35.84 kB / 356.4 MB, free: 14.1 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000661/0.1064, allocations: 363.2 kB / 356.7 MB, free: 13.75 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.411e-05/0.1064, allocations: 0 / 356.7 MB, free: 13.75 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009606/0.1074, allocations: 0.5498 MB / 357.3 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.72e-05/0.1074, allocations: 15.97 kB / 357.3 MB, free: 13.18 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.556e-05/0.1074, allocations: 19.88 kB / 357.3 MB, free: 13.16 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008384/0.1083, allocations: 451.1 kB / 357.7 MB, free: 12.72 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.1083, allocations: 0 / 357.7 MB, free: 12.72 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1083, allocations: 0 / 357.7 MB, free: 12.72 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.523e-06/0.1083, allocations: 4 kB / 357.7 MB, free: 12.71 MB / 302.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.0005246/0.1088, allocations: 439.1 kB / 358.2 MB, free: 12.24 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.1089, allocations: 8.031 kB / 358.2 MB, free: 12.23 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.163e-05/0.1089, allocations: 34.73 kB / 358.2 MB, free: 12.19 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.491e-05/0.109, allocations: 4.938 kB / 358.2 MB, free: 12.18 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002201/0.1092, allocations: 192.2 kB / 358.4 MB, free: 11.96 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.1092, allocations: 8.125 kB / 358.4 MB, free: 11.95 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.087e-05/0.1093, allocations: 7.938 kB / 358.4 MB, free: 11.94 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001467/0.1094, allocations: 63.38 kB / 358.5 MB, free: 11.87 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.1094, allocations: 0 / 358.5 MB, free: 11.87 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.1094, allocations: 3.938 kB / 358.5 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.1094, allocations: 0 / 358.5 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.397e-05/0.1095, allocations: 23.98 kB / 358.5 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001848/0.1097, allocations: 170.6 kB / 358.7 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002848/0.11, allocations: 81.06 kB / 358.8 MB, free: 11.52 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.036e-05/0.1101, allocations: 21.78 kB / 358.8 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001024/0.1111, allocations: 1.544 MB / 360.3 MB, free: 9.602 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/0.1112, allocations: 30.56 kB / 360.3 MB, free: 9.562 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.1112, allocations: 0 / 360.3 MB, free: 9.562 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002891/0.1115, allocations: 89.44 kB / 360.4 MB, free: 9.469 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.836e-05/0.1115, allocations: 77.11 kB / 360.5 MB, free: 9.375 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.925e-05/0.1116, allocations: 121.8 kB / 360.6 MB, free: 9.246 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.257e-05/0.1116, allocations: 25.7 kB / 360.7 MB, free: 9.215 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.155e-05/0.1117, allocations: 84.14 kB / 360.7 MB, free: 9.129 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/0.1117, allocations: 19.7 kB / 360.8 MB, free: 9.109 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.861e-05/0.1118, allocations: 21.72 kB / 360.8 MB, free: 9.082 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.1119, allocations: 318.8 kB / 361.1 MB, free: 8.762 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.161e-05/0.1119, allocations: 19.92 kB / 361.1 MB, free: 8.742 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.576e-05/0.112, allocations: 39.42 kB / 361.1 MB, free: 8.691 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001341/0.1122, allocations: 59.36 kB / 361.2 MB, free: 8.621 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.1122, allocations: 3.938 kB / 361.2 MB, free: 8.617 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001879/0.1124, allocations: 81.94 kB / 361.3 MB, free: 8.531 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.1124, allocations: 8.062 kB / 361.3 MB, free: 8.523 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.1124, allocations: 0 / 361.3 MB, free: 8.523 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.1124, allocations: 4 kB / 361.3 MB, free: 8.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.998e-05/0.1125, allocations: 16.03 kB / 361.3 MB, free: 8.504 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.1125, allocations: 3.938 kB / 361.3 MB, free: 8.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.951e-05/0.1126, allocations: 15.92 kB / 361.3 MB, free: 8.484 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.243e-05/0.1126, allocations: 3.984 kB / 361.3 MB, free: 8.48 MB / 302.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 7.173e-05/0.1127, allocations: 113.8 kB / 361.5 MB, free: 8.359 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.93e-05/0.1127, allocations: 8 kB / 361.5 MB, free: 8.352 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000365/0.1131, allocations: 124.9 kB / 361.6 MB, free: 8.227 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/0.1131, allocations: 4 kB / 361.6 MB, free: 8.223 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.1131, allocations: 3.938 kB / 361.6 MB, free: 8.219 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.1131, allocations: 0 / 361.6 MB, free: 8.219 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001345/0.1132, allocations: 173.6 kB / 361.8 MB, free: 8 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.1132, allocations: 0 / 361.8 MB, free: 8 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.141e-05/0.1133, allocations: 19.92 kB / 361.8 MB, free: 7.98 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.1133, allocations: 4 kB / 361.8 MB, free: 7.977 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.968e-06/0.1134, allocations: 0 / 361.8 MB, free: 7.977 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1134, allocations: 0 / 361.8 MB, free: 7.977 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.1134, allocations: 4 kB / 361.8 MB, free: 7.973 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003041/0.1137, allocations: 145.8 kB / 361.9 MB, free: 7.809 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.107e-05/0.1138, allocations: 89.14 kB / 362 MB, free: 7.703 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.036e-05/0.1138, allocations: 3.984 kB / 362 MB, free: 7.699 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.433e-05/0.1138, allocations: 8 kB / 362 MB, free: 7.691 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.638e-05/0.1139, allocations: 4 kB / 362 MB, free: 7.688 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.1139, allocations: 3.984 kB / 362 MB, free: 7.684 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.883e-05/0.114, allocations: 95.75 kB / 362.1 MB, free: 7.59 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.114, allocations: 3.938 kB / 362.1 MB, free: 7.586 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004836/0.1145, allocations: 131.9 kB / 362.3 MB, free: 7.457 MB / 302.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.001116/0.1156, allocations: 0.8688 MB / 363.1 MB, free: 6.566 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000198/0.1158, allocations: 47.91 kB / 363.2 MB, free: 6.52 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1158, allocations: 4.125 kB / 363.2 MB, free: 6.516 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.843e-05/0.1159, allocations: 27.92 kB / 363.2 MB, free: 6.488 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002001/0.1161, allocations: 19.94 kB / 363.2 MB, free: 6.469 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001612/0.1177, allocations: 1.507 MB / 364.7 MB, free: 4.852 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002377/0.118, allocations: 0.6961 MB / 365.4 MB, free: 4.129 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.696e-05/0.1181, allocations: 22.59 kB / 365.5 MB, free: 4.109 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.311e-05/0.1181, allocations: 35.36 kB / 365.5 MB, free: 4.074 MB / 302.1 MB Notification: Performance of SimCode: time 3e-07/0.1181, allocations: 0 / 365.5 MB, free: 4.074 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9494/1.068, allocations: 4.337 MB / 369.8 MB, free: 25.98 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.513/10.58, allocations: 4.812 kB / 369.8 MB, free: 25.98 MB / 302.1 MB (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.0004 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)