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.001446/0.001446, allocations: 104 kB / 17.59 MB, free: 5.555 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.001165/0.001165, allocations: 191.5 kB / 18.51 MB, free: 4.637 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.328/1.328, allocations: 222.9 MB / 242.2 MB, free: 15.22 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000975/0.0009753, allocations: 49.97 kB / 301.3 MB, free: 5.883 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08919/0.09019, allocations: 49.44 MB / 350.7 MB, free: 4.434 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002351/0.09257, allocations: 1.361 MB / 352.1 MB, free: 3.055 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004841/0.09744, allocations: 3.983 MB / 356.1 MB, free: 15.05 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.526e-05/0.0975, allocations: 0 / 356.1 MB, free: 15.05 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.895e-05/0.09753, allocations: 3.938 kB / 356.1 MB, free: 15.04 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009433/0.09851, allocations: 282.9 kB / 356.3 MB, free: 14.77 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001134/0.09965, allocations: 492.9 kB / 356.8 MB, free: 14.29 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.726e-05/0.09974, allocations: 51.73 kB / 356.9 MB, free: 14.23 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.844e-05/0.09979, allocations: 4.281 kB / 356.9 MB, free: 14.23 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001176/0.09992, allocations: 43.78 kB / 356.9 MB, free: 14.19 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006199/0.1005, allocations: 367.2 kB / 357.3 MB, free: 13.83 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.265e-05/0.1006, allocations: 4 kB / 357.3 MB, free: 13.82 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008977/0.1015, allocations: 0.5421 MB / 357.8 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.695e-05/0.1015, allocations: 15.92 kB / 357.8 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.683e-05/0.1015, allocations: 23.86 kB / 357.9 MB, free: 13.24 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006746/0.1022, allocations: 451.2 kB / 358.3 MB, free: 12.8 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1022, allocations: 0 / 358.3 MB, free: 12.8 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1023, allocations: 4 kB / 358.3 MB, free: 12.8 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.251e-06/0.1023, allocations: 0 / 358.3 MB, free: 12.8 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.0005104/0.1028, allocations: 439.1 kB / 358.7 MB, free: 12.32 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.1028, allocations: 8.031 kB / 358.8 MB, free: 12.31 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.08e-05/0.1029, allocations: 4.938 kB / 358.8 MB, free: 12.31 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001986/0.1031, allocations: 184.3 kB / 358.9 MB, free: 12.09 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.1031, allocations: 4.375 kB / 358.9 MB, free: 12.09 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.338e-05/0.1031, allocations: 7.938 kB / 358.9 MB, free: 12.08 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/0.1033, allocations: 67.33 kB / 359 MB, free: 12 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.1033, allocations: 0 / 359 MB, free: 12 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.1033, allocations: 0 / 359 MB, free: 12 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.1033, allocations: 0 / 359 MB, free: 12 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.988e-05/0.1034, allocations: 23.92 kB / 359 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001736/0.1036, allocations: 174.5 kB / 359.2 MB, free: 11.75 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002566/0.1038, allocations: 85.06 kB / 359.3 MB, free: 11.65 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.213e-05/0.1039, allocations: 25.77 kB / 359.3 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009339/0.1049, allocations: 1.54 MB / 360.9 MB, free: 9.73 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.1049, allocations: 42.5 kB / 360.9 MB, free: 9.68 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.1049, allocations: 0 / 360.9 MB, free: 9.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002897/0.1052, allocations: 81.5 kB / 361 MB, free: 9.594 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.619e-05/0.1052, allocations: 81.11 kB / 361.1 MB, free: 9.496 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.356e-05/0.1053, allocations: 109.8 kB / 361.2 MB, free: 9.379 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.1054, allocations: 25.7 kB / 361.2 MB, free: 9.348 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.952e-05/0.1054, allocations: 88.12 kB / 361.3 MB, free: 9.258 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.461e-05/0.1054, allocations: 23.7 kB / 361.3 MB, free: 9.234 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.744e-05/0.1055, allocations: 25.7 kB / 361.3 MB, free: 9.203 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.878e-05/0.1056, allocations: 314.8 kB / 361.6 MB, free: 8.887 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.027e-05/0.1057, allocations: 15.98 kB / 361.6 MB, free: 8.871 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.813e-05/0.1057, allocations: 35.42 kB / 361.7 MB, free: 8.824 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001344/0.1059, allocations: 63.36 kB / 361.7 MB, free: 8.75 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1059, allocations: 0 / 361.7 MB, free: 8.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000185/0.1061, allocations: 81.55 kB / 361.8 MB, free: 8.664 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.1061, allocations: 11.92 kB / 361.8 MB, free: 8.652 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.1061, allocations: 0 / 361.8 MB, free: 8.652 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.1061, allocations: 7.938 kB / 361.8 MB, free: 8.645 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.577e-05/0.1062, allocations: 16 kB / 361.9 MB, free: 8.629 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.1062, allocations: 4.062 kB / 361.9 MB, free: 8.625 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.832e-05/0.1063, allocations: 19.83 kB / 361.9 MB, free: 8.605 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.1063, allocations: 0 / 361.9 MB, free: 8.605 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 7.054e-05/0.1064, allocations: 113.8 kB / 362 MB, free: 8.484 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.957e-05/0.1064, allocations: 8 kB / 362 MB, free: 8.477 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003493/0.1068, allocations: 120.5 kB / 362.1 MB, free: 8.355 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/0.1068, allocations: 4 kB / 362.1 MB, free: 8.352 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1068, allocations: 0 / 362.1 MB, free: 8.352 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1068, allocations: 0 / 362.1 MB, free: 8.352 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001276/0.1069, allocations: 178.1 kB / 362.3 MB, free: 8.129 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.1069, allocations: 0 / 362.3 MB, free: 8.129 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.627e-05/0.107, allocations: 11.98 kB / 362.3 MB, free: 8.117 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.107, allocations: 7.938 kB / 362.3 MB, free: 8.109 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.228e-06/0.1071, allocations: 0 / 362.3 MB, free: 8.109 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.1071, allocations: 0 / 362.3 MB, free: 8.109 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.1071, allocations: 0 / 362.3 MB, free: 8.109 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002691/0.1073, allocations: 157.7 kB / 362.5 MB, free: 7.934 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.066e-05/0.1074, allocations: 89.11 kB / 362.6 MB, free: 7.828 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.643e-05/0.1074, allocations: 0 / 362.6 MB, free: 7.828 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.411e-05/0.1075, allocations: 8 kB / 362.6 MB, free: 7.82 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.795e-05/0.1075, allocations: 7.984 kB / 362.6 MB, free: 7.812 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.162e-06/0.1075, allocations: 4.062 kB / 362.6 MB, free: 7.809 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.308e-05/0.1076, allocations: 91.81 kB / 362.7 MB, free: 7.719 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1076, allocations: 0 / 362.7 MB, free: 7.719 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004117/0.108, allocations: 131.9 kB / 362.8 MB, free: 7.59 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.0005678/0.1086, allocations: 301.6 kB / 363.1 MB, free: 7.297 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001867/0.1088, allocations: 47.91 kB / 363.1 MB, free: 7.25 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1088, allocations: 8.062 kB / 363.1 MB, free: 7.242 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.432e-05/0.1089, allocations: 31.92 kB / 363.2 MB, free: 7.211 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000185/0.1091, allocations: 26.61 kB / 363.2 MB, free: 7.188 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004875/0.1096, allocations: 316.5 kB / 363.5 MB, free: 6.84 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002021/0.1098, allocations: 0.6883 MB / 364.2 MB, free: 6.125 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.074e-05/0.1098, allocations: 19.42 kB / 364.2 MB, free: 6.105 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1098, allocations: 0 / 364.2 MB, free: 6.105 MB / 302.1 MB Notification: Performance of Templates: time 0.004464/0.1143, allocations: 2.882 MB / 367.1 MB, free: 3.246 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)