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.001346/0.001345, allocations: 104.8 kB / 16.62 MB, free: 6.812 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.001189/0.001189, allocations: 189.8 kB / 17.55 MB, free: 5.953 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.303/1.303, allocations: 222.9 MB / 241.2 MB, free: 15.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001103/0.001103, allocations: 52.62 kB / 300.2 MB, free: 6.125 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08998/0.0911, allocations: 49.45 MB / 349.7 MB, free: 4.672 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002742/0.09388, allocations: 1.418 MB / 351.1 MB, free: 3.238 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005142/0.09905, allocations: 3.972 MB / 355.1 MB, free: 15.24 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.466e-05/0.09914, allocations: 0 / 355.1 MB, free: 15.24 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.854e-05/0.09918, allocations: 0 / 355.1 MB, free: 15.24 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001107/0.1003, allocations: 247.2 kB / 355.3 MB, free: 15 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001244/0.1016, allocations: 460 kB / 355.8 MB, free: 14.55 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.595e-05/0.1017, allocations: 63.7 kB / 355.8 MB, free: 14.49 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.769e-05/0.1017, allocations: 3.938 kB / 355.8 MB, free: 14.49 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001153/0.1019, allocations: 39.86 kB / 355.9 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006973/0.1026, allocations: 419.1 kB / 356.3 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.152e-05/0.1026, allocations: 0 / 356.3 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008922/0.1035, allocations: 0.5614 MB / 356.8 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.619e-05/0.1035, allocations: 8 kB / 356.8 MB, free: 13.47 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.806e-05/0.1036, allocations: 23.86 kB / 356.9 MB, free: 13.45 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008036/0.1044, allocations: 451.1 kB / 357.3 MB, free: 13 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.1044, allocations: 3.938 kB / 357.3 MB, free: 13 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1044, allocations: 0 / 357.3 MB, free: 13 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.523e-06/0.1044, allocations: 4 kB / 357.3 MB, free: 13 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.000583/0.105, allocations: 439.2 kB / 357.7 MB, free: 12.52 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.105, allocations: 8.031 kB / 357.8 MB, free: 12.51 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.866e-05/0.1051, allocations: 34.75 kB / 357.8 MB, free: 12.47 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.45e-05/0.1051, allocations: 8.938 kB / 357.8 MB, free: 12.46 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000198/0.1053, allocations: 192.2 kB / 358 MB, free: 12.23 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.1054, allocations: 8.109 kB / 358 MB, free: 12.23 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.838e-05/0.1054, allocations: 4 kB / 358 MB, free: 12.22 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001609/0.1056, allocations: 67.28 kB / 358.1 MB, free: 12.14 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.1056, allocations: 7.984 kB / 358.1 MB, free: 12.14 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.1056, allocations: 0 / 358.1 MB, free: 12.14 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.1056, allocations: 0 / 358.1 MB, free: 12.14 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.319e-05/0.1057, allocations: 19.98 kB / 358.1 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001692/0.1059, allocations: 162.5 kB / 358.2 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002683/0.1061, allocations: 93.12 kB / 358.3 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.571e-05/0.1062, allocations: 21.78 kB / 358.4 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009433/0.1072, allocations: 1.544 MB / 359.9 MB, free: 9.875 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.1072, allocations: 38.56 kB / 359.9 MB, free: 9.828 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.293e-06/0.1072, allocations: 0 / 359.9 MB, free: 9.828 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002908/0.1075, allocations: 89.44 kB / 360 MB, free: 9.734 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.463e-05/0.1076, allocations: 77.11 kB / 360.1 MB, free: 9.641 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.15e-05/0.1077, allocations: 113.8 kB / 360.2 MB, free: 9.52 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/0.1077, allocations: 29.7 kB / 360.2 MB, free: 9.484 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.212e-05/0.1077, allocations: 80.14 kB / 360.3 MB, free: 9.402 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.535e-05/0.1078, allocations: 23.7 kB / 360.3 MB, free: 9.379 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.665e-05/0.1078, allocations: 21.72 kB / 360.4 MB, free: 9.352 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.1079, allocations: 322.8 kB / 360.7 MB, free: 9.027 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.819e-05/0.108, allocations: 11.98 kB / 360.7 MB, free: 9.016 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.419e-05/0.108, allocations: 35.42 kB / 360.7 MB, free: 8.969 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001287/0.1082, allocations: 59.36 kB / 360.8 MB, free: 8.898 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.1082, allocations: 7.938 kB / 360.8 MB, free: 8.891 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001923/0.1084, allocations: 81.52 kB / 360.9 MB, free: 8.805 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.1084, allocations: 8 kB / 360.9 MB, free: 8.797 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.1084, allocations: 0 / 360.9 MB, free: 8.797 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.1084, allocations: 0 / 360.9 MB, free: 8.797 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.079e-05/0.1085, allocations: 23.92 kB / 360.9 MB, free: 8.773 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.1085, allocations: 4.062 kB / 360.9 MB, free: 8.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.658e-05/0.1086, allocations: 7.938 kB / 360.9 MB, free: 8.762 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.1086, allocations: 0 / 360.9 MB, free: 8.762 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.337e-05/0.1087, allocations: 121.8 kB / 361 MB, free: 8.633 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.831e-05/0.1087, allocations: 4 kB / 361 MB, free: 8.629 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003726/0.1091, allocations: 121.1 kB / 361.2 MB, free: 8.508 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.69e-06/0.1091, allocations: 0 / 361.2 MB, free: 8.508 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.1091, allocations: 4 kB / 361.2 MB, free: 8.504 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.1091, allocations: 8.016 kB / 361.2 MB, free: 8.496 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001329/0.1093, allocations: 177.6 kB / 361.3 MB, free: 8.273 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/0.1093, allocations: 4 kB / 361.3 MB, free: 8.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.917e-05/0.1094, allocations: 19.92 kB / 361.4 MB, free: 8.25 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.1094, allocations: 4 kB / 361.4 MB, free: 8.246 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.1094, allocations: 0 / 361.4 MB, free: 8.246 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.1094, allocations: 0 / 361.4 MB, free: 8.246 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1094, allocations: 4 kB / 361.4 MB, free: 8.242 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003118/0.1097, allocations: 137.8 kB / 361.5 MB, free: 8.086 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.236e-05/0.1098, allocations: 93.06 kB / 361.6 MB, free: 7.977 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.466e-05/0.1098, allocations: 3.984 kB / 361.6 MB, free: 7.973 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.276e-05/0.1099, allocations: 7.938 kB / 361.6 MB, free: 7.965 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.479e-05/0.1099, allocations: 4.062 kB / 361.6 MB, free: 7.961 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.1099, allocations: 11.98 kB / 361.6 MB, free: 7.949 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.755e-05/0.11, allocations: 83.28 kB / 361.7 MB, free: 7.867 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.11, allocations: 3.938 kB / 361.7 MB, free: 7.863 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005071/0.1105, allocations: 135.9 kB / 361.8 MB, free: 7.73 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.001194/0.1117, allocations: 0.8626 MB / 362.7 MB, free: 6.844 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002214/0.112, allocations: 59.88 kB / 362.8 MB, free: 6.785 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.112, allocations: 0 / 362.8 MB, free: 6.785 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.719e-05/0.1121, allocations: 23.98 kB / 362.8 MB, free: 6.762 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002014/0.1123, allocations: 12 kB / 362.8 MB, free: 6.75 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001602/0.1139, allocations: 1.51 MB / 364.3 MB, free: 5.133 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002326/0.1141, allocations: 0.6961 MB / 365 MB, free: 4.41 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.941e-05/0.1142, allocations: 31.23 kB / 365 MB, free: 4.383 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.317e-05/0.1143, allocations: 27.41 kB / 365.1 MB, free: 4.355 MB / 302.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1143, allocations: 0 / 365.1 MB, free: 4.355 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01553/0.1298, allocations: 4.252 MB / 369.3 MB, free: 296 kB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.1574/0.2873, allocations: 279.4 kB / 369.6 MB, free: 28.36 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.839/2.126, allocations: 0.875 kB / 369.6 MB, free: 28.36 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