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.0009024/0.0009024, allocations: 98.92 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.0009301/0.0009301, allocations: 206.9 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.291/1.291, allocations: 227.2 MB / 245.9 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002021/0.0002021, allocations: 4 kB / 306.6 MB, free: 1.434 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08897/0.08919, allocations: 51.49 MB / 358.1 MB, free: 13.94 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.001308/0.09054, allocations: 1.052 MB / 359.1 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004287/0.09485, allocations: 3.449 MB / 362.6 MB, free: 9.41 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.104e-05/0.09491, allocations: 0 / 362.6 MB, free: 9.41 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.854e-05/0.09494, allocations: 3.984 kB / 362.6 MB, free: 9.406 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008602/0.09581, allocations: 231.3 kB / 362.8 MB, free: 9.18 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008678/0.09669, allocations: 366.8 kB / 363.1 MB, free: 8.824 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.446e-05/0.09678, allocations: 43.92 kB / 363.2 MB, free: 8.781 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.973e-05/0.09682, allocations: 0 / 363.2 MB, free: 8.781 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.09693, allocations: 35.91 kB / 363.2 MB, free: 8.746 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006929/0.09763, allocations: 375.5 kB / 363.6 MB, free: 8.379 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.789e-06/0.09765, allocations: 0 / 363.6 MB, free: 8.379 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007853/0.09844, allocations: 407.4 kB / 364 MB, free: 7.98 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.42e-05/0.09847, allocations: 7.984 kB / 364 MB, free: 7.973 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.836e-05/0.09851, allocations: 33.64 kB / 364 MB, free: 7.934 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000551/0.09906, allocations: 259.8 kB / 364.3 MB, free: 7.68 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.297e-05/0.09909, allocations: 4 kB / 364.3 MB, free: 7.676 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.09909, allocations: 0 / 364.3 MB, free: 7.676 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.09911, allocations: 0 / 364.3 MB, free: 7.676 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.0006006/0.09971, allocations: 427 kB / 364.7 MB, free: 7.211 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.09976, allocations: 8.031 kB / 364.7 MB, free: 7.203 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.041e-05/0.09981, allocations: 11.91 kB / 364.7 MB, free: 7.191 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002242/0.1, allocations: 175 kB / 364.9 MB, free: 6.98 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.1001, allocations: 8 kB / 364.9 MB, free: 6.973 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.926e-05/0.1001, allocations: 3.953 kB / 364.9 MB, free: 6.969 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000174/0.1003, allocations: 67.33 kB / 365 MB, free: 6.891 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.1003, allocations: 0 / 365 MB, free: 6.891 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.1003, allocations: 0 / 365 MB, free: 6.891 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.1003, allocations: 3.938 kB / 365 MB, free: 6.887 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.275e-05/0.1004, allocations: 23.97 kB / 365 MB, free: 6.863 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002219/0.1006, allocations: 178.5 kB / 365.2 MB, free: 6.637 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000293/0.1009, allocations: 77.22 kB / 365.2 MB, free: 6.543 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001111/0.1021, allocations: 1.532 MB / 366.8 MB, free: 4.66 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.1021, allocations: 38.52 kB / 366.8 MB, free: 4.613 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.283e-06/0.1021, allocations: 0 / 366.8 MB, free: 4.613 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002905/0.1024, allocations: 81.92 kB / 366.9 MB, free: 4.527 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.174e-05/0.1025, allocations: 77.11 kB / 367 MB, free: 4.434 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.705e-05/0.1025, allocations: 113.8 kB / 367.1 MB, free: 4.312 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.422e-05/0.1026, allocations: 29.7 kB / 367.1 MB, free: 4.277 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.535e-05/0.1026, allocations: 88.08 kB / 367.2 MB, free: 4.188 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.538e-05/0.1027, allocations: 23.69 kB / 367.2 MB, free: 4.164 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.007e-06/0.1027, allocations: 4 kB / 367.2 MB, free: 4.16 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.488e-05/0.1028, allocations: 318.8 kB / 367.5 MB, free: 3.84 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.19e-05/0.1028, allocations: 11.98 kB / 367.5 MB, free: 3.828 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.525e-05/0.1029, allocations: 35.42 kB / 367.6 MB, free: 3.781 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.151e-05/0.103, allocations: 24.02 kB / 367.6 MB, free: 3.758 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.103, allocations: 4 kB / 367.6 MB, free: 3.754 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001846/0.1032, allocations: 85.52 kB / 367.7 MB, free: 3.664 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.1032, allocations: 7.953 kB / 367.7 MB, free: 3.656 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.1032, allocations: 3.938 kB / 367.7 MB, free: 3.652 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.1032, allocations: 7.938 kB / 367.7 MB, free: 3.645 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.627e-05/0.1033, allocations: 15.98 kB / 367.7 MB, free: 3.629 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.1033, allocations: 0 / 367.7 MB, free: 3.629 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.447e-05/0.1033, allocations: 7.938 kB / 367.7 MB, free: 3.621 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.345e-05/0.1034, allocations: 12.05 kB / 367.7 MB, free: 3.609 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 6.981e-05/0.1034, allocations: 109.8 kB / 367.9 MB, free: 3.492 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.321e-05/0.1035, allocations: 7.906 kB / 367.9 MB, free: 3.484 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002906/0.1038, allocations: 121.2 kB / 368 MB, free: 3.363 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.573e-06/0.1038, allocations: 4 kB / 368 MB, free: 3.359 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.1038, allocations: 4 kB / 368 MB, free: 3.355 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1038, allocations: 0 / 368 MB, free: 3.355 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001285/0.1039, allocations: 169.7 kB / 368.2 MB, free: 3.141 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1039, allocations: 0 / 368.2 MB, free: 3.141 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.484e-05/0.104, allocations: 11.98 kB / 368.2 MB, free: 3.129 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.104, allocations: 4 kB / 368.2 MB, free: 3.125 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.104, allocations: 4 kB / 368.2 MB, free: 3.121 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.104, allocations: 3.953 kB / 368.2 MB, free: 3.117 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.069e-05/0.1041, allocations: 8 kB / 368.2 MB, free: 3.109 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002584/0.1043, allocations: 159.4 kB / 368.3 MB, free: 2.926 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.608e-05/0.1044, allocations: 93.03 kB / 368.4 MB, free: 2.816 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.883e-05/0.1044, allocations: 3.953 kB / 368.4 MB, free: 2.812 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.268e-05/0.1045, allocations: 8 kB / 368.4 MB, free: 2.805 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.055e-05/0.1045, allocations: 7.984 kB / 368.4 MB, free: 2.797 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/0.1045, allocations: 0 / 368.4 MB, free: 2.797 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.877e-05/0.1046, allocations: 95.33 kB / 368.5 MB, free: 2.703 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1046, allocations: 0 / 368.5 MB, free: 2.703 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004087/0.105, allocations: 127.9 kB / 368.7 MB, free: 2.578 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.0005662/0.1056, allocations: 293.2 kB / 369 MB, free: 2.289 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001728/0.1058, allocations: 47.91 kB / 369 MB, free: 2.242 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1058, allocations: 0 / 369 MB, free: 2.242 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.591e-05/0.1059, allocations: 32.05 kB / 369 MB, free: 2.211 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001472/0.106, allocations: 15.17 kB / 369 MB, free: 2.199 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004785/0.1065, allocations: 350.3 kB / 369.4 MB, free: 1.824 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000214/0.1067, allocations: 0.6887 MB / 370.1 MB, free: 1.109 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.796e-05/0.1068, allocations: 23.61 kB / 370.1 MB, free: 1.09 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.418e-05/0.1068, allocations: 27.36 kB / 370.1 MB, free: 1.062 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1069, allocations: 3.938 kB / 370.1 MB, free: 1.059 MB / 302.1 MB Notification: Performance of Templates: time 0.1528/0.2597, allocations: 2.953 MB / 373.1 MB, free: 19.12 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)