Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,fileNamePrefix="Modelica_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001469/0.001469, allocations: 181.3 kB / 17.02 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.702/1.702, allocations: 205.4 MB / 223.1 MB, free: 9.109 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001043/0.001043, allocations: 97.33 kB / 271.5 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003132/0.0003133, allocations: 8 kB / 328.3 MB, free: 15.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2927/0.293, allocations: 47.57 MB / 375.9 MB, free: 45.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.193/1.486, allocations: 0.5935 GB / 0.9606 GB, free: 4.211 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002112/1.486, allocations: 79.14 kB / 0.9607 GB, free: 4.168 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2936/1.78, allocations: 41.79 MB / 1.001 GB, free: 139.9 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.577e-06/1.78, allocations: 0 / 1.001 GB, free: 139.9 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.317e-05/1.78, allocations: 4 kB / 1.001 GB, free: 139.9 MB / 426.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.001008/1.781, allocations: 470.9 kB / 1.002 GB, free: 139.4 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.143e-05/1.781, allocations: 12.02 kB / 1.002 GB, free: 139.4 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.289e-05/1.781, allocations: 30.56 kB / 1.002 GB, free: 139.4 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00111/1.782, allocations: 103.7 kB / 1.002 GB, free: 139.3 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002808/1.782, allocations: 211 kB / 1.002 GB, free: 139 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/1.782, allocations: 8 kB / 1.002 GB, free: 139 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.413e-05/1.782, allocations: 4 kB / 1.002 GB, free: 139 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002165/1.783, allocations: 99.27 kB / 1.002 GB, free: 138.9 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/1.783, allocations: 3.938 kB / 1.002 GB, free: 138.9 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/1.783, allocations: 0 / 1.002 GB, free: 138.9 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/1.783, allocations: 3.984 kB / 1.002 GB, free: 138.9 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001702/1.783, allocations: 43.95 kB / 1.002 GB, free: 138.9 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002621/1.783, allocations: 218.8 kB / 1.003 GB, free: 138.6 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004936/1.784, allocations: 121.2 kB / 1.003 GB, free: 138.4 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008665/1.784, allocations: 1.375 MB / 1.004 GB, free: 136.8 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/1.785, allocations: 34.5 kB / 1.004 GB, free: 136.7 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.013e-06/1.785, allocations: 8 kB / 1.004 GB, free: 136.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004983/1.785, allocations: 133.5 kB / 1.004 GB, free: 136.6 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/1.785, allocations: 81.05 kB / 1.004 GB, free: 136.5 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002159/1.785, allocations: 148.9 kB / 1.004 GB, free: 136.3 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/1.785, allocations: 25.7 kB / 1.005 GB, free: 136.3 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.429e-05/1.785, allocations: 84.14 kB / 1.005 GB, free: 136.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.702e-05/1.785, allocations: 23.66 kB / 1.005 GB, free: 136.2 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.968e-06/1.785, allocations: 0 / 1.005 GB, free: 136.2 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.427e-05/1.786, allocations: 326.8 kB / 1.005 GB, free: 135.9 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.805e-05/1.786, allocations: 23.97 kB / 1.005 GB, free: 135.8 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.7e-05/1.786, allocations: 51.41 kB / 1.005 GB, free: 135.8 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001036/1.786, allocations: 27.98 kB / 1.005 GB, free: 135.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/1.786, allocations: 4 kB / 1.005 GB, free: 135.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000289/1.786, allocations: 121.4 kB / 1.005 GB, free: 135.6 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/1.786, allocations: 4 kB / 1.005 GB, free: 135.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/1.786, allocations: 0 / 1.005 GB, free: 135.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/1.786, allocations: 4 kB / 1.005 GB, free: 135.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001357/1.786, allocations: 27.97 kB / 1.005 GB, free: 135.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/1.786, allocations: 7.938 kB / 1.005 GB, free: 135.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001918/1.787, allocations: 4 kB / 1.005 GB, free: 135.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.084e-05/1.787, allocations: 7.984 kB / 1.005 GB, free: 135.6 MB / 426.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.203e-05/1.787, allocations: 117.9 kB / 1.005 GB, free: 135.4 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.953e-05/1.787, allocations: 3.938 kB / 1.005 GB, free: 135.4 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005137/1.787, allocations: 245.5 kB / 1.006 GB, free: 135.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/1.787, allocations: 11.98 kB / 1.006 GB, free: 135.2 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/1.787, allocations: 0 / 1.006 GB, free: 135.2 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/1.787, allocations: 3.953 kB / 1.006 GB, free: 135.2 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001414/1.787, allocations: 203.1 kB / 1.006 GB, free: 134.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.858e-06/1.787, allocations: 3.984 kB / 1.006 GB, free: 134.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001751/1.788, allocations: 23.97 kB / 1.006 GB, free: 134.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/1.788, allocations: 0 / 1.006 GB, free: 134.9 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/1.788, allocations: 7.938 kB / 1.006 GB, free: 134.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/1.788, allocations: 0 / 1.006 GB, free: 134.9 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/1.788, allocations: 0 / 1.006 GB, free: 134.9 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003765/1.788, allocations: 207.4 kB / 1.006 GB, free: 134.7 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.45e-05/1.788, allocations: 97.08 kB / 1.006 GB, free: 134.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.671e-05/1.788, allocations: 4 kB / 1.006 GB, free: 134.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001797/1.788, allocations: 8 kB / 1.006 GB, free: 134.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.254e-05/1.788, allocations: 11.94 kB / 1.006 GB, free: 134.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/1.788, allocations: 4.062 kB / 1.006 GB, free: 134.5 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001329/1.789, allocations: 135.2 kB / 1.006 GB, free: 134.4 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/1.789, allocations: 0 / 1.006 GB, free: 134.4 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009127/1.79, allocations: 227.7 kB / 1.006 GB, free: 134.2 MB / 426.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.002333/1.792, allocations: 1.523 MB / 1.008 GB, free: 132.6 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000294/1.792, allocations: 71.88 kB / 1.008 GB, free: 132.6 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/1.792, allocations: 4 kB / 1.008 GB, free: 132.6 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001092/1.792, allocations: 35.98 kB / 1.008 GB, free: 132.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001846/1.793, allocations: 15.94 kB / 1.008 GB, free: 132.5 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001688/1.794, allocations: 1.391 MB / 1.009 GB, free: 131.1 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001849/1.794, allocations: 0.6926 MB / 1.01 GB, free: 130.3 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005045/1.795, allocations: 435.1 kB / 1.011 GB, free: 129.9 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001423/1.795, allocations: 43.38 kB / 1.011 GB, free: 129.9 MB / 426.7 MB Notification: Performance of SimCode: time 4.468e-06/1.795, allocations: 0 / 1.011 GB, free: 129.9 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03136/1.826, allocations: 15.11 MB / 1.025 GB, free: 114.8 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001973/1.827, allocations: 228.8 kB / 1.026 GB, free: 114.5 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.027/3.854, allocations: 0 / 1.026 GB, free: 114.5 MB / 426.7 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T.fmu > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat does not exist to compare? outputFormat=mat