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.0008272/0.0008275, allocations: 85.95 kB / 16.31 MB, free: 6.449 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.0009895/0.0009896, allocations: 183.2 kB / 17.21 MB, free: 6.316 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.37/1.37, allocations: 223.2 MB / 241.2 MB, free: 5.305 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002621/0.0002623, allocations: 7.859 kB / 300.9 MB, free: 5.574 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1022, allocations: 50.43 MB / 351.3 MB, free: 11.42 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.001501/0.1038, allocations: 1.066 MB / 352.4 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004754/0.1085, allocations: 3.705 MB / 356.1 MB, free: 6.613 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.932e-05/0.1086, allocations: 0 / 356.1 MB, free: 6.613 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.391e-05/0.1086, allocations: 3.938 kB / 356.1 MB, free: 6.609 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008901/0.1095, allocations: 243.2 kB / 356.3 MB, free: 6.371 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008115/0.1103, allocations: 378.1 kB / 356.7 MB, free: 6.004 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.971e-05/0.1104, allocations: 51.72 kB / 356.8 MB, free: 5.953 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.771e-05/0.1105, allocations: 7.938 kB / 356.8 MB, free: 5.945 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.722e-05/0.1106, allocations: 35.84 kB / 356.8 MB, free: 5.91 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000845/0.1114, allocations: 383.5 kB / 357.2 MB, free: 5.535 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.102e-05/0.1114, allocations: 7.938 kB / 357.2 MB, free: 5.527 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007305/0.1122, allocations: 408 kB / 357.6 MB, free: 5.129 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.765e-05/0.1122, allocations: 15.97 kB / 357.6 MB, free: 5.113 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.361e-05/0.1122, allocations: 29.7 kB / 357.6 MB, free: 5.074 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003989/0.1126, allocations: 251.6 kB / 357.9 MB, free: 4.828 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1127, allocations: 0 / 357.9 MB, free: 4.828 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1127, allocations: 0 / 357.9 MB, free: 4.828 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.1127, allocations: 0 / 357.9 MB, free: 4.828 MB / 286.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.0007138/0.1134, allocations: 446.9 kB / 358.3 MB, free: 4.344 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.1134, allocations: 8.031 kB / 358.3 MB, free: 4.336 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.531e-05/0.1135, allocations: 34.56 kB / 358.4 MB, free: 4.293 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.036e-05/0.1135, allocations: 7.906 kB / 358.4 MB, free: 4.285 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002362/0.1138, allocations: 187 kB / 358.6 MB, free: 4.062 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.1138, allocations: 0 / 358.6 MB, free: 4.062 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.146e-05/0.1138, allocations: 7.984 kB / 358.6 MB, free: 4.055 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.114, allocations: 63.39 kB / 358.6 MB, free: 3.98 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.114, allocations: 0 / 358.6 MB, free: 3.98 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.114, allocations: 11.89 kB / 358.6 MB, free: 3.969 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.114, allocations: 0 / 358.6 MB, free: 3.969 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.53e-05/0.1141, allocations: 19.97 kB / 358.7 MB, free: 3.949 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002135/0.1143, allocations: 174.5 kB / 358.8 MB, free: 3.727 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000276/0.1146, allocations: 81.12 kB / 358.9 MB, free: 3.629 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.028e-05/0.1147, allocations: 25.77 kB / 358.9 MB, free: 3.598 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001133/0.1158, allocations: 1.536 MB / 360.5 MB, free: 1.711 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/0.1159, allocations: 42.55 kB / 360.5 MB, free: 1.66 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.123e-06/0.1159, allocations: 0 / 360.5 MB, free: 1.66 MB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002565/0.1161, allocations: 81.59 kB / 360.6 MB, free: 1.574 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.386e-05/0.1162, allocations: 85.06 kB / 360.7 MB, free: 1.473 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.027e-05/0.1163, allocations: 105.8 kB / 360.8 MB, free: 1.359 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.327e-05/0.1163, allocations: 25.7 kB / 360.8 MB, free: 1.328 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.316e-05/0.1164, allocations: 88.14 kB / 360.9 MB, free: 1.238 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.408e-05/0.1164, allocations: 27.64 kB / 360.9 MB, free: 1.211 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-06/0.1164, allocations: 0 / 360.9 MB, free: 1.211 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.1165, allocations: 318.8 kB / 361.2 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.079e-05/0.1166, allocations: 19.86 kB / 361.2 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.106e-05/0.1167, allocations: 43.41 kB / 361.3 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.468e-05/0.1167, allocations: 12 kB / 361.3 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.1167, allocations: 0 / 361.3 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001744/0.1169, allocations: 93.5 kB / 361.4 MB, free: 0.707 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.1169, allocations: 6.031 kB / 361.4 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.1169, allocations: 480 / 361.4 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.117, allocations: 4 kB / 361.4 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.516e-05/0.117, allocations: 19.92 kB / 361.4 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.1171, allocations: 3.953 kB / 361.4 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.345e-05/0.1171, allocations: 4 kB / 361.4 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.268e-05/0.1171, allocations: 4 kB / 361.4 MB, free: 0.668 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.656e-05/0.1172, allocations: 113.9 kB / 361.5 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.186e-05/0.1172, allocations: 4 kB / 361.5 MB, free: 0.543 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003154/0.1175, allocations: 128 kB / 361.7 MB, free: 424 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.1176, allocations: 4 kB / 361.7 MB, free: 420 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/0.1176, allocations: 0 / 361.7 MB, free: 420 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.613e-05/0.1176, allocations: 3.953 kB / 361.7 MB, free: 416 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002007/0.1178, allocations: 173.7 kB / 361.8 MB, free: 192 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.1178, allocations: 4 kB / 361.8 MB, free: 188 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.411e-05/0.1179, allocations: 12 kB / 361.9 MB, free: 176 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.1179, allocations: 0 / 361.9 MB, free: 176 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.1179, allocations: 11.92 kB / 361.9 MB, free: 164 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.1179, allocations: 4 kB / 361.9 MB, free: 160 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.118, allocations: 0 / 361.9 MB, free: 160 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002733/0.1182, allocations: 141.8 kB / 362 MB, free: 15.99 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.721e-05/0.1183, allocations: 100.9 kB / 362.1 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.658e-05/0.1183, allocations: 0 / 362.1 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.787e-05/0.1184, allocations: 4 kB / 362.1 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.413e-05/0.1184, allocations: 7.984 kB / 362.1 MB, free: 15.87 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-06/0.1184, allocations: 4 kB / 362.1 MB, free: 15.86 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.485e-05/0.1185, allocations: 91.81 kB / 362.2 MB, free: 15.77 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1185, allocations: 0 / 362.2 MB, free: 15.77 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003925/0.1189, allocations: 123.9 kB / 362.3 MB, free: 15.65 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001038/0.1199, allocations: 0.8546 MB / 363.2 MB, free: 14.77 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001634/0.1201, allocations: 51.91 kB / 363.2 MB, free: 14.72 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.1201, allocations: 0 / 363.2 MB, free: 14.72 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.194e-05/0.1202, allocations: 27.92 kB / 363.3 MB, free: 14.7 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001947/0.1204, allocations: 15.98 kB / 363.3 MB, free: 14.68 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.1214, allocations: 0.7384 MB / 364 MB, free: 13.88 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003609/0.1218, allocations: 0.6848 MB / 364.7 MB, free: 13.17 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.266e-05/0.1219, allocations: 27.22 kB / 364.7 MB, free: 13.14 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.141e-05/0.1219, allocations: 35.36 kB / 364.8 MB, free: 13.11 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1219, allocations: 0 / 364.8 MB, free: 13.11 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01502/0.137, allocations: 4.042 MB / 368.8 MB, free: 9.254 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002117/0.1372, allocations: 274.1 kB / 369.1 MB, free: 8.902 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.005/2.142, allocations: 0 / 369.1 MB, free: 8.902 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/linux/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