Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4_1_0-beta_om_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,fileNamePrefix="Modelica_4_1_0-beta_om_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.0013/0.0013, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001304/0.001304, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.496/1.496, allocations: 227.7 MB / 247.1 MB, free: 10.3 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 69.98 kB / 307.3 MB, free: 412 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1184, allocations: 50.54 MB / 357.9 MB, free: 13.85 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002853/0.1213, allocations: 1.365 MB / 359.2 MB, free: 12.47 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005867/0.1272, allocations: 4.03 MB / 363.3 MB, free: 8.418 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.358e-05/0.1272, allocations: 0 / 363.3 MB, free: 8.418 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.664e-05/0.1273, allocations: 7.922 kB / 363.3 MB, free: 8.41 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001082/0.1284, allocations: 279 kB / 363.5 MB, free: 8.137 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001141/0.1296, allocations: 494.1 kB / 364 MB, free: 7.656 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.345e-05/0.1297, allocations: 55.67 kB / 364.1 MB, free: 7.602 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.851e-05/0.1297, allocations: 15.92 kB / 364.1 MB, free: 7.586 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001178/0.1298, allocations: 39.84 kB / 364.1 MB, free: 7.547 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007309/0.1306, allocations: 355.3 kB / 364.5 MB, free: 7.199 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.48e-05/0.1306, allocations: 4 kB / 364.5 MB, free: 7.195 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001045/0.1317, allocations: 0.5537 MB / 365 MB, free: 6.641 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.598e-05/0.1317, allocations: 7.969 kB / 365 MB, free: 6.633 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.353e-05/0.1317, allocations: 23.88 kB / 365.1 MB, free: 6.609 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007483/0.1325, allocations: 455.1 kB / 365.5 MB, free: 6.164 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.1325, allocations: 4 kB / 365.5 MB, free: 6.16 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1325, allocations: 0 / 365.5 MB, free: 6.16 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.1325, allocations: 0 / 365.5 MB, free: 6.16 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.0005472/0.1331, allocations: 437.5 kB / 365.9 MB, free: 5.688 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.1331, allocations: 12.03 kB / 366 MB, free: 5.676 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.576e-05/0.1332, allocations: 42.73 kB / 366 MB, free: 5.625 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.948e-05/0.1332, allocations: 0.9375 kB / 366 MB, free: 5.625 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002288/0.1335, allocations: 196.1 kB / 366.2 MB, free: 5.395 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.1335, allocations: 4.125 kB / 366.2 MB, free: 5.391 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.623e-05/0.1335, allocations: 7.938 kB / 366.2 MB, free: 5.383 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001616/0.1337, allocations: 67.39 kB / 366.3 MB, free: 5.305 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.1337, allocations: 0 / 366.3 MB, free: 5.305 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.1337, allocations: 7.984 kB / 366.3 MB, free: 5.297 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.1337, allocations: 0 / 366.3 MB, free: 5.297 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.515e-05/0.1338, allocations: 19.92 kB / 366.3 MB, free: 5.277 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002171/0.134, allocations: 170.6 kB / 366.5 MB, free: 5.059 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003026/0.1343, allocations: 89.06 kB / 366.6 MB, free: 4.953 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.909e-05/0.1344, allocations: 21.78 kB / 366.6 MB, free: 4.926 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001333/0.1358, allocations: 1.54 MB / 368.1 MB, free: 3.035 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/0.1358, allocations: 30.56 kB / 368.1 MB, free: 2.996 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.1358, allocations: 0 / 368.1 MB, free: 2.996 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003156/0.1361, allocations: 85.5 kB / 368.2 MB, free: 2.906 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.613e-05/0.1362, allocations: 81.11 kB / 368.3 MB, free: 2.809 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.1363, allocations: 113.8 kB / 368.4 MB, free: 2.688 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.239e-05/0.1364, allocations: 29.7 kB / 368.4 MB, free: 2.652 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.339e-05/0.1364, allocations: 84.14 kB / 368.5 MB, free: 2.566 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.623e-05/0.1365, allocations: 19.7 kB / 368.5 MB, free: 2.547 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.745e-05/0.1365, allocations: 21.72 kB / 368.6 MB, free: 2.52 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001981/0.1367, allocations: 322.8 kB / 368.9 MB, free: 2.195 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.959e-05/0.1368, allocations: 15.98 kB / 368.9 MB, free: 2.18 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.571e-05/0.1369, allocations: 43.36 kB / 368.9 MB, free: 2.125 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001385/0.137, allocations: 51.42 kB / 369 MB, free: 2.062 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.137, allocations: 3.938 kB / 369 MB, free: 2.059 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002054/0.1372, allocations: 93.92 kB / 369.1 MB, free: 1.961 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.1373, allocations: 7.938 kB / 369.1 MB, free: 1.953 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.1373, allocations: 0 / 369.1 MB, free: 1.953 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.1373, allocations: 4 kB / 369.1 MB, free: 1.949 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.2e-05/0.1374, allocations: 15.98 kB / 369.1 MB, free: 1.934 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.1374, allocations: 0 / 369.1 MB, free: 1.934 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.514e-05/0.1374, allocations: 7.938 kB / 369.1 MB, free: 1.926 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.753e-05/0.1375, allocations: 7.984 kB / 369.1 MB, free: 1.918 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 9.917e-05/0.1376, allocations: 121.8 kB / 369.2 MB, free: 1.789 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.843e-05/0.1376, allocations: 4 kB / 369.3 MB, free: 1.785 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004049/0.138, allocations: 121.4 kB / 369.4 MB, free: 1.66 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.138, allocations: 0 / 369.4 MB, free: 1.66 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.138, allocations: 0 / 369.4 MB, free: 1.66 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.1381, allocations: 4 kB / 369.4 MB, free: 1.656 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001667/0.1382, allocations: 173.6 kB / 369.5 MB, free: 1.438 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.1382, allocations: 0 / 369.5 MB, free: 1.438 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.487e-05/0.1383, allocations: 23.92 kB / 369.6 MB, free: 1.414 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1383, allocations: 0 / 369.6 MB, free: 1.414 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.1384, allocations: 0 / 369.6 MB, free: 1.414 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.593e-06/0.1384, allocations: 8 kB / 369.6 MB, free: 1.406 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.1384, allocations: 3.938 kB / 369.6 MB, free: 1.402 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003215/0.1387, allocations: 145.8 kB / 369.7 MB, free: 1.238 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.703e-05/0.1388, allocations: 93.03 kB / 369.8 MB, free: 1.129 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.065e-05/0.1388, allocations: 4 kB / 369.8 MB, free: 1.125 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.96e-05/0.1389, allocations: 0 / 369.8 MB, free: 1.125 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.644e-05/0.1389, allocations: 4 kB / 369.8 MB, free: 1.121 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-06/0.1389, allocations: 3.984 kB / 369.8 MB, free: 1.117 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.403e-05/0.139, allocations: 87.28 kB / 369.9 MB, free: 1.031 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.139, allocations: 0 / 369.9 MB, free: 1.031 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000434/0.1394, allocations: 140 kB / 370 MB, free: 0.8945 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.001239/0.1407, allocations: 0.8755 MB / 370.9 MB, free: 0 / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.1674/0.3081, allocations: 43.61 kB / 371 MB, free: 20.23 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.3081, allocations: 0.5 kB / 371 MB, free: 20.23 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001148/0.3082, allocations: 28.47 kB / 371 MB, free: 20.23 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003116/0.3085, allocations: 12.12 kB / 371 MB, free: 20.23 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001974/0.3105, allocations: 1.51 MB / 372.5 MB, free: 19.07 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001638/0.3107, allocations: 0.6858 MB / 373.2 MB, free: 18.38 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.241e-05/0.3108, allocations: 26.98 kB / 373.2 MB, free: 18.38 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.235e-05/0.3109, allocations: 31.08 kB / 373.3 MB, free: 18.37 MB / 302.1 MB Notification: Performance of SimCode: time 9.22e-07/0.3109, allocations: 0 / 373.3 MB, free: 18.37 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03058/0.3415, allocations: 4.404 MB / 377.7 MB, free: 17.69 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.279/8.621, allocations: 11.84 kB / 377.7 MB, free: 17.68 MB / 302.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T.fmu > Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1)