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.000951/0.0009543, allocations: 101.3 kB / 17 MB, free: 6.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001278/0.001278, allocations: 190.6 kB / 17.9 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.325/1.325, allocations: 227.7 MB / 246.4 MB, free: 9.809 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002136/0.0002136, allocations: 8 kB / 307.1 MB, free: 0.957 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0822/0.08243, allocations: 51.53 MB / 358.6 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.001249/0.08372, allocations: 1.076 MB / 359.7 MB, free: 12.35 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004459/0.0882, allocations: 3.761 MB / 363.5 MB, free: 8.566 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.783e-05/0.08824, allocations: 0 / 363.5 MB, free: 8.566 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.398e-05/0.08827, allocations: 3.938 kB / 363.5 MB, free: 8.562 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007425/0.08902, allocations: 235.2 kB / 363.7 MB, free: 8.332 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008131/0.08984, allocations: 382.2 kB / 364.1 MB, free: 7.961 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.197e-05/0.08993, allocations: 59.66 kB / 364.1 MB, free: 7.902 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.873e-05/0.08996, allocations: 3.984 kB / 364.1 MB, free: 7.898 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.113e-05/0.09006, allocations: 35.91 kB / 364.2 MB, free: 7.863 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006928/0.09076, allocations: 391.3 kB / 364.6 MB, free: 7.48 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.839e-06/0.09079, allocations: 4 kB / 364.6 MB, free: 7.477 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007188/0.09151, allocations: 407.3 kB / 365 MB, free: 7.078 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.223e-05/0.09153, allocations: 4 kB / 365 MB, free: 7.074 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.52e-05/0.09157, allocations: 41.64 kB / 365 MB, free: 7.027 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003781/0.09195, allocations: 263.9 kB / 365.3 MB, free: 6.77 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.09196, allocations: 0 / 365.3 MB, free: 6.77 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.09197, allocations: 0 / 365.3 MB, free: 6.77 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.279e-06/0.09198, allocations: 0 / 365.3 MB, free: 6.77 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.0004225/0.09241, allocations: 431 kB / 365.7 MB, free: 6.301 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.09245, allocations: 8.031 kB / 365.7 MB, free: 6.293 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.978e-05/0.09248, allocations: 7.906 kB / 365.7 MB, free: 6.285 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001781/0.09267, allocations: 187 kB / 365.9 MB, free: 6.062 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.09269, allocations: 8 kB / 365.9 MB, free: 6.055 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.622e-05/0.09271, allocations: 4 kB / 365.9 MB, free: 6.051 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001264/0.09284, allocations: 63.28 kB / 365.9 MB, free: 5.977 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.09286, allocations: 4 kB / 366 MB, free: 5.973 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.09287, allocations: 0 / 366 MB, free: 5.973 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.09288, allocations: 3.938 kB / 366 MB, free: 5.969 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.449e-05/0.09296, allocations: 19.98 kB / 366 MB, free: 5.949 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001617/0.09313, allocations: 178.5 kB / 366.2 MB, free: 5.723 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002427/0.09338, allocations: 77.12 kB / 366.2 MB, free: 5.629 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.2e-05/0.09345, allocations: 21.77 kB / 366.2 MB, free: 5.602 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008463/0.09431, allocations: 1.54 MB / 367.8 MB, free: 3.711 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.09434, allocations: 42.5 kB / 367.8 MB, free: 3.66 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.09435, allocations: 0 / 367.8 MB, free: 3.66 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002555/0.09461, allocations: 77.59 kB / 367.9 MB, free: 3.578 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.695e-05/0.09467, allocations: 81.11 kB / 368 MB, free: 3.48 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.613e-05/0.09475, allocations: 113.8 kB / 368.1 MB, free: 3.359 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/0.09477, allocations: 33.7 kB / 368.1 MB, free: 3.32 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.123e-05/0.09481, allocations: 84.14 kB / 368.2 MB, free: 3.234 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.845e-05/0.09484, allocations: 19.66 kB / 368.2 MB, free: 3.215 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.02e-06/0.09485, allocations: 4 kB / 368.2 MB, free: 3.211 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.564e-05/0.09494, allocations: 314.8 kB / 368.5 MB, free: 2.895 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.497e-05/0.09501, allocations: 19.92 kB / 368.6 MB, free: 2.875 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.513e-05/0.09508, allocations: 43.41 kB / 368.6 MB, free: 2.82 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.555e-05/0.09514, allocations: 16.38 kB / 368.6 MB, free: 2.805 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.09515, allocations: 0 / 368.6 MB, free: 2.805 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001931/0.09535, allocations: 93.42 kB / 368.7 MB, free: 2.707 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.09537, allocations: 4 kB / 368.7 MB, free: 2.703 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.09538, allocations: 7.953 kB / 368.7 MB, free: 2.695 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.616e-06/0.0954, allocations: 0 / 368.7 MB, free: 2.695 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.708e-05/0.09547, allocations: 16.05 kB / 368.7 MB, free: 2.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.09548, allocations: 4 kB / 368.7 MB, free: 2.676 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.023e-05/0.09553, allocations: 4 kB / 368.7 MB, free: 2.672 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.479e-05/0.09555, allocations: 8 kB / 368.8 MB, free: 2.664 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.422e-05/0.09562, allocations: 109.8 kB / 368.9 MB, free: 2.547 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.291e-05/0.09564, allocations: 3.906 kB / 368.9 MB, free: 2.543 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002957/0.09594, allocations: 125.4 kB / 369 MB, free: 2.414 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/0.09596, allocations: 7.938 kB / 369 MB, free: 2.406 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.09597, allocations: 4 kB / 369 MB, free: 2.402 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.09598, allocations: 0 / 369 MB, free: 2.402 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001177/0.0961, allocations: 173.6 kB / 369.2 MB, free: 2.184 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.09611, allocations: 0 / 369.2 MB, free: 2.184 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.755e-05/0.09619, allocations: 15.94 kB / 369.2 MB, free: 2.168 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.0962, allocations: 0 / 369.2 MB, free: 2.168 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.208e-06/0.09622, allocations: 0 / 369.2 MB, free: 2.168 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.09623, allocations: 7.984 kB / 369.2 MB, free: 2.16 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.09624, allocations: 7.953 kB / 369.2 MB, free: 2.152 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000249/0.09649, allocations: 133.8 kB / 369.3 MB, free: 2 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.216e-05/0.09655, allocations: 93.03 kB / 369.4 MB, free: 1.891 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.039e-05/0.09658, allocations: 11.98 kB / 369.4 MB, free: 1.879 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.68e-05/0.09662, allocations: 0 / 369.4 MB, free: 1.879 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.003e-05/0.09666, allocations: 12.02 kB / 369.4 MB, free: 1.867 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.016e-06/0.09667, allocations: 3.984 kB / 369.4 MB, free: 1.863 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.947e-05/0.09672, allocations: 87.83 kB / 369.5 MB, free: 1.777 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09673, allocations: 0 / 369.5 MB, free: 1.777 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003775/0.09711, allocations: 135.8 kB / 369.7 MB, free: 1.645 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.0005388/0.09765, allocations: 295.9 kB / 370 MB, free: 1.355 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001838/0.09785, allocations: 51.97 kB / 370 MB, free: 1.305 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.09786, allocations: 0 / 370 MB, free: 1.305 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.7e-05/0.09796, allocations: 31.92 kB / 370 MB, free: 1.273 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001968/0.09816, allocations: 11 kB / 370 MB, free: 1.266 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004904/0.09866, allocations: 341.9 kB / 370.4 MB, free: 0.8984 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001911/0.09887, allocations: 0.6859 MB / 371.1 MB, free: 192 kB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.455e-05/0.09895, allocations: 31.45 kB / 371.1 MB, free: 164 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.517e-05/0.09899, allocations: 23.36 kB / 371.1 MB, free: 140 kB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.099, allocations: 0 / 371.1 MB, free: 140 kB / 302.1 MB Notification: Performance of Templates: time 0.1438/0.2428, allocations: 2.938 MB / 374.1 MB, free: 18.58 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)