Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001673/0.001673, allocations: 113 kB / 17.68 MB, free: 5.473 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001845/0.001845, allocations: 190.9 kB / 18.62 MB, free: 4.543 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 222.9 MB / 242.3 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001562/0.001562, allocations: 50.27 kB / 302 MB, free: 5.18 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1123, allocations: 49.45 MB / 351.5 MB, free: 3.707 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002336/0.1147, allocations: 1.366 MB / 352.9 MB, free: 2.332 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004696/0.1194, allocations: 3.972 MB / 356.8 MB, free: 14.33 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.078e-05/0.1195, allocations: 4 kB / 356.8 MB, free: 14.33 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.069e-05/0.1195, allocations: 7.922 kB / 356.8 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009557/0.1205, allocations: 279 kB / 357.1 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001065/0.1216, allocations: 493.9 kB / 357.6 MB, free: 13.57 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.89e-05/0.1217, allocations: 63.7 kB / 357.7 MB, free: 13.5 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.095e-05/0.1217, allocations: 0 / 357.7 MB, free: 13.5 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.1219, allocations: 39.84 kB / 357.7 MB, free: 13.46 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006067/0.1225, allocations: 359.2 kB / 358 MB, free: 13.11 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.204e-05/0.1225, allocations: 4 kB / 358 MB, free: 13.11 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009315/0.1234, allocations: 0.5966 MB / 358.6 MB, free: 12.51 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.252e-05/0.1235, allocations: 7.922 kB / 358.6 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.375e-05/0.1235, allocations: 19.94 kB / 358.7 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007402/0.1242, allocations: 455.1 kB / 359.1 MB, free: 12.04 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.1243, allocations: 0 / 359.1 MB, free: 12.04 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1243, allocations: 0 / 359.1 MB, free: 12.04 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.012e-06/0.1243, allocations: 0 / 359.1 MB, free: 12.04 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.0005099/0.1248, allocations: 451.1 kB / 359.6 MB, free: 11.55 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.059e-05/0.1248, allocations: 8.031 kB / 359.6 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.864e-05/0.1249, allocations: 4.938 kB / 359.6 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001786/0.1251, allocations: 180.3 kB / 359.7 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.1251, allocations: 8.359 kB / 359.8 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.866e-05/0.1251, allocations: 7.922 kB / 359.8 MB, free: 11.31 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001347/0.1252, allocations: 67.34 kB / 359.8 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.1253, allocations: 0 / 359.8 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-06/0.1253, allocations: 0 / 359.8 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.1253, allocations: 7.984 kB / 359.8 MB, free: 11.22 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.123e-05/0.1254, allocations: 19.92 kB / 359.9 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001593/0.1255, allocations: 170.5 kB / 360 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002582/0.1258, allocations: 89.14 kB / 360.1 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.995e-05/0.1259, allocations: 21.78 kB / 360.1 MB, free: 10.85 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008849/0.1268, allocations: 1.54 MB / 361.7 MB, free: 8.961 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.136e-05/0.1268, allocations: 34.56 kB / 361.7 MB, free: 8.918 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.1268, allocations: 3.938 kB / 361.7 MB, free: 8.914 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.00027/0.1271, allocations: 81.56 kB / 361.8 MB, free: 8.828 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.189e-05/0.1271, allocations: 85.05 kB / 361.9 MB, free: 8.727 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.955e-05/0.1272, allocations: 105.8 kB / 362 MB, free: 8.613 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.1273, allocations: 33.7 kB / 362 MB, free: 8.574 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.996e-05/0.1273, allocations: 80.14 kB / 362.1 MB, free: 8.492 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.551e-05/0.1273, allocations: 27.69 kB / 362.1 MB, free: 8.465 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.535e-05/0.1274, allocations: 17.72 kB / 362.1 MB, free: 8.441 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.142e-05/0.1275, allocations: 326.8 kB / 362.4 MB, free: 8.113 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.563e-05/0.1275, allocations: 4 kB / 362.4 MB, free: 8.109 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.281e-05/0.1276, allocations: 39.42 kB / 362.5 MB, free: 8.059 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001221/0.1277, allocations: 63.34 kB / 362.5 MB, free: 7.984 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.1277, allocations: 0 / 362.5 MB, free: 7.984 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001847/0.1279, allocations: 90 kB / 362.6 MB, free: 7.891 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.128, allocations: 8 kB / 362.6 MB, free: 7.883 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.128, allocations: 0 / 362.6 MB, free: 7.883 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.128, allocations: 0 / 362.6 MB, free: 7.883 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.9e-05/0.1281, allocations: 19.92 kB / 362.7 MB, free: 7.863 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.1281, allocations: 7.938 kB / 362.7 MB, free: 7.855 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.805e-05/0.1281, allocations: 11.91 kB / 362.7 MB, free: 7.844 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.367e-05/0.1281, allocations: 4 kB / 362.7 MB, free: 7.84 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.65e-05/0.1282, allocations: 121.8 kB / 362.8 MB, free: 7.711 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.739e-05/0.1282, allocations: 4 kB / 362.8 MB, free: 7.707 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003362/0.1286, allocations: 116.8 kB / 362.9 MB, free: 7.59 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.1286, allocations: 4 kB / 362.9 MB, free: 7.586 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.1286, allocations: 3.938 kB / 362.9 MB, free: 7.582 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1286, allocations: 4 kB / 362.9 MB, free: 7.578 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001281/0.1287, allocations: 177.5 kB / 363.1 MB, free: 7.355 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.1288, allocations: 0 / 363.1 MB, free: 7.355 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.123e-05/0.1288, allocations: 15.98 kB / 363.1 MB, free: 7.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.1289, allocations: 3.938 kB / 363.1 MB, free: 7.336 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.1289, allocations: 4 kB / 363.1 MB, free: 7.332 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.624e-06/0.1289, allocations: 0 / 363.1 MB, free: 7.332 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1289, allocations: 480 / 363.1 MB, free: 7.332 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002667/0.1292, allocations: 153.7 kB / 363.3 MB, free: 7.16 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.935e-05/0.1292, allocations: 89.12 kB / 363.4 MB, free: 7.055 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/0.1292, allocations: 0 / 363.4 MB, free: 7.055 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.171e-05/0.1293, allocations: 3.984 kB / 363.4 MB, free: 7.051 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.076e-05/0.1293, allocations: 4 kB / 363.4 MB, free: 7.047 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.236e-06/0.1293, allocations: 4 kB / 363.4 MB, free: 7.043 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.456e-05/0.1294, allocations: 95.33 kB / 363.5 MB, free: 6.949 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1294, allocations: 0 / 363.5 MB, free: 6.949 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004018/0.1298, allocations: 131.8 kB / 363.6 MB, free: 6.82 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.0006082/0.1304, allocations: 293.3 kB / 363.9 MB, free: 6.531 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001868/0.1306, allocations: 47.91 kB / 363.9 MB, free: 6.484 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1306, allocations: 3.938 kB / 363.9 MB, free: 6.48 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.448e-05/0.1307, allocations: 32.05 kB / 364 MB, free: 6.449 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001782/0.1309, allocations: 15.88 kB / 364 MB, free: 6.434 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000464/0.1314, allocations: 294.8 kB / 364.3 MB, free: 6.113 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002206/0.1316, allocations: 0.6961 MB / 365 MB, free: 5.391 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.731e-05/0.1317, allocations: 23.47 kB / 365 MB, free: 5.371 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.142e-05/0.1317, allocations: 15.44 kB / 365 MB, free: 5.355 MB / 302.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1317, allocations: 4 kB / 365 MB, free: 5.352 MB / 302.1 MB Notification: Performance of Templates: time 0.006027/0.1378, allocations: 2.998 MB / 368 MB, free: 2.379 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & ./Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1)