Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.000806/0.0008062, allocations: 90.11 kB / 16.65 MB, free: 6.535 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.0008123/0.0008124, allocations: 176.9 kB / 17.56 MB, free: 6.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.296/1.296, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007781/0.0007782, allocations: 12 kB / 280.7 MB, free: 3.438 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08612/0.08691, allocations: 47.58 MB / 328.3 MB, free: 3.793 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.001303/0.08826, allocations: 1.091 MB / 329.4 MB, free: 2.691 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.008656/0.09694, allocations: 7.17 MB / 336.6 MB, free: 11.48 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.775e-05/0.09701, allocations: 4 kB / 336.6 MB, free: 11.48 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.854e-05/0.09704, allocations: 3.984 kB / 336.6 MB, free: 11.47 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000938/0.09798, allocations: 243.2 kB / 336.8 MB, free: 11.23 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001457/0.09945, allocations: 0.5804 MB / 337.4 MB, free: 10.65 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.568e-05/0.09955, allocations: 55.67 kB / 337.4 MB, free: 10.6 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.285e-05/0.09959, allocations: 3.984 kB / 337.5 MB, free: 10.59 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001078/0.0997, allocations: 35.91 kB / 337.5 MB, free: 10.56 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006807/0.1004, allocations: 411.1 kB / 337.9 MB, free: 10.16 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.103e-05/0.1004, allocations: 0 / 337.9 MB, free: 10.16 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001186/0.1016, allocations: 0.7329 MB / 338.6 MB, free: 9.422 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.226e-05/0.1017, allocations: 11.92 kB / 338.6 MB, free: 9.41 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.352e-05/0.1017, allocations: 41.64 kB / 338.7 MB, free: 9.363 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009617/0.1027, allocations: 0.5772 MB / 339.2 MB, free: 8.785 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1027, allocations: 0 / 339.2 MB, free: 8.785 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1027, allocations: 0 / 339.2 MB, free: 8.785 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.1027, allocations: 0 / 339.2 MB, free: 8.785 MB / 286.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.0005813/0.1033, allocations: 455.2 kB / 339.7 MB, free: 8.293 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.1033, allocations: 8.031 kB / 339.7 MB, free: 8.285 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.519e-05/0.1034, allocations: 12.84 kB / 339.7 MB, free: 8.273 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002123/0.1036, allocations: 184.3 kB / 339.9 MB, free: 8.055 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.1036, allocations: 384 / 339.9 MB, free: 8.055 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.187e-05/0.1036, allocations: 12.28 kB / 339.9 MB, free: 8.043 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.1038, allocations: 67.44 kB / 340 MB, free: 7.965 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.1038, allocations: 0 / 340 MB, free: 7.965 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.1038, allocations: 4 kB / 340 MB, free: 7.961 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.1038, allocations: 0 / 340 MB, free: 7.961 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.141e-05/0.1039, allocations: 23.98 kB / 340 MB, free: 7.938 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001793/0.1041, allocations: 170.6 kB / 340.2 MB, free: 7.719 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002645/0.1044, allocations: 77.12 kB / 340.2 MB, free: 7.625 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.54e-05/0.1045, allocations: 25.72 kB / 340.3 MB, free: 7.594 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001008/0.1055, allocations: 1.544 MB / 341.8 MB, free: 5.699 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/0.1055, allocations: 38.5 kB / 341.8 MB, free: 5.652 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.1055, allocations: 0 / 341.8 MB, free: 5.652 MB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002797/0.1058, allocations: 81.59 kB / 341.9 MB, free: 5.566 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.1059, allocations: 77.11 kB / 342 MB, free: 5.473 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.333e-05/0.106, allocations: 121.8 kB / 342.1 MB, free: 5.344 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.106, allocations: 29.64 kB / 342.2 MB, free: 5.309 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.459e-05/0.106, allocations: 84.12 kB / 342.2 MB, free: 5.223 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.39e-05/0.1061, allocations: 23.66 kB / 342.3 MB, free: 5.199 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.657e-05/0.1061, allocations: 13.72 kB / 342.3 MB, free: 5.18 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.1062, allocations: 318.8 kB / 342.6 MB, free: 4.859 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.577e-05/0.1063, allocations: 12 kB / 342.6 MB, free: 4.848 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.801e-05/0.1063, allocations: 39.42 kB / 342.6 MB, free: 4.797 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001259/0.1065, allocations: 59.34 kB / 342.7 MB, free: 4.727 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1065, allocations: 4 kB / 342.7 MB, free: 4.723 MB / 286.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001898/0.1067, allocations: 85.83 kB / 342.8 MB, free: 4.633 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.1067, allocations: 8.062 kB / 342.8 MB, free: 4.625 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.1067, allocations: 0 / 342.8 MB, free: 4.625 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.1067, allocations: 8.094 kB / 342.8 MB, free: 4.617 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.973e-05/0.1068, allocations: 27.86 kB / 342.8 MB, free: 4.59 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.1068, allocations: 0 / 342.8 MB, free: 4.59 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.503e-05/0.1069, allocations: 7.984 kB / 342.8 MB, free: 4.582 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.1069, allocations: 0 / 342.8 MB, free: 4.582 MB / 286.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.022e-05/0.107, allocations: 117.8 kB / 342.9 MB, free: 4.457 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.291e-05/0.107, allocations: 11.84 kB / 343 MB, free: 4.445 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003057/0.1073, allocations: 117.5 kB / 343.1 MB, free: 4.328 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.842e-06/0.1073, allocations: 4 kB / 343.1 MB, free: 4.324 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.1073, allocations: 0 / 343.1 MB, free: 4.324 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.1073, allocations: 0 / 343.1 MB, free: 4.324 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001405/0.1075, allocations: 173.6 kB / 343.2 MB, free: 4.105 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.1075, allocations: 0 / 343.2 MB, free: 4.105 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.305e-05/0.1076, allocations: 23.86 kB / 343.3 MB, free: 4.082 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.371e-06/0.1076, allocations: 4 kB / 343.3 MB, free: 4.078 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.1076, allocations: 4 kB / 343.3 MB, free: 4.074 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.1076, allocations: 0 / 343.3 MB, free: 4.074 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.1076, allocations: 3.938 kB / 343.3 MB, free: 4.07 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002835/0.1079, allocations: 137.8 kB / 343.4 MB, free: 3.914 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.645e-05/0.108, allocations: 105 kB / 343.5 MB, free: 3.793 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.61e-05/0.108, allocations: 0 / 343.5 MB, free: 3.793 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.356e-05/0.1081, allocations: 4 kB / 343.5 MB, free: 3.789 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.505e-05/0.1081, allocations: 11.92 kB / 343.5 MB, free: 3.777 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.175e-06/0.1081, allocations: 4 kB / 343.5 MB, free: 3.773 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.073e-05/0.1082, allocations: 87.27 kB / 343.6 MB, free: 3.688 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1082, allocations: 0 / 343.6 MB, free: 3.688 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004686/0.1086, allocations: 167.9 kB / 343.8 MB, free: 3.523 MB / 286.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.000736/0.1094, allocations: 374.3 kB / 344.1 MB, free: 3.156 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001819/0.1096, allocations: 47.91 kB / 344.2 MB, free: 3.109 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1096, allocations: 0 / 344.2 MB, free: 3.109 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 8.56e-05/0.1097, allocations: 28.11 kB / 344.2 MB, free: 3.082 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002008/0.1099, allocations: 28.11 kB / 344.3 MB, free: 3.055 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005006/0.1104, allocations: 343 kB / 344.6 MB, free: 2.691 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002212/0.1106, allocations: 0.6888 MB / 345.3 MB, free: 1.977 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 7.474e-05/0.1107, allocations: 27.75 kB / 345.3 MB, free: 1.949 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.59e-05/0.1108, allocations: 23.42 kB / 345.3 MB, free: 1.926 MB / 286.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1108, allocations: 4 kB / 345.3 MB, free: 1.922 MB / 286.1 MB Notification: Performance of Templates: time 0.007083/0.1179, allocations: 3.666 MB / 349 MB, free: 14.25 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & ./Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1)