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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.002204/0.002205, allocations: 201.8 kB / 8.767 MB, free: 288 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.681/1.681, allocations: 225.6 MB / 234.8 MB, free: 3.223 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001358/0.001358, allocations: 95.53 kB / 286.7 MB, free: 5.27 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.947e-05/2.939e-05, allocations: 4 kB / 343.8 MB, free: 8.164 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1562, allocations: 51.47 MB / 395.3 MB, free: 4.648 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6072/0.7635, allocations: 186.7 MB / 0.5683 GB, free: 7.477 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003545/0.7639, allocations: 73.22 kB / 0.5684 GB, free: 7.441 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4084/1.172, allocations: 27.54 MB / 0.5953 GB, free: 134.8 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.634e-06/1.172, allocations: 0 / 0.5953 GB, free: 134.8 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.499e-05/1.172, allocations: 3.281 kB / 0.5953 GB, free: 134.8 MB / 442.7 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.0008633/1.173, allocations: 474.8 kB / 0.5957 GB, free: 134.4 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.553e-05/1.173, allocations: 9.812 kB / 0.5957 GB, free: 134.4 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.944e-05/1.173, allocations: 7.219 kB / 0.5957 GB, free: 134.4 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002533/1.174, allocations: 186.8 kB / 0.5959 GB, free: 134.2 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/1.174, allocations: 0 / 0.5959 GB, free: 134.2 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.326e-05/1.174, allocations: 3.281 kB / 0.5959 GB, free: 134.2 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.444e-05/1.174, allocations: 13.36 kB / 0.5959 GB, free: 134.2 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.141e-05/1.174, allocations: 53.62 kB / 0.596 GB, free: 134.1 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/1.174, allocations: 3.938 kB / 0.596 GB, free: 134.1 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/1.174, allocations: 7.312 kB / 0.596 GB, free: 134.1 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/1.174, allocations: 3.953 kB / 0.596 GB, free: 134.1 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001775/1.174, allocations: 152.7 kB / 0.5962 GB, free: 133.9 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002298/1.174, allocations: 74.75 kB / 0.5962 GB, free: 133.9 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.725e-05/1.174, allocations: 24 kB / 0.5962 GB, free: 133.9 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001455/1.176, allocations: 2.186 MB / 0.5984 GB, free: 131.3 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.302e-05/1.176, allocations: 34.56 kB / 0.5984 GB, free: 131.3 MB / 442.7 MB Notification: Performance of pre-optimization done (n=6): time 1.733e-06/1.176, allocations: 0 / 0.5984 GB, free: 131.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=6): time 0.0008163/1.177, allocations: 111.8 kB / 0.5985 GB, free: 131.2 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.892e-05/1.177, allocations: 80.27 kB / 0.5986 GB, free: 131.1 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/1.177, allocations: 109.2 kB / 0.5987 GB, free: 131 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/1.177, allocations: 29.7 kB / 0.5987 GB, free: 131 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.591e-05/1.177, allocations: 80.14 kB / 0.5988 GB, free: 130.9 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.899e-05/1.177, allocations: 28.39 kB / 0.5988 GB, free: 130.9 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.089e-06/1.177, allocations: 0 / 0.5988 GB, free: 130.9 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001158/1.177, allocations: 322 kB / 0.5991 GB, free: 130.6 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.87e-05/1.177, allocations: 6.797 kB / 0.5991 GB, free: 130.6 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.421e-05/1.177, allocations: 33.22 kB / 0.5992 GB, free: 130.5 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004939/1.178, allocations: 67.77 kB / 0.5992 GB, free: 130.5 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-06/1.178, allocations: 0 / 0.5992 GB, free: 130.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000561/1.178, allocations: 124.5 kB / 0.5994 GB, free: 130.5 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.14e-05/1.178, allocations: 8.281 kB / 0.5994 GB, free: 130.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/1.179, allocations: 0 / 0.5994 GB, free: 130.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.456e-05/1.179, allocations: 3.219 kB / 0.5994 GB, free: 130.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.246e-05/1.179, allocations: 23.48 kB / 0.5994 GB, free: 130.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/1.179, allocations: 7.188 kB / 0.5994 GB, free: 130.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.163e-05/1.179, allocations: 3.281 kB / 0.5994 GB, free: 130.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.741e-05/1.179, allocations: 3.156 kB / 0.5994 GB, free: 130.5 MB / 442.7 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 () * 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 8.07e-05/1.179, allocations: 104.9 kB / 0.5995 GB, free: 130.4 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000504/1.179, allocations: 111.5 kB / 0.5996 GB, free: 130.3 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.131e-05/1.179, allocations: 7.25 kB / 0.5996 GB, free: 130.3 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007085/1.18, allocations: 166.4 kB / 0.5998 GB, free: 130.3 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/1.18, allocations: 3.625 kB / 0.5998 GB, free: 130.3 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.331e-06/1.18, allocations: 0 / 0.5998 GB, free: 130.3 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/1.18, allocations: 0 / 0.5998 GB, free: 130.3 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001453/1.18, allocations: 165.2 kB / 0.5999 GB, free: 130.1 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/1.18, allocations: 2.062 kB / 0.5999 GB, free: 130.1 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.548e-05/1.18, allocations: 13.5 kB / 0.6 GB, free: 130.1 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.758e-06/1.18, allocations: 3.984 kB / 0.6 GB, free: 130.1 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/1.18, allocations: 3.938 kB / 0.6 GB, free: 130.1 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/1.18, allocations: 3.5 kB / 0.6 GB, free: 130.1 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/1.18, allocations: 4 kB / 0.6 GB, free: 130.1 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006668/1.181, allocations: 190.1 kB / 0.6002 GB, free: 130 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.9e-05/1.181, allocations: 91.22 kB / 0.6002 GB, free: 129.9 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.044e-05/1.181, allocations: 0 / 0.6002 GB, free: 129.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.356e-05/1.181, allocations: 3.188 kB / 0.6002 GB, free: 129.9 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.093e-05/1.181, allocations: 14.19 kB / 0.6003 GB, free: 129.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/1.181, allocations: 7.438 kB / 0.6003 GB, free: 129.9 MB / 442.7 MB Notification: Performance of sorting global known variables: time 5.461e-05/1.181, allocations: 89.48 kB / 0.6003 GB, free: 129.8 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.5e-07/1.181, allocations: 0 / 0.6003 GB, free: 129.8 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006048/1.182, allocations: 142.4 kB / 0.6005 GB, free: 129.7 MB / 442.7 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 () * 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.001579/1.184, allocations: 0.9888 MB / 0.6015 GB, free: 129 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001293/1.184, allocations: 34.28 kB / 0.6015 GB, free: 129 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/1.184, allocations: 0 / 0.6015 GB, free: 129 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 5.622e-05/1.184, allocations: 27.27 kB / 0.6015 GB, free: 128.9 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000186/1.184, allocations: 9.922 kB / 0.6015 GB, free: 128.9 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000799/1.185, allocations: 330.2 kB / 0.6018 GB, free: 128.7 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001919/1.185, allocations: 0.6924 MB / 0.6025 GB, free: 128 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 9.627e-05/1.185, allocations: 29.38 kB / 0.6025 GB, free: 128 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.113e-05/1.185, allocations: 20.64 kB / 0.6026 GB, free: 128 MB / 442.7 MB Notification: Performance of SimCode: time 4.31e-07/1.185, allocations: 0 / 0.6026 GB, free: 128 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03176/1.217, allocations: 3.597 MB / 0.6061 GB, free: 127.5 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002034/1.217, allocations: 197.3 kB / 0.6063 GB, free: 127.3 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.748/2.966, allocations: 0 / 0.6063 GB, free: 127.3 MB / 442.7 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/linux/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