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.001835/0.001835, allocations: 192.5 kB / 14.16 MB, free: 1.156 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.679/1.679, allocations: 225.4 MB / 240.1 MB, free: 15.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009887/0.0009887, allocations: 91.56 kB / 292.1 MB, free: 5.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.712e-05/4.723e-05, allocations: 4 kB / 350.6 MB, free: 2.449 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1605/0.1605, allocations: 51.47 MB / 402.1 MB, free: 14.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.54/1.7, allocations: 499.1 MB / 0.8801 GB, free: 60.9 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002491/1.701, allocations: 73.03 kB / 0.8802 GB, free: 60.83 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06624/1.767, allocations: 31.34 MB / 0.9108 GB, free: 29.54 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.944e-06/1.767, allocations: 0 / 0.9108 GB, free: 29.54 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.183e-05/1.767, allocations: 0 / 0.9108 GB, free: 29.54 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.0005531/1.767, allocations: 422.2 kB / 0.9112 GB, free: 29.08 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.341e-05/1.767, allocations: 8.031 kB / 0.9112 GB, free: 29.07 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.579e-05/1.768, allocations: 31.59 kB / 0.9113 GB, free: 29.04 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001003/1.769, allocations: 115.1 kB / 0.9114 GB, free: 28.93 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001803/1.769, allocations: 183 kB / 0.9115 GB, free: 28.71 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/1.769, allocations: 8 kB / 0.9115 GB, free: 28.7 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.574e-05/1.769, allocations: 3.281 kB / 0.9115 GB, free: 28.7 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001358/1.769, allocations: 71.31 kB / 0.9116 GB, free: 28.62 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/1.769, allocations: 4 kB / 0.9116 GB, free: 28.61 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/1.769, allocations: 0 / 0.9116 GB, free: 28.61 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/1.769, allocations: 0 / 0.9116 GB, free: 28.61 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.617e-05/1.769, allocations: 35.94 kB / 0.9117 GB, free: 28.58 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002002/1.769, allocations: 186.6 kB / 0.9118 GB, free: 28.34 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003398/1.77, allocations: 98.44 kB / 0.9119 GB, free: 28.23 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.846e-05/1.77, allocations: 33.86 kB / 0.912 GB, free: 28.19 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008126/1.771, allocations: 1.635 MB / 0.9136 GB, free: 26.19 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/1.771, allocations: 34.5 kB / 0.9136 GB, free: 26.14 MB / 458.7 MB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/1.771, allocations: 0 / 0.9136 GB, free: 26.14 MB / 458.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002263/1.771, allocations: 74.44 kB / 0.9137 GB, free: 26.07 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/1.771, allocations: 81.11 kB / 0.9137 GB, free: 25.97 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000133/1.771, allocations: 130.7 kB / 0.9139 GB, free: 25.84 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/1.771, allocations: 25.7 kB / 0.9139 GB, free: 25.8 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.986e-05/1.771, allocations: 92.08 kB / 0.914 GB, free: 25.71 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.677e-05/1.771, allocations: 27.64 kB / 0.914 GB, free: 25.68 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.623e-06/1.771, allocations: 0 / 0.914 GB, free: 25.68 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.541e-05/1.771, allocations: 314.8 kB / 0.9143 GB, free: 25.37 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.938e-05/1.771, allocations: 24.62 kB / 0.9143 GB, free: 25.34 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.493e-05/1.771, allocations: 35.44 kB / 0.9144 GB, free: 25.3 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.23e-05/1.771, allocations: 27.98 kB / 0.9144 GB, free: 25.27 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/1.771, allocations: 0 / 0.9144 GB, free: 25.27 MB / 458.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000154/1.772, allocations: 101.5 kB / 0.9145 GB, free: 25.16 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/1.772, allocations: 4 kB / 0.9145 GB, free: 25.16 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/1.772, allocations: 0 / 0.9145 GB, free: 25.16 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/1.772, allocations: 5.875 kB / 0.9145 GB, free: 25.16 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/1.772, allocations: 15.98 kB / 0.9145 GB, free: 25.14 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/1.772, allocations: 0 / 0.9145 GB, free: 25.14 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001417/1.772, allocations: 12.05 kB / 0.9145 GB, free: 25.13 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.934e-05/1.772, allocations: 7.953 kB / 0.9145 GB, free: 25.12 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 () * 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 5.88e-05/1.772, allocations: 105 kB / 0.9146 GB, free: 25.01 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.13e-05/1.772, allocations: 7.906 kB / 0.9146 GB, free: 25 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002511/1.772, allocations: 113.5 kB / 0.9147 GB, free: 24.88 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/1.772, allocations: 0 / 0.9147 GB, free: 24.88 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/1.772, allocations: 8 kB / 0.9147 GB, free: 24.88 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/1.772, allocations: 0 / 0.9147 GB, free: 24.88 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001271/1.772, allocations: 185.4 kB / 0.9149 GB, free: 24.64 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/1.772, allocations: 0 / 0.9149 GB, free: 24.64 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001156/1.773, allocations: 15.98 kB / 0.9149 GB, free: 24.63 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/1.773, allocations: 0 / 0.9149 GB, free: 24.63 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/1.773, allocations: 4 kB / 0.9149 GB, free: 24.62 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/1.773, allocations: 5.078 kB / 0.9149 GB, free: 24.62 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/1.773, allocations: 0 / 0.9149 GB, free: 24.62 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002139/1.773, allocations: 143.6 kB / 0.9151 GB, free: 24.45 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.93e-05/1.773, allocations: 93.02 kB / 0.9152 GB, free: 24.34 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.948e-05/1.773, allocations: 4.938 kB / 0.9152 GB, free: 24.34 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/1.773, allocations: 7.984 kB / 0.9152 GB, free: 24.33 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.098e-05/1.773, allocations: 4 kB / 0.9152 GB, free: 24.33 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.075e-05/1.773, allocations: 7.984 kB / 0.9152 GB, free: 24.32 MB / 458.7 MB Notification: Performance of sorting global known variables: time 6.741e-05/1.773, allocations: 108.5 kB / 0.9153 GB, free: 24.21 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.5e-07/1.773, allocations: 4.062 kB / 0.9153 GB, free: 24.21 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0005731/1.774, allocations: 167.8 kB / 0.9155 GB, free: 24.05 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.001413/1.775, allocations: 1.343 MB / 0.9168 GB, free: 22.68 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.000151/1.775, allocations: 56.08 kB / 0.9168 GB, free: 22.63 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/1.775, allocations: 0 / 0.9168 GB, free: 22.63 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 4.611e-05/1.775, allocations: 32.22 kB / 0.9169 GB, free: 22.6 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001676/1.776, allocations: 15.95 kB / 0.9169 GB, free: 22.58 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006537/1.776, allocations: 327.5 kB / 0.9172 GB, free: 22.22 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001395/1.776, allocations: 0.6887 MB / 0.9179 GB, free: 21.51 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.000186/1.777, allocations: 47.89 kB / 0.9179 GB, free: 21.46 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000111/1.777, allocations: 40.47 kB / 0.9179 GB, free: 21.42 MB / 458.7 MB Notification: Performance of SimCode: time 2.5e-07/1.777, allocations: 0 / 0.9179 GB, free: 21.42 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0267/1.803, allocations: 14.7 MB / 0.9323 GB, free: 6.895 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001704/1.804, allocations: 204.6 kB / 0.9325 GB, free: 6.668 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.222/4.026, allocations: 3.5 kB / 0.9325 GB, free: 6.668 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)