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.001002/0.001002, allocations: 103.2 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001038/0.001038, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.244/1.244, allocations: 227.4 MB / 246.3 MB, free: 9.066 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 59.5 kB / 306.3 MB, free: 0.7383 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0875/0.08883, allocations: 50.54 MB / 356.9 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002208/0.09107, allocations: 1.436 MB / 358.3 MB, free: 12.76 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004663/0.09575, allocations: 4.099 MB / 362.4 MB, free: 8.637 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.978e-05/0.09581, allocations: 0 / 362.4 MB, free: 8.637 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.962e-05/0.09584, allocations: 3.984 kB / 362.4 MB, free: 8.633 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000808/0.09667, allocations: 243.2 kB / 362.7 MB, free: 8.395 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001012/0.09769, allocations: 442.5 kB / 363.1 MB, free: 7.965 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.371e-05/0.09778, allocations: 59.61 kB / 363.1 MB, free: 7.906 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.554e-05/0.09781, allocations: 0 / 363.1 MB, free: 7.906 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.509e-05/0.09791, allocations: 43.84 kB / 363.2 MB, free: 7.863 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006701/0.09859, allocations: 403.1 kB / 363.6 MB, free: 7.469 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.256e-05/0.09862, allocations: 0 / 363.6 MB, free: 7.469 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008788/0.0995, allocations: 0.5575 MB / 364.1 MB, free: 6.91 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.793e-05/0.09953, allocations: 15.98 kB / 364.2 MB, free: 6.895 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.978e-05/0.09957, allocations: 15.88 kB / 364.2 MB, free: 6.879 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007854/0.1004, allocations: 463.4 kB / 364.6 MB, free: 6.426 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.1004, allocations: 0 / 364.6 MB, free: 6.426 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.11e-07/0.1004, allocations: 0 / 364.6 MB, free: 6.426 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.1004, allocations: 0 / 364.6 MB, free: 6.426 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.0004652/0.1009, allocations: 447.1 kB / 365.1 MB, free: 5.941 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.052e-05/0.1009, allocations: 12.03 kB / 365.1 MB, free: 5.93 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.892e-05/0.1009, allocations: 38.73 kB / 365.1 MB, free: 5.883 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.787e-05/0.101, allocations: 4.938 kB / 365.1 MB, free: 5.879 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001713/0.1011, allocations: 192.2 kB / 365.3 MB, free: 5.652 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.1012, allocations: 4.125 kB / 365.3 MB, free: 5.648 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.319e-05/0.1012, allocations: 0 / 365.3 MB, free: 5.648 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/0.1013, allocations: 63.39 kB / 365.4 MB, free: 5.574 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.791e-06/0.1013, allocations: 0 / 365.4 MB, free: 5.574 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.1013, allocations: 4 kB / 365.4 MB, free: 5.57 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.1013, allocations: 0 / 365.4 MB, free: 5.57 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.298e-05/0.1014, allocations: 27.91 kB / 365.4 MB, free: 5.543 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001586/0.1016, allocations: 166.6 kB / 365.6 MB, free: 5.328 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002609/0.1019, allocations: 81.06 kB / 365.6 MB, free: 5.23 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.414e-05/0.1019, allocations: 25.77 kB / 365.7 MB, free: 5.199 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001202/0.1032, allocations: 1.54 MB / 367.2 MB, free: 3.309 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.1032, allocations: 38.55 kB / 367.2 MB, free: 3.262 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.1032, allocations: 0 / 367.2 MB, free: 3.262 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002893/0.1035, allocations: 81.5 kB / 367.3 MB, free: 3.176 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.03e-05/0.1036, allocations: 81.11 kB / 367.4 MB, free: 3.078 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.3e-05/0.1037, allocations: 113.8 kB / 367.5 MB, free: 2.957 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.1037, allocations: 29.7 kB / 367.5 MB, free: 2.922 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.585e-05/0.1037, allocations: 84.12 kB / 367.6 MB, free: 2.836 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.573e-05/0.1038, allocations: 27.64 kB / 367.7 MB, free: 2.809 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-05/0.1038, allocations: 17.72 kB / 367.7 MB, free: 2.785 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.1039, allocations: 322.8 kB / 368 MB, free: 2.461 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.918e-05/0.104, allocations: 8 kB / 368 MB, free: 2.453 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.317e-05/0.1041, allocations: 39.42 kB / 368 MB, free: 2.402 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001299/0.1042, allocations: 63.67 kB / 368.1 MB, free: 2.328 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.1042, allocations: 3.938 kB / 368.1 MB, free: 2.324 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001966/0.1044, allocations: 93.42 kB / 368.2 MB, free: 2.227 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.1045, allocations: 12.06 kB / 368.2 MB, free: 2.215 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.1045, allocations: 3.938 kB / 368.2 MB, free: 2.211 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.1045, allocations: 0 / 368.2 MB, free: 2.211 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.601e-05/0.1046, allocations: 15.98 kB / 368.2 MB, free: 2.195 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.1046, allocations: 4 kB / 368.2 MB, free: 2.191 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.623e-05/0.1046, allocations: 4 kB / 368.2 MB, free: 2.188 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.514e-05/0.1046, allocations: 4.469 kB / 368.2 MB, free: 2.184 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 8.032e-05/0.1047, allocations: 125.7 kB / 368.4 MB, free: 2.051 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.811e-05/0.1048, allocations: 8 kB / 368.4 MB, free: 2.043 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003384/0.1051, allocations: 124.7 kB / 368.5 MB, free: 1.918 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.032e-06/0.1051, allocations: 0 / 368.5 MB, free: 1.918 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.1051, allocations: 4 kB / 368.5 MB, free: 1.914 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.1051, allocations: 0 / 368.5 MB, free: 1.914 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001278/0.1053, allocations: 173.6 kB / 368.7 MB, free: 1.695 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.624e-06/0.1053, allocations: 0 / 368.7 MB, free: 1.695 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.463e-05/0.1054, allocations: 16 kB / 368.7 MB, free: 1.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.1054, allocations: 0 / 368.7 MB, free: 1.68 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.1054, allocations: 7.984 kB / 368.7 MB, free: 1.672 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.1054, allocations: 0 / 368.7 MB, free: 1.672 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1054, allocations: 0 / 368.7 MB, free: 1.672 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002599/0.1057, allocations: 149.7 kB / 368.8 MB, free: 1.504 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.536e-05/0.1057, allocations: 93.19 kB / 368.9 MB, free: 1.395 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.575e-05/0.1057, allocations: 0 / 368.9 MB, free: 1.395 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.787e-05/0.1058, allocations: 0 / 368.9 MB, free: 1.395 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.239e-05/0.1058, allocations: 7.984 kB / 368.9 MB, free: 1.387 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.355e-06/0.1058, allocations: 4 kB / 368.9 MB, free: 1.383 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.152e-05/0.1059, allocations: 91.27 kB / 369 MB, free: 1.293 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1059, allocations: 0 / 369 MB, free: 1.293 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003874/0.1063, allocations: 135.9 kB / 369.2 MB, free: 1.16 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.0009493/0.1072, allocations: 0.8687 MB / 370 MB, free: 272 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001678/0.1074, allocations: 43.91 kB / 370.1 MB, free: 228 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.1074, allocations: 4.125 kB / 370.1 MB, free: 224 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.986e-05/0.1075, allocations: 31.92 kB / 370.1 MB, free: 192 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001882/0.1077, allocations: 19.36 kB / 370.1 MB, free: 176 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1308/0.2385, allocations: 1.51 MB / 371.6 MB, free: 19.1 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.879e-05/0.2386, allocations: 0.6883 MB / 372.3 MB, free: 18.41 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.525e-05/0.2387, allocations: 29.34 kB / 372.3 MB, free: 18.41 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.006e-05/0.2388, allocations: 25.48 kB / 372.4 MB, free: 18.4 MB / 302.1 MB Notification: Performance of SimCode: time 9.12e-07/0.2388, allocations: 0 / 372.4 MB, free: 18.4 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.52/1.759, allocations: 4.224 MB / 376.6 MB, free: 17.92 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001641/1.759, allocations: 287.4 kB / 376.9 MB, free: 17.55 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.752/3.511, allocations: 0 / 376.9 MB, free: 17.55 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T.fmu > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.mat does not exist to compare? outputFormat=mat