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.001201/0.001201, allocations: 114 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001247/0.001247, allocations: 213.8 kB / 18.27 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.201/1.201, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 59.94 kB / 306.5 MB, free: 0.8711 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08259/0.08387, allocations: 50.54 MB / 357.1 MB, free: 14.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.001933/0.08583, allocations: 1.432 MB / 358.5 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003911/0.08976, allocations: 4.013 MB / 362.5 MB, free: 8.855 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.297e-05/0.08979, allocations: 0 / 362.5 MB, free: 8.855 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.866e-05/0.08982, allocations: 3.984 kB / 362.5 MB, free: 8.852 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007493/0.09058, allocations: 255.2 kB / 362.8 MB, free: 8.602 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008732/0.09146, allocations: 462.7 kB / 363.2 MB, free: 8.152 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.379e-05/0.09155, allocations: 59.67 kB / 363.3 MB, free: 8.094 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.309e-05/0.09159, allocations: 11.92 kB / 363.3 MB, free: 8.082 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.003e-05/0.09167, allocations: 35.86 kB / 363.3 MB, free: 8.047 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005827/0.09226, allocations: 411.1 kB / 363.7 MB, free: 7.645 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.057e-06/0.09228, allocations: 0 / 363.7 MB, free: 7.645 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007509/0.09304, allocations: 0.5653 MB / 364.3 MB, free: 7.078 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.303e-05/0.09306, allocations: 11.97 kB / 364.3 MB, free: 7.066 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.724e-05/0.0931, allocations: 23.88 kB / 364.3 MB, free: 7.043 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005708/0.09367, allocations: 459.1 kB / 364.8 MB, free: 6.594 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.604e-06/0.09368, allocations: 0 / 364.8 MB, free: 6.594 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.09369, allocations: 4 kB / 364.8 MB, free: 6.59 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.967e-06/0.0937, allocations: 0 / 364.8 MB, free: 6.59 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.0004436/0.09415, allocations: 447.1 kB / 365.2 MB, free: 6.105 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.067e-05/0.09418, allocations: 8.031 kB / 365.2 MB, free: 6.098 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.781e-05/0.09422, allocations: 34.75 kB / 365.3 MB, free: 6.055 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.689e-05/0.09425, allocations: 4.938 kB / 365.3 MB, free: 6.051 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001621/0.09442, allocations: 192.2 kB / 365.5 MB, free: 5.824 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.09444, allocations: 8.125 kB / 365.5 MB, free: 5.816 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.441e-05/0.09446, allocations: 4 kB / 365.5 MB, free: 5.812 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/0.09459, allocations: 67.31 kB / 365.5 MB, free: 5.734 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.901e-06/0.09461, allocations: 0 / 365.5 MB, free: 5.734 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.09462, allocations: 4 kB / 365.5 MB, free: 5.73 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.496e-06/0.09463, allocations: 0 / 365.5 MB, free: 5.73 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.33e-05/0.0947, allocations: 15.98 kB / 365.6 MB, free: 5.715 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001492/0.09486, allocations: 174.6 kB / 365.7 MB, free: 5.492 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002307/0.0951, allocations: 85.12 kB / 365.8 MB, free: 5.391 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.683e-05/0.09517, allocations: 25.7 kB / 365.8 MB, free: 5.359 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008386/0.09601, allocations: 1.54 MB / 367.4 MB, free: 3.469 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.09605, allocations: 34.56 kB / 367.4 MB, free: 3.426 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.09605, allocations: 0 / 367.4 MB, free: 3.426 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002436/0.0963, allocations: 89.48 kB / 367.5 MB, free: 3.332 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/0.09634, allocations: 77.11 kB / 367.6 MB, free: 3.238 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.266e-05/0.09642, allocations: 113.8 kB / 367.7 MB, free: 3.117 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.09645, allocations: 29.7 kB / 367.7 MB, free: 3.082 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.129e-05/0.09648, allocations: 84.14 kB / 367.8 MB, free: 2.996 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.636e-05/0.09651, allocations: 19.72 kB / 367.8 MB, free: 2.977 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.124e-05/0.09656, allocations: 25.7 kB / 367.8 MB, free: 2.945 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.567e-05/0.09665, allocations: 310.8 kB / 368.1 MB, free: 2.633 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.364e-05/0.09671, allocations: 15.98 kB / 368.2 MB, free: 2.617 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.168e-05/0.09678, allocations: 47.36 kB / 368.2 MB, free: 2.559 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001108/0.0969, allocations: 55.36 kB / 368.3 MB, free: 2.492 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/0.09691, allocations: 3.938 kB / 368.3 MB, free: 2.488 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001698/0.09708, allocations: 89.86 kB / 368.4 MB, free: 2.395 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.0971, allocations: 8.062 kB / 368.4 MB, free: 2.387 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.09711, allocations: 0 / 368.4 MB, free: 2.387 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.09712, allocations: 4 kB / 368.4 MB, free: 2.383 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.369e-05/0.09719, allocations: 23.97 kB / 368.4 MB, free: 2.359 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.0972, allocations: 480 / 368.4 MB, free: 2.359 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.313e-05/0.09725, allocations: 11.92 kB / 368.4 MB, free: 2.348 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.09727, allocations: 4 kB / 368.4 MB, free: 2.344 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.572e-05/0.09734, allocations: 117.7 kB / 368.5 MB, free: 2.219 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.542e-05/0.09736, allocations: 4 kB / 368.5 MB, free: 2.215 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002674/0.09763, allocations: 121 kB / 368.6 MB, free: 2.094 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.09765, allocations: 7.984 kB / 368.6 MB, free: 2.086 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.09766, allocations: 0 / 368.6 MB, free: 2.086 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.09766, allocations: 0 / 368.6 MB, free: 2.086 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001179/0.09778, allocations: 177.6 kB / 368.8 MB, free: 1.863 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.09779, allocations: 3.938 kB / 368.8 MB, free: 1.859 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.178e-05/0.09787, allocations: 20 kB / 368.8 MB, free: 1.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.09788, allocations: 0 / 368.8 MB, free: 1.84 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.09789, allocations: 0 / 368.8 MB, free: 1.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.0979, allocations: 7.984 kB / 368.9 MB, free: 1.832 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.0979, allocations: 0 / 368.9 MB, free: 1.832 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000246/0.09815, allocations: 141.8 kB / 369 MB, free: 1.672 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.403e-05/0.09821, allocations: 89.12 kB / 369.1 MB, free: 1.566 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/0.09823, allocations: 15.94 kB / 369.1 MB, free: 1.551 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.672e-05/0.09827, allocations: 0 / 369.1 MB, free: 1.551 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.742e-05/0.09831, allocations: 7.984 kB / 369.1 MB, free: 1.543 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.641e-06/0.09832, allocations: 0 / 369.1 MB, free: 1.543 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.967e-05/0.09837, allocations: 91.27 kB / 369.2 MB, free: 1.453 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09837, allocations: 0 / 369.2 MB, free: 1.453 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003411/0.09872, allocations: 127.9 kB / 369.3 MB, free: 1.328 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.0008664/0.09959, allocations: 0.8726 MB / 370.2 MB, free: 440 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001604/0.09976, allocations: 55.91 kB / 370.2 MB, free: 384 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.09977, allocations: 0 / 370.2 MB, free: 384 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.115e-05/0.09986, allocations: 32.11 kB / 370.3 MB, free: 352 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001617/0.1, allocations: 7.984 kB / 370.3 MB, free: 344 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1079/0.208, allocations: 1.5 MB / 371.8 MB, free: 19.37 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.575e-05/0.2081, allocations: 0.6927 MB / 372.5 MB, free: 18.68 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.556e-05/0.2082, allocations: 28.56 kB / 372.5 MB, free: 18.68 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.859e-05/0.2082, allocations: 31.67 kB / 372.5 MB, free: 18.67 MB / 302.1 MB Notification: Performance of SimCode: time 6.01e-07/0.2083, allocations: 0 / 372.5 MB, free: 18.67 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7417/0.95, allocations: 4.292 MB / 376.8 MB, free: 18.18 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000171/0.9502, allocations: 290 kB / 377.1 MB, free: 17.8 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.917/2.867, allocations: 0 / 377.1 MB, free: 17.8 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