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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.001458/0.001458, allocations: 182.2 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.678/1.678, allocations: 194.3 MB / 208.4 MB, free: 6.711 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001723/0.001723, allocations: 116.7 kB / 253.5 MB, free: 9.582 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.998e-05/3.002e-05, allocations: 4 kB / 304.9 MB, free: 29.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09364/0.09368, allocations: 44.49 MB / 349.4 MB, free: 1.258 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4859/0.5796, allocations: 187.1 MB / 0.524 GB, free: 9.574 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000234/0.5799, allocations: 73.45 kB / 0.524 GB, free: 9.535 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3164/0.8963, allocations: 36.75 MB / 0.5599 GB, free: 133.4 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.474e-06/0.8964, allocations: 0 / 0.5599 GB, free: 133.4 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.294e-06/0.8964, allocations: 3.938 kB / 0.5599 GB, free: 133.4 MB / 394.7 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.0007206/0.8971, allocations: 485.9 kB / 0.5604 GB, free: 132.9 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.8972, allocations: 19.97 kB / 0.5604 GB, free: 132.9 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.382e-05/0.8972, allocations: 7.906 kB / 0.5604 GB, free: 132.9 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001715/0.8974, allocations: 180.8 kB / 0.5606 GB, free: 132.6 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.8974, allocations: 4 kB / 0.5606 GB, free: 132.6 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.995e-05/0.8974, allocations: 0 / 0.5606 GB, free: 132.6 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.735e-05/0.8975, allocations: 64.08 kB / 0.5607 GB, free: 132.6 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.8976, allocations: 4 kB / 0.5607 GB, free: 132.6 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.8976, allocations: 3.953 kB / 0.5607 GB, free: 132.6 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.697e-06/0.8976, allocations: 4 kB / 0.5607 GB, free: 132.6 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.689e-05/0.8976, allocations: 15.94 kB / 0.5607 GB, free: 132.5 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001405/0.8978, allocations: 174.6 kB / 0.5609 GB, free: 132.3 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002136/0.898, allocations: 73.14 kB / 0.5609 GB, free: 132.2 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.065e-05/0.8981, allocations: 29.94 kB / 0.561 GB, free: 132.2 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008024/0.8989, allocations: 1.817 MB / 0.5627 GB, free: 130 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.424e-05/0.8989, allocations: 38.5 kB / 0.5628 GB, free: 129.9 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.8989, allocations: 0 / 0.5628 GB, free: 129.9 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001482/0.899, allocations: 69.47 kB / 0.5628 GB, free: 129.8 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.681e-05/0.8991, allocations: 81.11 kB / 0.5629 GB, free: 129.8 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.585e-05/0.8992, allocations: 101 kB / 0.563 GB, free: 129.6 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.969e-06/0.8992, allocations: 29.7 kB / 0.563 GB, free: 129.6 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.393e-05/0.8992, allocations: 88.14 kB / 0.5631 GB, free: 129.5 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.175e-05/0.8992, allocations: 27.62 kB / 0.5631 GB, free: 129.5 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.406e-06/0.8992, allocations: 0 / 0.5631 GB, free: 129.5 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 4.912e-05/0.8993, allocations: 314.8 kB / 0.5634 GB, free: 129.2 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.304e-05/0.8993, allocations: 12 kB / 0.5635 GB, free: 129.2 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.715e-05/0.8994, allocations: 43.3 kB / 0.5635 GB, free: 129.1 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.1e-05/0.8994, allocations: 19.98 kB / 0.5635 GB, free: 129.1 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.8994, allocations: 0 / 0.5635 GB, free: 129.1 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.63e-05/0.8995, allocations: 69.62 kB / 0.5636 GB, free: 129 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.8995, allocations: 8 kB / 0.5636 GB, free: 129 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.8995, allocations: 3.984 kB / 0.5636 GB, free: 129 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.8996, allocations: 0 / 0.5636 GB, free: 129 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.699e-05/0.8996, allocations: 12 kB / 0.5636 GB, free: 129 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.8996, allocations: 11.89 kB / 0.5636 GB, free: 129 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.405e-05/0.8997, allocations: 11.95 kB / 0.5636 GB, free: 129 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.8997, allocations: 4 kB / 0.5636 GB, free: 129 MB / 394.7 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 () * 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 4.315e-05/0.8998, allocations: 112.9 kB / 0.5637 GB, free: 128.8 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.081e-05/0.8998, allocations: 0 / 0.5637 GB, free: 128.8 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002074/0.9, allocations: 113.5 kB / 0.5638 GB, free: 128.7 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-06/0.9, allocations: 11.98 kB / 0.5639 GB, free: 128.7 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.9, allocations: 0 / 0.5639 GB, free: 128.7 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.9, allocations: 3.953 kB / 0.5639 GB, free: 128.7 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.726e-05/0.9001, allocations: 169.7 kB / 0.564 GB, free: 128.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.9001, allocations: 0 / 0.564 GB, free: 128.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.363e-05/0.9002, allocations: 11.94 kB / 0.564 GB, free: 128.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.9002, allocations: 4 kB / 0.564 GB, free: 128.5 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/0.9002, allocations: 288 / 0.564 GB, free: 128.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.9002, allocations: 3.984 kB / 0.564 GB, free: 128.5 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.9003, allocations: 0 / 0.564 GB, free: 128.5 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001572/0.9004, allocations: 151.5 kB / 0.5642 GB, free: 128.3 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.592e-05/0.9005, allocations: 89.12 kB / 0.5643 GB, free: 128.2 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.703e-05/0.9005, allocations: 0 / 0.5643 GB, free: 128.2 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.19e-05/0.9005, allocations: 11.98 kB / 0.5643 GB, free: 128.2 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.228e-05/0.9006, allocations: 15.89 kB / 0.5643 GB, free: 128.2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.9006, allocations: 3.938 kB / 0.5643 GB, free: 128.2 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.148e-05/0.9006, allocations: 95.33 kB / 0.5644 GB, free: 128.1 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.9006, allocations: 0 / 0.5644 GB, free: 128.1 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000531/0.9012, allocations: 187.7 kB / 0.5646 GB, free: 127.9 MB / 394.7 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 () * 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.0006672/0.9018, allocations: 378.5 kB / 0.5649 GB, free: 127.5 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001067/0.902, allocations: 36 kB / 0.565 GB, free: 127.5 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.902, allocations: 4.125 kB / 0.565 GB, free: 127.5 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.471e-05/0.902, allocations: 27.92 kB / 0.565 GB, free: 127.4 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001396/0.9022, allocations: 12.72 kB / 0.565 GB, free: 127.4 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003337/0.9025, allocations: 226.3 kB / 0.5652 GB, free: 127.2 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001156/0.9027, allocations: 0.6887 MB / 0.5659 GB, free: 126.5 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.716e-05/0.9027, allocations: 27.97 kB / 0.5659 GB, free: 126.4 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.816e-05/0.9028, allocations: 19.42 kB / 0.5659 GB, free: 126.4 MB / 394.7 MB Notification: Performance of SimCode: time 2.51e-07/0.9028, allocations: 0 / 0.5659 GB, free: 126.4 MB / 394.7 MB Notification: Performance of Templates: time 0.006374/0.9091, allocations: 3.526 MB / 0.5694 GB, free: 122.9 MB / 394.7 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)