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.00128/0.00128, allocations: 101.1 kB / 16.5 MB, free: 6.203 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.001346/0.001346, allocations: 198.1 kB / 17.43 MB, free: 5.844 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.274/1.274, allocations: 222.9 MB / 241.1 MB, free: 15.33 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009844/0.0009844, allocations: 51.3 kB / 300.1 MB, free: 6.176 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07845/0.07945, allocations: 49.44 MB / 349.5 MB, free: 4.734 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002289/0.08177, allocations: 1.418 MB / 350.9 MB, free: 3.301 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00457/0.08636, allocations: 4.058 MB / 355 MB, free: 15.22 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.302e-05/0.08641, allocations: 0 / 355 MB, free: 15.22 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.175e-05/0.08644, allocations: 3.984 kB / 355 MB, free: 15.21 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007839/0.08725, allocations: 243.2 kB / 355.2 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009167/0.08818, allocations: 434.9 kB / 355.6 MB, free: 14.55 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.267e-05/0.08826, allocations: 59.66 kB / 355.7 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.257e-05/0.0883, allocations: 4 kB / 355.7 MB, free: 14.49 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.724e-05/0.0884, allocations: 31.86 kB / 355.7 MB, free: 14.46 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006594/0.08907, allocations: 415.1 kB / 356.1 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.166e-05/0.08909, allocations: 0 / 356.1 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008452/0.08995, allocations: 0.5536 MB / 356.7 MB, free: 13.5 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.457e-05/0.08997, allocations: 8 kB / 356.7 MB, free: 13.49 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.162e-05/0.09001, allocations: 27.81 kB / 356.7 MB, free: 13.46 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006764/0.09069, allocations: 451.4 kB / 357.2 MB, free: 13.02 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.09071, allocations: 0 / 357.2 MB, free: 13.02 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.09071, allocations: 0 / 357.2 MB, free: 13.02 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.296e-06/0.09072, allocations: 0 / 357.2 MB, free: 13.02 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.0004599/0.09118, allocations: 447.1 kB / 357.6 MB, free: 12.54 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.09122, allocations: 8.031 kB / 357.6 MB, free: 12.53 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.095e-05/0.09126, allocations: 38.75 kB / 357.7 MB, free: 12.48 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.584e-05/0.09129, allocations: 0.9375 kB / 357.7 MB, free: 12.48 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001721/0.09147, allocations: 192.2 kB / 357.8 MB, free: 12.26 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.09149, allocations: 4.125 kB / 357.9 MB, free: 12.25 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.532e-05/0.09151, allocations: 4 kB / 357.9 MB, free: 12.25 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001284/0.09164, allocations: 63.39 kB / 357.9 MB, free: 12.18 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.782e-06/0.09166, allocations: 0 / 357.9 MB, free: 12.18 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.09167, allocations: 0 / 357.9 MB, free: 12.18 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.09168, allocations: 0 / 357.9 MB, free: 12.18 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.41e-05/0.09177, allocations: 23.92 kB / 357.9 MB, free: 12.15 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001614/0.09194, allocations: 174.6 kB / 358.1 MB, free: 11.93 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002473/0.0922, allocations: 85.06 kB / 358.2 MB, free: 11.83 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.207e-05/0.09227, allocations: 25.77 kB / 358.2 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008632/0.09314, allocations: 1.544 MB / 359.8 MB, free: 9.902 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.773e-05/0.09317, allocations: 30.56 kB / 359.8 MB, free: 9.863 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.442e-06/0.09317, allocations: 0 / 359.8 MB, free: 9.863 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002666/0.09345, allocations: 85.88 kB / 359.9 MB, free: 9.773 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/0.09349, allocations: 81.09 kB / 360 MB, free: 9.676 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.308e-05/0.09357, allocations: 113.8 kB / 360.1 MB, free: 9.555 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.0936, allocations: 29.7 kB / 360.1 MB, free: 9.52 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.078e-05/0.09363, allocations: 84.14 kB / 360.2 MB, free: 9.434 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.878e-05/0.09367, allocations: 19.66 kB / 360.2 MB, free: 9.414 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.725e-05/0.09372, allocations: 25.7 kB / 360.2 MB, free: 9.383 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.194e-05/0.09381, allocations: 314.8 kB / 360.5 MB, free: 9.066 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.568e-05/0.09387, allocations: 11.98 kB / 360.5 MB, free: 9.055 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.734e-05/0.09395, allocations: 47.36 kB / 360.6 MB, free: 8.996 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001245/0.09408, allocations: 59.41 kB / 360.6 MB, free: 8.926 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.09409, allocations: 3.938 kB / 360.6 MB, free: 8.922 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001805/0.09427, allocations: 93.44 kB / 360.7 MB, free: 8.824 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.0943, allocations: 8.062 kB / 360.7 MB, free: 8.816 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.09431, allocations: 3.938 kB / 360.8 MB, free: 8.812 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.09432, allocations: 4 kB / 360.8 MB, free: 8.809 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.54e-05/0.09439, allocations: 15.98 kB / 360.8 MB, free: 8.793 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.0944, allocations: 0 / 360.8 MB, free: 8.793 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.289e-05/0.09445, allocations: 4 kB / 360.8 MB, free: 8.789 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.09447, allocations: 4 kB / 360.8 MB, free: 8.785 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 6.285e-05/0.09454, allocations: 117.7 kB / 360.9 MB, free: 8.66 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.721e-05/0.09456, allocations: 4 kB / 360.9 MB, free: 8.656 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003045/0.09487, allocations: 124.6 kB / 361 MB, free: 8.531 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.09489, allocations: 4 kB / 361 MB, free: 8.527 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.0949, allocations: 3.984 kB / 361 MB, free: 8.523 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.0949, allocations: 0 / 361 MB, free: 8.523 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001169/0.09503, allocations: 173.6 kB / 361.2 MB, free: 8.305 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.09504, allocations: 3.984 kB / 361.2 MB, free: 8.301 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.464e-05/0.09512, allocations: 20 kB / 361.2 MB, free: 8.281 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.09513, allocations: 0 / 361.2 MB, free: 8.281 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.09514, allocations: 0 / 361.2 MB, free: 8.281 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.09515, allocations: 4 kB / 361.2 MB, free: 8.277 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.09515, allocations: 7.922 kB / 361.2 MB, free: 8.27 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000258/0.09542, allocations: 133.8 kB / 361.4 MB, free: 8.117 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.323e-05/0.09547, allocations: 93.19 kB / 361.5 MB, free: 8.008 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.0955, allocations: 7.938 kB / 361.5 MB, free: 8 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.753e-05/0.09554, allocations: 0 / 361.5 MB, free: 8 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.003e-05/0.09557, allocations: 7.984 kB / 361.5 MB, free: 7.992 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.09558, allocations: 0 / 361.5 MB, free: 7.992 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.353e-05/0.09563, allocations: 91.81 kB / 361.6 MB, free: 7.902 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09564, allocations: 0 / 361.6 MB, free: 7.902 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003747/0.09602, allocations: 135.9 kB / 361.7 MB, free: 7.77 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.0009498/0.09697, allocations: 0.8759 MB / 362.6 MB, free: 6.871 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001672/0.09715, allocations: 47.91 kB / 362.6 MB, free: 6.824 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.09716, allocations: 128 / 362.6 MB, free: 6.824 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.364e-05/0.09725, allocations: 40.2 kB / 362.7 MB, free: 6.785 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001751/0.09743, allocations: 11.98 kB / 362.7 MB, free: 6.773 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001422/0.09886, allocations: 1.505 MB / 364.2 MB, free: 5.156 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002015/0.09908, allocations: 0.6926 MB / 364.9 MB, free: 4.438 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.047e-05/0.09916, allocations: 29.47 kB / 364.9 MB, free: 4.414 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.482e-05/0.09921, allocations: 23.42 kB / 364.9 MB, free: 4.391 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.09921, allocations: 8 kB / 364.9 MB, free: 4.383 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8108/0.9101, allocations: 4.184 MB / 369.1 MB, free: 372 kB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.142/1.052, allocations: 287.1 kB / 369.4 MB, free: 27.97 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.619/3.671, allocations: 0 / 369.4 MB, free: 27.97 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.mat does not exist to compare? outputFormat=mat