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.001149/0.001149, allocations: 89.77 kB / 16.65 MB, free: 6.586 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.001352/0.001352, allocations: 182.5 kB / 17.56 MB, free: 6.203 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.448/1.448, allocations: 223.3 MB / 241.6 MB, free: 14.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002747/0.0002747, allocations: 11.94 kB / 301.4 MB, free: 5.902 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08513/0.08542, allocations: 50.42 MB / 351.8 MB, free: 3.473 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.001386/0.08685, allocations: 1.079 MB / 352.9 MB, free: 2.383 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005126/0.092, allocations: 3.988 MB / 356.9 MB, free: 14.37 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.351e-05/0.09205, allocations: 0 / 356.9 MB, free: 14.37 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.954e-05/0.09208, allocations: 3.938 kB / 356.9 MB, free: 14.36 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008759/0.09297, allocations: 243.2 kB / 357.1 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001056/0.09404, allocations: 433.8 kB / 357.6 MB, free: 13.7 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.44e-05/0.09414, allocations: 47.73 kB / 357.6 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.766e-05/0.09418, allocations: 8 kB / 357.6 MB, free: 13.65 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001483/0.09434, allocations: 39.84 kB / 357.7 MB, free: 13.61 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007204/0.09507, allocations: 403.1 kB / 358.1 MB, free: 13.21 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.09509, allocations: 4 kB / 358.1 MB, free: 13.21 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009287/0.09603, allocations: 0.5568 MB / 358.6 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.549e-05/0.09606, allocations: 11.92 kB / 358.6 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.567e-05/0.09611, allocations: 45.58 kB / 358.7 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000626/0.09674, allocations: 459.4 kB / 359.1 MB, free: 12.14 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.09676, allocations: 0 / 359.1 MB, free: 12.14 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.09677, allocations: 3.938 kB / 359.1 MB, free: 12.14 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.616e-06/0.09677, allocations: 0 / 359.1 MB, free: 12.14 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.0005001/0.09728, allocations: 431.2 kB / 359.5 MB, free: 11.67 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.09732, allocations: 12.03 kB / 359.6 MB, free: 11.66 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.907e-05/0.09735, allocations: 4.844 kB / 359.6 MB, free: 11.66 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001804/0.09754, allocations: 188.2 kB / 359.7 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.158e-06/0.09756, allocations: 384 / 359.7 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.154e-05/0.09759, allocations: 15.94 kB / 359.8 MB, free: 11.42 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000128/0.09772, allocations: 59.39 kB / 359.8 MB, free: 11.35 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.821e-06/0.09774, allocations: 0 / 359.8 MB, free: 11.35 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-06/0.09775, allocations: 0 / 359.8 MB, free: 11.35 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-06/0.09776, allocations: 0 / 359.8 MB, free: 11.35 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.966e-05/0.09785, allocations: 23.92 kB / 359.8 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001645/0.09802, allocations: 178.5 kB / 360 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002568/0.09828, allocations: 81.12 kB / 360.1 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.325e-05/0.09836, allocations: 25.7 kB / 360.1 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001055/0.09942, allocations: 1.536 MB / 361.7 MB, free: 9.082 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.09946, allocations: 34.56 kB / 361.7 MB, free: 9.039 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.09946, allocations: 0 / 361.7 MB, free: 9.039 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002734/0.09974, allocations: 85.72 kB / 361.8 MB, free: 8.949 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.804e-05/0.09979, allocations: 77.11 kB / 361.8 MB, free: 8.855 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.601e-05/0.09988, allocations: 121.7 kB / 362 MB, free: 8.727 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.09991, allocations: 25.7 kB / 362 MB, free: 8.695 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.548e-05/0.09995, allocations: 88.12 kB / 362.1 MB, free: 8.605 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.06e-05/0.09999, allocations: 23.75 kB / 362.1 MB, free: 8.582 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.603e-05/0.1, allocations: 17.72 kB / 362.1 MB, free: 8.559 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.997e-05/0.1001, allocations: 314.8 kB / 362.4 MB, free: 8.242 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.206e-05/0.1002, allocations: 19.92 kB / 362.4 MB, free: 8.223 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.605e-05/0.1003, allocations: 39.73 kB / 362.5 MB, free: 8.172 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001252/0.1004, allocations: 59.36 kB / 362.5 MB, free: 8.102 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1004, allocations: 0 / 362.5 MB, free: 8.102 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001795/0.1006, allocations: 85.45 kB / 362.6 MB, free: 8.012 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.1006, allocations: 4 kB / 362.6 MB, free: 8.008 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.1006, allocations: 0 / 362.6 MB, free: 8.008 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.779e-06/0.1006, allocations: 4 kB / 362.6 MB, free: 8.004 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.589e-05/0.1007, allocations: 20.05 kB / 362.7 MB, free: 7.984 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.1007, allocations: 160 / 362.7 MB, free: 7.984 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.614e-05/0.1008, allocations: 11.94 kB / 362.7 MB, free: 7.973 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.1008, allocations: 7.938 kB / 362.7 MB, free: 7.965 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.789e-05/0.1009, allocations: 117.8 kB / 362.8 MB, free: 7.84 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.421e-05/0.1009, allocations: 7.906 kB / 362.8 MB, free: 7.832 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00031/0.1012, allocations: 125.3 kB / 362.9 MB, free: 7.707 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.1012, allocations: 4 kB / 362.9 MB, free: 7.703 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.1012, allocations: 0 / 362.9 MB, free: 7.703 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1012, allocations: 0 / 362.9 MB, free: 7.703 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001245/0.1014, allocations: 177.5 kB / 363.1 MB, free: 7.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.1014, allocations: 0 / 363.1 MB, free: 7.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.33e-05/0.1015, allocations: 15.98 kB / 363.1 MB, free: 7.465 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.1015, allocations: 3.938 kB / 363.1 MB, free: 7.461 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/0.1015, allocations: 3.938 kB / 363.1 MB, free: 7.457 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.1015, allocations: 11.98 kB / 363.1 MB, free: 7.445 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1015, allocations: 0 / 363.1 MB, free: 7.445 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002729/0.1018, allocations: 141.8 kB / 363.3 MB, free: 7.285 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.205e-05/0.1018, allocations: 97.44 kB / 363.4 MB, free: 7.172 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.716e-05/0.1019, allocations: 4 kB / 363.4 MB, free: 7.168 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.983e-05/0.1019, allocations: 0 / 363.4 MB, free: 7.168 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.503e-05/0.102, allocations: 12.05 kB / 363.4 MB, free: 7.156 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.121e-06/0.102, allocations: 0 / 363.4 MB, free: 7.156 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.537e-05/0.1021, allocations: 91.27 kB / 363.5 MB, free: 7.066 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1021, allocations: 3.938 kB / 363.5 MB, free: 7.062 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003881/0.1025, allocations: 131.9 kB / 363.6 MB, free: 6.934 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.000538/0.103, allocations: 288.1 kB / 363.9 MB, free: 6.652 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001698/0.1032, allocations: 47.97 kB / 363.9 MB, free: 6.605 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.1032, allocations: 0 / 363.9 MB, free: 6.605 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.105e-05/0.1033, allocations: 36.2 kB / 364 MB, free: 6.57 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001895/0.1035, allocations: 19.16 kB / 364 MB, free: 6.555 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005028/0.104, allocations: 347.4 kB / 364.3 MB, free: 6.184 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003375/0.1043, allocations: 0.6887 MB / 365 MB, free: 5.469 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.341e-05/0.1044, allocations: 27.42 kB / 365 MB, free: 5.445 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.329e-05/0.1045, allocations: 19.42 kB / 365.1 MB, free: 5.426 MB / 302.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1045, allocations: 0 / 365.1 MB, free: 5.426 MB / 302.1 MB Notification: Performance of Templates: time 0.006075/0.1105, allocations: 2.94 MB / 368 MB, free: 2.508 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 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1)