Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_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.Inverse_sh_T,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_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.0009154/0.0009153, allocations: 97.17 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001025/0.001025, allocations: 204.3 kB / 17.9 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.39/1.39, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002523/0.0002524, allocations: 4 kB / 306.7 MB, free: 1.273 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.11, allocations: 51.49 MB / 358.2 MB, free: 13.79 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.001558/0.1116, allocations: 1.049 MB / 359.2 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.3794/0.4911, allocations: 125.8 MB / 485 MB, free: 13.65 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.16e-05/0.4912, allocations: 3.938 kB / 485 MB, free: 13.65 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.033e-05/0.4912, allocations: 3.938 kB / 485 MB, free: 13.64 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009179/0.4922, allocations: 199.4 kB / 485.2 MB, free: 13.45 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008966/0.4931, allocations: 279 kB / 485.5 MB, free: 13.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 9.726e-05/0.4932, allocations: 43.92 kB / 485.5 MB, free: 13.14 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.206e-05/0.4932, allocations: 0 / 485.5 MB, free: 13.14 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.933e-05/0.4933, allocations: 23.92 kB / 485.6 MB, free: 13.11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.327e-05/0.4934, allocations: 31.89 kB / 485.6 MB, free: 13.08 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.29e-05/0.4934, allocations: 0 / 485.6 MB, free: 13.08 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001272/0.4947, allocations: 499.3 kB / 486.1 MB, free: 12.59 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.774e-05/0.4947, allocations: 11.98 kB / 486.1 MB, free: 12.58 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.765e-05/0.4947, allocations: 29.7 kB / 486.1 MB, free: 12.55 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006251/0.4954, allocations: 280.8 kB / 486.4 MB, free: 12.28 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.4954, allocations: 0 / 486.4 MB, free: 12.28 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4954, allocations: 0 / 486.4 MB, free: 12.28 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.4954, allocations: 0 / 486.4 MB, free: 12.28 MB / 398.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.0005803/0.496, allocations: 415.9 kB / 486.8 MB, free: 11.82 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.884e-05/0.4961, allocations: 8.031 kB / 486.8 MB, free: 11.82 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.847e-05/0.4961, allocations: 38.5 kB / 486.8 MB, free: 11.77 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001356/0.4975, allocations: 112.5 kB / 487 MB, free: 11.66 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002799/0.4978, allocations: 222.9 kB / 487.2 MB, free: 11.4 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.4978, allocations: 0 / 487.2 MB, free: 11.4 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.235e-05/0.4978, allocations: 8 kB / 487.2 MB, free: 11.39 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002214/0.4981, allocations: 91.27 kB / 487.3 MB, free: 11.3 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.4981, allocations: 3.984 kB / 487.3 MB, free: 11.29 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.732e-05/0.4981, allocations: 4 kB / 487.3 MB, free: 11.29 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.4981, allocations: 4 kB / 487.3 MB, free: 11.29 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001699/0.4983, allocations: 43.89 kB / 487.3 MB, free: 11.24 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002838/0.4986, allocations: 210.8 kB / 487.5 MB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004567/0.4991, allocations: 125.3 kB / 487.7 MB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000693/0.4998, allocations: 0.9778 MB / 488.6 MB, free: 9.645 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.4998, allocations: 34.56 kB / 488.7 MB, free: 9.602 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.4998, allocations: 0 / 488.7 MB, free: 9.602 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004657/0.5003, allocations: 133.5 kB / 488.8 MB, free: 9.465 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.891e-05/0.5003, allocations: 77.11 kB / 488.9 MB, free: 9.371 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002337/0.5006, allocations: 157.8 kB / 489 MB, free: 9.207 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.725e-05/0.5006, allocations: 25.7 kB / 489.1 MB, free: 9.176 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.455e-05/0.5007, allocations: 88.12 kB / 489.1 MB, free: 9.086 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.802e-05/0.5007, allocations: 19.66 kB / 489.2 MB, free: 9.066 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.054e-05/0.5007, allocations: 4 kB / 489.2 MB, free: 9.062 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.5009, allocations: 314.8 kB / 489.5 MB, free: 8.746 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.821e-05/0.501, allocations: 31.98 kB / 489.5 MB, free: 8.715 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001134/0.5011, allocations: 63.27 kB / 489.6 MB, free: 8.641 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000105/0.5012, allocations: 27.97 kB / 489.6 MB, free: 8.613 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.5012, allocations: 4 kB / 489.6 MB, free: 8.609 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003085/0.5015, allocations: 121.4 kB / 489.7 MB, free: 8.484 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.5016, allocations: 4 kB / 489.7 MB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.5016, allocations: 0 / 489.7 MB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.5016, allocations: 7.938 kB / 489.7 MB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/0.5017, allocations: 27.91 kB / 489.8 MB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.5018, allocations: 4 kB / 489.8 MB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001748/0.5019, allocations: 7.984 kB / 489.8 MB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.495e-05/0.502, allocations: 8 kB / 489.8 MB, free: 8.426 MB / 398.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 0.0001171/0.5021, allocations: 117.9 kB / 489.9 MB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.511e-05/0.5021, allocations: 11.86 kB / 489.9 MB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00061/0.5028, allocations: 232.2 kB / 490.1 MB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.327e-05/0.5028, allocations: 8 kB / 490.1 MB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.5028, allocations: 0 / 490.1 MB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.5028, allocations: 0 / 490.1 MB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002602/0.5031, allocations: 215 kB / 490.3 MB, free: 7.793 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.5031, allocations: 3.938 kB / 490.3 MB, free: 7.789 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001708/0.5033, allocations: 19.97 kB / 490.4 MB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/0.5033, allocations: 3.953 kB / 490.4 MB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.811e-05/0.5033, allocations: 8 kB / 490.4 MB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.5033, allocations: 0 / 490.4 MB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.5033, allocations: 3.984 kB / 490.4 MB, free: 7.754 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004308/0.5038, allocations: 187.5 kB / 490.6 MB, free: 7.543 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.5039, allocations: 100.9 kB / 490.7 MB, free: 7.426 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.14e-05/0.5039, allocations: 0 / 490.7 MB, free: 7.426 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001604/0.5041, allocations: 5.75 kB / 490.7 MB, free: 7.422 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.078e-05/0.5041, allocations: 8.047 kB / 490.7 MB, free: 7.414 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.436e-05/0.5042, allocations: 11.98 kB / 490.7 MB, free: 7.402 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001531/0.5043, allocations: 131.2 kB / 490.8 MB, free: 7.273 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5043, allocations: 0 / 490.8 MB, free: 7.273 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000534/0.5049, allocations: 123.9 kB / 490.9 MB, free: 7.152 MB / 398.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 (8): * Single equations (assignments): 7 * 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.001494/0.5064, allocations: 1 MB / 491.9 MB, free: 6.121 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002616/0.5066, allocations: 75.88 kB / 492 MB, free: 6.047 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.5067, allocations: 4.125 kB / 492 MB, free: 6.043 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001181/0.5068, allocations: 39.91 kB / 492.1 MB, free: 6.004 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001796/0.507, allocations: 12 kB / 492.1 MB, free: 5.992 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001878/0.5089, allocations: 1.351 MB / 493.4 MB, free: 4.582 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002311/0.5091, allocations: 0.6887 MB / 494.1 MB, free: 3.867 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000572/0.5097, allocations: 431.1 kB / 494.5 MB, free: 3.445 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001681/0.5099, allocations: 51.31 kB / 494.6 MB, free: 3.395 MB / 398.1 MB Notification: Performance of SimCode: time 2.71e-07/0.5099, allocations: 0 / 494.6 MB, free: 3.395 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02089/0.5308, allocations: 6.189 MB / 0.489 GB, free: 13.36 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002229/0.531, allocations: 225.1 kB / 0.4892 GB, free: 13.12 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.064/2.595, allocations: 0 / 0.4892 GB, free: 13.12 MB / 414.1 MB (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T.fmu > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat does not exist to compare? outputFormat=mat