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.0009726/0.0009727, allocations: 96.83 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001125/0.001125, allocations: 206.1 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.359/1.359, allocations: 227.3 MB / 245.9 MB, free: 12.05 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000242/0.0002421, allocations: 7.984 kB / 306.7 MB, free: 1.512 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1107, allocations: 51.48 MB / 358.2 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.001576/0.1123, allocations: 1.049 MB / 359.2 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005203/0.1175, allocations: 3.453 MB / 362.7 MB, free: 9.488 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.491e-05/0.1176, allocations: 0 / 362.7 MB, free: 9.488 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.193e-05/0.1176, allocations: 7.922 kB / 362.7 MB, free: 9.48 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001119/0.1188, allocations: 227.4 kB / 362.9 MB, free: 9.258 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001229/0.12, allocations: 366.5 kB / 363.3 MB, free: 8.902 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001359/0.1202, allocations: 43.92 kB / 363.3 MB, free: 8.859 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.727e-05/0.1202, allocations: 4 kB / 363.3 MB, free: 8.855 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001659/0.1204, allocations: 31.91 kB / 363.4 MB, free: 8.824 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001054/0.1215, allocations: 371.5 kB / 363.7 MB, free: 8.461 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.493e-05/0.1215, allocations: 3.938 kB / 363.7 MB, free: 8.457 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001325/0.1228, allocations: 415.4 kB / 364.1 MB, free: 8.051 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.761e-05/0.1229, allocations: 7.984 kB / 364.1 MB, free: 8.043 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.775e-05/0.123, allocations: 33.64 kB / 364.2 MB, free: 8.004 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008249/0.1238, allocations: 251.8 kB / 364.4 MB, free: 7.758 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.1238, allocations: 0 / 364.4 MB, free: 7.758 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.1238, allocations: 0 / 364.4 MB, free: 7.758 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.1238, allocations: 0 / 364.4 MB, free: 7.758 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.000771/0.1246, allocations: 431 kB / 364.8 MB, free: 7.289 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/0.1247, allocations: 12.03 kB / 364.8 MB, free: 7.277 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.392e-05/0.1247, allocations: 30.56 kB / 364.9 MB, free: 7.238 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.57e-05/0.1248, allocations: 7.906 kB / 364.9 MB, free: 7.23 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002463/0.125, allocations: 187 kB / 365.1 MB, free: 7.008 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.125, allocations: 3.953 kB / 365.1 MB, free: 7.004 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.011e-05/0.1251, allocations: 8 kB / 365.1 MB, free: 6.996 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/0.1252, allocations: 59.33 kB / 365.1 MB, free: 6.926 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.1252, allocations: 0 / 365.1 MB, free: 6.926 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.1253, allocations: 8 kB / 365.1 MB, free: 6.918 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.1253, allocations: 0 / 365.1 MB, free: 6.918 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.727e-05/0.1254, allocations: 19.98 kB / 365.2 MB, free: 6.898 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002439/0.1256, allocations: 174.5 kB / 365.3 MB, free: 6.676 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002831/0.1259, allocations: 85.17 kB / 365.4 MB, free: 6.574 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001063/0.127, allocations: 1.528 MB / 366.9 MB, free: 4.695 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/0.127, allocations: 38.5 kB / 367 MB, free: 4.648 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.127, allocations: 0 / 367 MB, free: 4.648 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002945/0.1273, allocations: 77.64 kB / 367.1 MB, free: 4.566 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.625e-05/0.1274, allocations: 85.05 kB / 367.1 MB, free: 4.465 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.1275, allocations: 121.8 kB / 367.3 MB, free: 4.336 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.1275, allocations: 25.7 kB / 367.3 MB, free: 4.305 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.542e-05/0.1276, allocations: 80.14 kB / 367.4 MB, free: 4.223 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.18e-05/0.1276, allocations: 27.69 kB / 367.4 MB, free: 4.195 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-06/0.1276, allocations: 0 / 367.4 MB, free: 4.195 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.1278, allocations: 314.8 kB / 367.7 MB, free: 3.879 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.122e-05/0.1279, allocations: 15.98 kB / 367.7 MB, free: 3.863 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.131e-05/0.1279, allocations: 39.42 kB / 367.8 MB, free: 3.812 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.496e-05/0.128, allocations: 15.98 kB / 367.8 MB, free: 3.797 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.128, allocations: 3.938 kB / 367.8 MB, free: 3.793 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001864/0.1282, allocations: 93.41 kB / 367.9 MB, free: 3.695 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.1282, allocations: 4 kB / 367.9 MB, free: 3.691 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.1283, allocations: 4.062 kB / 367.9 MB, free: 3.688 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.1283, allocations: 7.938 kB / 367.9 MB, free: 3.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.842e-05/0.1283, allocations: 15.98 kB / 367.9 MB, free: 3.664 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.1284, allocations: 0 / 367.9 MB, free: 3.664 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.732e-05/0.1284, allocations: 7.938 kB / 367.9 MB, free: 3.656 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.41e-05/0.1284, allocations: 4 kB / 367.9 MB, free: 3.652 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.58e-05/0.1285, allocations: 121.8 kB / 368 MB, free: 3.523 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.974e-05/0.1286, allocations: 7.859 kB / 368 MB, free: 3.516 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003366/0.1289, allocations: 129.2 kB / 368.2 MB, free: 3.387 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.054e-06/0.1289, allocations: 0 / 368.2 MB, free: 3.387 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.1289, allocations: 0 / 368.2 MB, free: 3.387 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.1289, allocations: 0 / 368.2 MB, free: 3.387 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001439/0.1291, allocations: 169.7 kB / 368.3 MB, free: 3.172 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.1291, allocations: 0 / 368.3 MB, free: 3.172 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.876e-05/0.1292, allocations: 19.98 kB / 368.3 MB, free: 3.152 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.1292, allocations: 4 kB / 368.4 MB, free: 3.148 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.1292, allocations: 3.953 kB / 368.4 MB, free: 3.145 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.1292, allocations: 4 kB / 368.4 MB, free: 3.141 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1292, allocations: 0 / 368.4 MB, free: 3.141 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002913/0.1295, allocations: 147.5 kB / 368.5 MB, free: 2.969 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.026e-05/0.1296, allocations: 101 kB / 368.6 MB, free: 2.852 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.273e-05/0.1296, allocations: 16.02 kB / 368.6 MB, free: 2.836 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.853e-05/0.1297, allocations: 0 / 368.6 MB, free: 2.836 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.358e-05/0.1297, allocations: 8.547 kB / 368.6 MB, free: 2.828 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-06/0.1297, allocations: 0 / 368.6 MB, free: 2.828 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.7e-05/0.1298, allocations: 91.27 kB / 368.7 MB, free: 2.738 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1298, allocations: 0 / 368.7 MB, free: 2.738 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004399/0.1302, allocations: 127.9 kB / 368.8 MB, free: 2.613 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.001146/0.1314, allocations: 0.9431 MB / 369.8 MB, free: 1.637 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001824/0.1316, allocations: 47.91 kB / 369.8 MB, free: 1.59 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.1316, allocations: 4.125 kB / 369.8 MB, free: 1.586 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.967e-05/0.1317, allocations: 28.2 kB / 369.9 MB, free: 1.559 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001623/0.1319, allocations: 10.17 kB / 369.9 MB, free: 1.551 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00131/0.1332, allocations: 1.177 MB / 371 MB, free: 320 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2092/0.3424, allocations: 0.6861 MB / 371.7 MB, free: 19.21 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001286/0.3425, allocations: 28.33 kB / 371.8 MB, free: 19.21 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.518e-05/0.3426, allocations: 28.52 kB / 371.8 MB, free: 19.2 MB / 302.1 MB Notification: Performance of SimCode: time 8.41e-07/0.3426, allocations: 0 / 371.8 MB, free: 19.2 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01963/0.3623, allocations: 4.099 MB / 375.9 MB, free: 18.83 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001609/0.3625, allocations: 246.5 kB / 376.1 MB, free: 18.49 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.98/2.342, allocations: 0 / 376.1 MB, free: 18.49 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/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