Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001434/0.001434, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001582/0.001582, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.365/1.365, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001125/0.001125, allocations: 62.3 kB / 307 MB, free: 0.5391 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08737/0.08851, allocations: 50.54 MB / 357.6 MB, free: 14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002566/0.09112, allocations: 1.354 MB / 358.9 MB, free: 12.63 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005087/0.09623, allocations: 4.046 MB / 363 MB, free: 8.566 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.541e-05/0.0963, allocations: 0 / 363 MB, free: 8.566 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.287e-05/0.09633, allocations: 3.938 kB / 363 MB, free: 8.562 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00117/0.09753, allocations: 279 kB / 363.3 MB, free: 8.289 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001346/0.0989, allocations: 494.2 kB / 363.7 MB, free: 7.809 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001197/0.09903, allocations: 59.67 kB / 363.8 MB, free: 7.75 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.226e-05/0.09909, allocations: 11.92 kB / 363.8 MB, free: 7.738 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001382/0.09924, allocations: 31.86 kB / 363.8 MB, free: 7.707 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008037/0.1001, allocations: 371.2 kB / 364.2 MB, free: 7.344 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.1001, allocations: 0 / 364.2 MB, free: 7.344 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001092/0.1012, allocations: 0.5537 MB / 364.8 MB, free: 6.789 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.876e-05/0.1012, allocations: 7.984 kB / 364.8 MB, free: 6.781 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.01e-05/0.1013, allocations: 23.86 kB / 364.8 MB, free: 6.758 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008928/0.1022, allocations: 459.2 kB / 365.2 MB, free: 6.309 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.1022, allocations: 0 / 365.2 MB, free: 6.309 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1022, allocations: 0 / 365.2 MB, free: 6.309 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.1022, allocations: 0 / 365.2 MB, free: 6.309 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.0007853/0.103, allocations: 439.1 kB / 365.7 MB, free: 5.832 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.103, allocations: 12.03 kB / 365.7 MB, free: 5.82 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.131e-05/0.1031, allocations: 34.75 kB / 365.7 MB, free: 5.777 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.125e-05/0.1031, allocations: 4.938 kB / 365.7 MB, free: 5.773 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002335/0.1034, allocations: 192.1 kB / 365.9 MB, free: 5.547 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.1034, allocations: 8.125 kB / 365.9 MB, free: 5.539 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.185e-05/0.1034, allocations: 4 kB / 365.9 MB, free: 5.535 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.1036, allocations: 63.39 kB / 366 MB, free: 5.461 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.1036, allocations: 0 / 366 MB, free: 5.461 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.747e-06/0.1036, allocations: 0 / 366 MB, free: 5.461 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.1036, allocations: 4 kB / 366 MB, free: 5.457 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001095/0.1038, allocations: 19.91 kB / 366 MB, free: 5.438 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000192/0.104, allocations: 174.6 kB / 366.2 MB, free: 5.215 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002675/0.1042, allocations: 77.12 kB / 366.2 MB, free: 5.121 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.97e-05/0.1043, allocations: 33.69 kB / 366.3 MB, free: 5.082 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009718/0.1053, allocations: 1.544 MB / 367.8 MB, free: 3.188 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.1053, allocations: 38.55 kB / 367.9 MB, free: 3.141 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.1053, allocations: 0 / 367.9 MB, free: 3.141 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003035/0.1057, allocations: 81.5 kB / 367.9 MB, free: 3.055 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/0.1057, allocations: 81.11 kB / 368 MB, free: 2.957 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.995e-05/0.1058, allocations: 105.8 kB / 368.1 MB, free: 2.844 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.1058, allocations: 37.7 kB / 368.2 MB, free: 2.801 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.546e-05/0.1059, allocations: 80.14 kB / 368.2 MB, free: 2.719 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.594e-05/0.1059, allocations: 23.7 kB / 368.3 MB, free: 2.695 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.719e-05/0.106, allocations: 17.72 kB / 368.3 MB, free: 2.672 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.1061, allocations: 326.8 kB / 368.6 MB, free: 2.344 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.735e-05/0.1061, allocations: 4 kB / 368.6 MB, free: 2.34 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.996e-05/0.1062, allocations: 43.42 kB / 368.6 MB, free: 2.285 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001336/0.1064, allocations: 55.36 kB / 368.7 MB, free: 2.219 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.1064, allocations: 3.938 kB / 368.7 MB, free: 2.215 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001994/0.1066, allocations: 97.38 kB / 368.8 MB, free: 2.113 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.1066, allocations: 14.91 kB / 368.8 MB, free: 2.102 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.1066, allocations: 4.062 kB / 368.8 MB, free: 2.098 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.1066, allocations: 0 / 368.8 MB, free: 2.098 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.042e-05/0.1067, allocations: 15.98 kB / 368.8 MB, free: 2.082 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.1067, allocations: 4 kB / 368.8 MB, free: 2.078 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.459e-05/0.1068, allocations: 3.938 kB / 368.8 MB, free: 2.074 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.1068, allocations: 4 kB / 368.8 MB, free: 2.07 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.152e-05/0.1069, allocations: 121.7 kB / 369 MB, free: 1.941 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.88e-05/0.1069, allocations: 7.938 kB / 369 MB, free: 1.934 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003524/0.1072, allocations: 125.1 kB / 369.1 MB, free: 1.809 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.1073, allocations: 0 / 369.1 MB, free: 1.809 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.1073, allocations: 0 / 369.1 MB, free: 1.809 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.1073, allocations: 4.562 kB / 369.1 MB, free: 1.805 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001276/0.1074, allocations: 177.6 kB / 369.3 MB, free: 1.582 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.1074, allocations: 0 / 369.3 MB, free: 1.582 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.173e-05/0.1075, allocations: 12 kB / 369.3 MB, free: 1.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.1075, allocations: 4 kB / 369.3 MB, free: 1.566 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.1075, allocations: 11.98 kB / 369.3 MB, free: 1.555 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1076, allocations: 0 / 369.3 MB, free: 1.555 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1076, allocations: 0 / 369.3 MB, free: 1.555 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003057/0.1079, allocations: 145.7 kB / 369.4 MB, free: 1.391 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.242e-05/0.1079, allocations: 93.06 kB / 369.5 MB, free: 1.281 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.743e-05/0.108, allocations: 4.062 kB / 369.5 MB, free: 1.277 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.097e-05/0.108, allocations: 0 / 369.5 MB, free: 1.277 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.825e-05/0.108, allocations: 7.984 kB / 369.5 MB, free: 1.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.267e-06/0.1081, allocations: 4 kB / 369.5 MB, free: 1.266 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.042e-05/0.1081, allocations: 91.27 kB / 369.6 MB, free: 1.176 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1081, allocations: 0 / 369.6 MB, free: 1.176 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000434/0.1086, allocations: 131.9 kB / 369.8 MB, free: 1.047 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.001013/0.1096, allocations: 0.8773 MB / 370.6 MB, free: 148 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001868/0.1098, allocations: 47.98 kB / 370.7 MB, free: 100 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1098, allocations: 0 / 370.7 MB, free: 100 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.691e-05/0.1099, allocations: 32.05 kB / 370.7 MB, free: 68 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001893/0.1101, allocations: 19.97 kB / 370.7 MB, free: 48 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.144/0.2541, allocations: 1.483 MB / 372.2 MB, free: 19.19 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001008/0.2542, allocations: 0.6884 MB / 372.9 MB, free: 18.49 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.512e-05/0.2543, allocations: 29.7 kB / 372.9 MB, free: 18.49 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.591e-05/0.2544, allocations: 26.39 kB / 373 MB, free: 18.48 MB / 302.1 MB Notification: Performance of SimCode: time 7.21e-07/0.2544, allocations: 0 / 373 MB, free: 18.48 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02259/0.277, allocations: 4.412 MB / 377.4 MB, free: 17.78 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.324/7.601, allocations: 5.766 kB / 377.4 MB, free: 17.77 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T.fmu > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1)