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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001959/0.00196, allocations: 179.5 kB / 16.39 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 223.2 MB / 240.3 MB, free: 10.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 94.75 kB / 291.5 MB, free: 10.69 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002911/0.0002912, allocations: 11.94 kB / 351.1 MB, free: 15.1 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2799/0.2803, allocations: 50.39 MB / 401.5 MB, free: 32.56 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4848/0.7652, allocations: 186.6 MB / 0.5743 GB, free: 22.45 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002606/0.7655, allocations: 80.36 kB / 0.5744 GB, free: 22.41 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06041/0.8259, allocations: 27.44 MB / 0.6012 GB, free: 14.91 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.826, allocations: 4 kB / 0.6012 GB, free: 14.91 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.396e-06/0.826, allocations: 0 / 0.6012 GB, free: 14.91 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.0008149/0.8268, allocations: 478 kB / 0.6017 GB, free: 14.4 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.8269, allocations: 11.97 kB / 0.6017 GB, free: 14.39 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.264e-05/0.8269, allocations: 7.906 kB / 0.6017 GB, free: 14.38 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002352/0.8272, allocations: 182.4 kB / 0.6018 GB, free: 14.17 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.8272, allocations: 4 kB / 0.6019 GB, free: 14.17 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.816e-05/0.8272, allocations: 0 / 0.6019 GB, free: 14.17 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.8274, allocations: 66.77 kB / 0.6019 GB, free: 14.1 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.8274, allocations: 3.953 kB / 0.6019 GB, free: 14.09 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.8274, allocations: 0 / 0.6019 GB, free: 14.09 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.8274, allocations: 4 kB / 0.6019 GB, free: 14.09 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.299e-05/0.8275, allocations: 23.89 kB / 0.6019 GB, free: 14.07 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002344/0.8277, allocations: 173.8 kB / 0.6021 GB, free: 13.85 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003061/0.8281, allocations: 84.72 kB / 0.6022 GB, free: 13.76 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00158/0.8296, allocations: 2.194 MB / 0.6043 GB, free: 11.09 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.027e-05/0.8297, allocations: 34.56 kB / 0.6044 GB, free: 11.05 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.8297, allocations: 0 / 0.6044 GB, free: 11.05 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002947/0.83, allocations: 88.42 kB / 0.6045 GB, free: 10.96 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.237e-05/0.8301, allocations: 80.55 kB / 0.6045 GB, free: 10.87 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.085e-05/0.8302, allocations: 108.5 kB / 0.6046 GB, free: 10.76 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.836e-05/0.8302, allocations: 25.7 kB / 0.6047 GB, free: 10.73 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.012e-05/0.8303, allocations: 83.95 kB / 0.6047 GB, free: 10.64 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.225e-05/0.8303, allocations: 19.22 kB / 0.6048 GB, free: 10.63 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-06/0.8303, allocations: 0 / 0.6048 GB, free: 10.63 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.8304, allocations: 326.6 kB / 0.6051 GB, free: 10.3 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.382e-05/0.8305, allocations: 11.98 kB / 0.6051 GB, free: 10.29 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.236e-05/0.8306, allocations: 38.8 kB / 0.6051 GB, free: 10.25 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.628e-05/0.8306, allocations: 11.75 kB / 0.6051 GB, free: 10.24 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.8306, allocations: 4 kB / 0.6051 GB, free: 10.23 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001849/0.8308, allocations: 88.19 kB / 0.6052 GB, free: 10.15 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.8309, allocations: 8 kB / 0.6052 GB, free: 10.14 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.8309, allocations: 0 / 0.6052 GB, free: 10.14 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.8309, allocations: 0 / 0.6052 GB, free: 10.14 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.402e-05/0.831, allocations: 19.98 kB / 0.6052 GB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.831, allocations: 7.891 kB / 0.6052 GB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.741e-05/0.831, allocations: 3.938 kB / 0.6053 GB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.267e-05/0.8311, allocations: 7.938 kB / 0.6053 GB, free: 10.11 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 () * 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 8.078e-05/0.8311, allocations: 117.2 kB / 0.6054 GB, free: 9.984 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.666e-05/0.8312, allocations: 7.906 kB / 0.6054 GB, free: 9.977 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003165/0.8315, allocations: 116.3 kB / 0.6055 GB, free: 9.875 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/0.8315, allocations: 3.984 kB / 0.6055 GB, free: 9.871 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.8315, allocations: 4.562 kB / 0.6055 GB, free: 9.867 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.8315, allocations: 3.953 kB / 0.6055 GB, free: 9.863 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001541/0.8317, allocations: 180.3 kB / 0.6057 GB, free: 9.648 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.8317, allocations: 3.938 kB / 0.6057 GB, free: 9.645 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.058e-05/0.8318, allocations: 11.94 kB / 0.6057 GB, free: 9.633 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.8318, allocations: 0 / 0.6057 GB, free: 9.633 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.8318, allocations: 4 kB / 0.6057 GB, free: 9.629 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.8318, allocations: 0 / 0.6057 GB, free: 9.629 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.8318, allocations: 3.984 kB / 0.6057 GB, free: 9.625 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003268/0.8322, allocations: 156.6 kB / 0.6058 GB, free: 9.465 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.005e-05/0.8322, allocations: 92.53 kB / 0.6059 GB, free: 9.359 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.8323, allocations: 3.812 kB / 0.6059 GB, free: 9.359 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.046e-05/0.8323, allocations: 3.984 kB / 0.6059 GB, free: 9.355 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.48e-05/0.8324, allocations: 11.89 kB / 0.606 GB, free: 9.344 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.8324, allocations: 7.984 kB / 0.606 GB, free: 9.336 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.073e-05/0.8324, allocations: 86.97 kB / 0.606 GB, free: 9.254 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.8325, allocations: 4.062 kB / 0.606 GB, free: 9.25 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005075/0.833, allocations: 142.5 kB / 0.6062 GB, free: 9.121 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 () * 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.0007434/0.8337, allocations: 307 kB / 0.6065 GB, free: 8.828 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001936/0.8339, allocations: 46.91 kB / 0.6065 GB, free: 8.789 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.8339, allocations: 0 / 0.6065 GB, free: 8.789 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.887e-05/0.834, allocations: 23.61 kB / 0.6065 GB, free: 8.77 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001612/0.8342, allocations: 11.94 kB / 0.6066 GB, free: 8.762 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000544/0.8347, allocations: 353 kB / 0.6069 GB, free: 8.391 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003076/0.8351, allocations: 0.6926 MB / 0.6076 GB, free: 7.672 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.822e-05/0.8352, allocations: 29.72 kB / 0.6076 GB, free: 7.648 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.759e-05/0.8352, allocations: 19.44 kB / 0.6076 GB, free: 7.629 MB / 394.7 MB Notification: Performance of SimCode: time 3.607e-06/0.8352, allocations: 0 / 0.6076 GB, free: 7.629 MB / 394.7 MB Notification: Performance of Templates: time 0.006382/0.8416, allocations: 2.858 MB / 0.6104 GB, free: 4.805 MB / 394.7 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)