Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001091/0.001091, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.425/1.425, allocations: 227.2 MB / 245 MB, free: 5.77 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009585/0.0009585, allocations: 99.53 kB / 297.3 MB, free: 5.961 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002856/0.0002857, allocations: 8 kB / 358 MB, free: 9.215 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3011/0.3014, allocations: 51.49 MB / 409.5 MB, free: 26.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.219/1.521, allocations: 499.2 MB / 0.8874 GB, free: 143.5 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000272/1.521, allocations: 75.97 kB / 0.8875 GB, free: 143.4 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06234/1.583, allocations: 31.41 MB / 0.9182 GB, free: 111.9 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.715e-06/1.583, allocations: 0 / 0.9182 GB, free: 111.9 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.366e-06/1.583, allocations: 0 / 0.9182 GB, free: 111.9 MB / 458.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.000522/1.584, allocations: 431 kB / 0.9186 GB, free: 111.4 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/1.584, allocations: 8.031 kB / 0.9186 GB, free: 111.4 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.972e-05/1.584, allocations: 38.55 kB / 0.9186 GB, free: 111.4 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001193/1.585, allocations: 115.7 kB / 0.9187 GB, free: 111.2 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000216/1.585, allocations: 218.9 kB / 0.9189 GB, free: 111 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/1.585, allocations: 4 kB / 0.9189 GB, free: 111 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.247e-05/1.586, allocations: 0 / 0.9189 GB, free: 111 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001961/1.586, allocations: 91.33 kB / 0.919 GB, free: 110.9 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/1.586, allocations: 0 / 0.919 GB, free: 110.9 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/1.586, allocations: 4 kB / 0.919 GB, free: 110.9 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/1.586, allocations: 0 / 0.919 GB, free: 110.9 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001621/1.586, allocations: 59.78 kB / 0.9191 GB, free: 110.8 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002247/1.586, allocations: 199 kB / 0.9193 GB, free: 110.6 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004392/1.587, allocations: 125.2 kB / 0.9194 GB, free: 110.4 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007366/1.587, allocations: 1.639 MB / 0.921 GB, free: 108.4 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/1.587, allocations: 34.56 kB / 0.921 GB, free: 108.4 MB / 458.7 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/1.587, allocations: 0 / 0.921 GB, free: 108.4 MB / 458.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004386/1.588, allocations: 133.4 kB / 0.9212 GB, free: 108.3 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.08e-05/1.588, allocations: 81.11 kB / 0.9212 GB, free: 108.2 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001762/1.588, allocations: 149 kB / 0.9214 GB, free: 108 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/1.588, allocations: 29.64 kB / 0.9214 GB, free: 108 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.667e-05/1.588, allocations: 88.14 kB / 0.9215 GB, free: 107.9 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.683e-05/1.588, allocations: 19.64 kB / 0.9215 GB, free: 107.9 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.008e-05/1.588, allocations: 4 kB / 0.9215 GB, free: 107.9 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.339e-05/1.588, allocations: 318.8 kB / 0.9218 GB, free: 107.5 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.271e-05/1.588, allocations: 27.97 kB / 0.9218 GB, free: 107.5 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.52e-05/1.588, allocations: 55.41 kB / 0.9219 GB, free: 107.4 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.884e-05/1.589, allocations: 31.92 kB / 0.9219 GB, free: 107.4 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/1.589, allocations: 0 / 0.9219 GB, free: 107.4 MB / 458.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002788/1.589, allocations: 121.5 kB / 0.922 GB, free: 107.3 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/1.589, allocations: 4 kB / 0.922 GB, free: 107.3 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/1.589, allocations: 4 kB / 0.922 GB, free: 107.3 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/1.589, allocations: 4.062 kB / 0.922 GB, free: 107.3 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/1.589, allocations: 23.97 kB / 0.9221 GB, free: 107.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/1.589, allocations: 0 / 0.9221 GB, free: 107.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001864/1.589, allocations: 4 kB / 0.9221 GB, free: 107.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.195e-05/1.589, allocations: 11.98 kB / 0.9221 GB, free: 107.2 MB / 458.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 7.539e-05/1.589, allocations: 121.7 kB / 0.9222 GB, free: 107.1 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.78e-05/1.589, allocations: 4 kB / 0.9222 GB, free: 107.1 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000487/1.59, allocations: 249.1 kB / 0.9224 GB, free: 106.9 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/1.59, allocations: 0 / 0.9224 GB, free: 106.9 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/1.59, allocations: 0 / 0.9224 GB, free: 106.9 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/1.59, allocations: 0 / 0.9224 GB, free: 106.9 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001517/1.59, allocations: 219 kB / 0.9227 GB, free: 106.6 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/1.59, allocations: 0 / 0.9227 GB, free: 106.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001786/1.59, allocations: 23.91 kB / 0.9227 GB, free: 106.6 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/1.59, allocations: 11.94 kB / 0.9227 GB, free: 106.6 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/1.59, allocations: 4 kB / 0.9227 GB, free: 106.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/1.59, allocations: 0 / 0.9227 GB, free: 106.6 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/1.59, allocations: 4.516 kB / 0.9227 GB, free: 106.6 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003662/1.591, allocations: 187.4 kB / 0.9229 GB, free: 106.3 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.826e-05/1.591, allocations: 101.1 kB / 0.923 GB, free: 106.2 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.398e-05/1.591, allocations: 0 / 0.923 GB, free: 106.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001797/1.591, allocations: 4 kB / 0.923 GB, free: 106.2 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.466e-05/1.591, allocations: 11.97 kB / 0.923 GB, free: 106.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.229e-05/1.591, allocations: 11.98 kB / 0.923 GB, free: 106.2 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001326/1.591, allocations: 127.2 kB / 0.9231 GB, free: 106.1 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/1.591, allocations: 3.938 kB / 0.9231 GB, free: 106.1 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0006071/1.592, allocations: 179.7 kB / 0.9233 GB, free: 105.9 MB / 458.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 (8): * Single equations (assignments): 7 * 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.001528/1.593, allocations: 1.403 MB / 0.9247 GB, free: 104.5 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002443/1.594, allocations: 75.88 kB / 0.9247 GB, free: 104.4 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/1.594, allocations: 0 / 0.9247 GB, free: 104.4 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001079/1.594, allocations: 51.84 kB / 0.9248 GB, free: 104.3 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001591/1.594, allocations: 14.31 kB / 0.9248 GB, free: 104.3 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001436/1.595, allocations: 1.36 MB / 0.9261 GB, free: 102.9 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000126/1.595, allocations: 0.6965 MB / 0.9268 GB, free: 102.2 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0004592/1.596, allocations: 430.8 kB / 0.9272 GB, free: 101.8 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001372/1.596, allocations: 55.38 kB / 0.9273 GB, free: 101.7 MB / 458.7 MB Notification: Performance of SimCode: time 2.61e-07/1.596, allocations: 0 / 0.9273 GB, free: 101.7 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02588/1.622, allocations: 14.15 MB / 0.9411 GB, free: 87.68 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001741/1.622, allocations: 238.7 kB / 0.9413 GB, free: 87.43 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.247/3.869, allocations: 0 / 0.9413 GB, free: 87.43 MB / 458.7 MB (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T.fmu > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1)