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: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009265/0.0009265, allocations: 96.72 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001233/0.001233, allocations: 209.9 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.379/1.379, allocations: 227.8 MB / 246.8 MB, free: 9.773 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003285/0.0003286, allocations: 8 kB / 307.7 MB, free: 0.6055 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09791/0.09826, allocations: 51.52 MB / 359.3 MB, free: 13.1 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.001291/0.09959, allocations: 1.096 MB / 360.3 MB, free: 12 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004953/0.1046, allocations: 4.041 MB / 364.4 MB, free: 7.934 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.479e-05/0.1046, allocations: 4 kB / 364.4 MB, free: 7.93 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.816e-05/0.1047, allocations: 0 / 364.4 MB, free: 7.93 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009174/0.1056, allocations: 251.2 kB / 364.6 MB, free: 7.684 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001041/0.1066, allocations: 426.6 kB / 365.1 MB, free: 7.266 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.598e-05/0.1067, allocations: 59.66 kB / 365.1 MB, free: 7.207 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.373e-05/0.1068, allocations: 4 kB / 365.1 MB, free: 7.203 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001038/0.1069, allocations: 35.84 kB / 365.2 MB, free: 7.168 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007142/0.1076, allocations: 403.1 kB / 365.5 MB, free: 6.773 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.295e-05/0.1076, allocations: 4 kB / 365.6 MB, free: 6.77 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009095/0.1085, allocations: 0.5645 MB / 366.1 MB, free: 6.207 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.069e-05/0.1086, allocations: 0 / 366.1 MB, free: 6.207 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.78e-05/0.1086, allocations: 53.56 kB / 366.2 MB, free: 6.148 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008025/0.1094, allocations: 459.4 kB / 366.6 MB, free: 5.699 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.1094, allocations: 0 / 366.6 MB, free: 5.699 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1095, allocations: 0 / 366.6 MB, free: 5.699 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.1095, allocations: 0 / 366.6 MB, free: 5.699 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.000521/0.11, allocations: 431.2 kB / 367 MB, free: 5.23 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.11, allocations: 8.031 kB / 367 MB, free: 5.223 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.374e-05/0.1101, allocations: 12.78 kB / 367.1 MB, free: 5.211 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000194/0.1103, allocations: 188.2 kB / 367.2 MB, free: 4.988 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.1103, allocations: 8.375 kB / 367.2 MB, free: 4.98 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.945e-05/0.1103, allocations: 11.94 kB / 367.3 MB, free: 4.969 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/0.1105, allocations: 59.39 kB / 367.3 MB, free: 4.898 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.81e-06/0.1105, allocations: 0 / 367.3 MB, free: 4.898 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-06/0.1105, allocations: 0 / 367.3 MB, free: 4.898 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1105, allocations: 0 / 367.3 MB, free: 4.898 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.007e-05/0.1106, allocations: 23.92 kB / 367.3 MB, free: 4.875 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001667/0.1108, allocations: 178.6 kB / 367.5 MB, free: 4.648 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002825/0.1111, allocations: 81.06 kB / 367.6 MB, free: 4.551 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.786e-05/0.1111, allocations: 29.77 kB / 367.6 MB, free: 4.516 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009247/0.1121, allocations: 1.532 MB / 369.2 MB, free: 2.633 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.1121, allocations: 42.55 kB / 369.2 MB, free: 2.582 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.743e-06/0.1121, allocations: 0 / 369.2 MB, free: 2.582 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002787/0.1124, allocations: 81.83 kB / 369.3 MB, free: 2.496 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.778e-05/0.1124, allocations: 81.11 kB / 369.4 MB, free: 2.398 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.464e-05/0.1125, allocations: 109.8 kB / 369.5 MB, free: 2.281 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.1126, allocations: 25.7 kB / 369.5 MB, free: 2.25 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.322e-05/0.1126, allocations: 84.14 kB / 369.6 MB, free: 2.164 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.493e-05/0.1126, allocations: 27.66 kB / 369.6 MB, free: 2.137 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.58e-05/0.1127, allocations: 17.7 kB / 369.6 MB, free: 2.113 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.305e-05/0.1128, allocations: 314.8 kB / 369.9 MB, free: 1.797 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.566e-05/0.1128, allocations: 11.98 kB / 369.9 MB, free: 1.785 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.656e-05/0.1129, allocations: 43.36 kB / 370 MB, free: 1.73 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001243/0.113, allocations: 63.39 kB / 370 MB, free: 1.656 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.113, allocations: 0 / 370 MB, free: 1.656 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001902/0.1132, allocations: 89.53 kB / 370.1 MB, free: 1.562 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.1133, allocations: 4 kB / 370.1 MB, free: 1.559 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.1133, allocations: 0 / 370.1 MB, free: 1.559 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.1133, allocations: 4 kB / 370.1 MB, free: 1.555 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.64e-05/0.1134, allocations: 20 kB / 370.2 MB, free: 1.535 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.1134, allocations: 3.984 kB / 370.2 MB, free: 1.531 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.608e-05/0.1134, allocations: 4 kB / 370.2 MB, free: 1.527 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.1134, allocations: 4 kB / 370.2 MB, free: 1.523 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.814e-05/0.1135, allocations: 121.7 kB / 370.3 MB, free: 1.395 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.983e-05/0.1135, allocations: 7.906 kB / 370.3 MB, free: 1.387 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003176/0.1139, allocations: 121.3 kB / 370.4 MB, free: 1.266 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.1139, allocations: 4 kB / 370.4 MB, free: 1.262 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.1139, allocations: 0 / 370.4 MB, free: 1.262 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.1139, allocations: 7.922 kB / 370.4 MB, free: 1.254 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001294/0.114, allocations: 177.5 kB / 370.6 MB, free: 1.031 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.114, allocations: 0 / 370.6 MB, free: 1.031 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.068e-05/0.1141, allocations: 19.98 kB / 370.6 MB, free: 1.012 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1141, allocations: 0 / 370.6 MB, free: 1.012 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.1142, allocations: 0 / 370.6 MB, free: 1.012 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1142, allocations: 3.938 kB / 370.6 MB, free: 1.008 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.1142, allocations: 8 kB / 370.6 MB, free: 1 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002758/0.1144, allocations: 142.2 kB / 370.8 MB, free: 0.8398 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.175e-05/0.1145, allocations: 93.03 kB / 370.9 MB, free: 0.7305 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.1145, allocations: 0 / 370.9 MB, free: 0.7305 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.246e-05/0.1146, allocations: 7.984 kB / 370.9 MB, free: 0.7227 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.559e-05/0.1146, allocations: 12.06 kB / 370.9 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-06/0.1146, allocations: 0 / 370.9 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.144e-05/0.1147, allocations: 95.33 kB / 371 MB, free: 0.6172 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1147, allocations: 0 / 371 MB, free: 0.6172 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004296/0.1151, allocations: 135.8 kB / 371.1 MB, free: 496 kB / 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.0005725/0.1157, allocations: 284.6 kB / 371.4 MB, free: 208 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001741/0.1159, allocations: 51.97 kB / 371.4 MB, free: 156 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1159, allocations: 4 kB / 371.4 MB, free: 152 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.882e-05/0.116, allocations: 23.98 kB / 371.5 MB, free: 128 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001968/0.1162, allocations: 22.27 kB / 371.5 MB, free: 108 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1397/0.2559, allocations: 340.7 kB / 371.8 MB, free: 19.41 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.483e-05/0.256, allocations: 0.6889 MB / 372.5 MB, free: 18.72 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.269e-05/0.2561, allocations: 33.12 kB / 372.5 MB, free: 18.72 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.091e-05/0.2562, allocations: 22.69 kB / 372.6 MB, free: 18.71 MB / 302.1 MB Notification: Performance of SimCode: time 1.072e-06/0.2562, allocations: 0 / 372.6 MB, free: 18.71 MB / 302.1 MB Notification: Performance of Templates: time 0.006244/0.2624, allocations: 2.982 MB / 375.5 MB, free: 18.35 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.makefile (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 & ./Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1)