Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001566/0.001566, allocations: 185.9 kB / 16.41 MB, free: 5.727 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.985/1.985, allocations: 205.4 MB / 222.5 MB, free: 9.137 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.001137/0.001137, allocations: 88.42 kB / 270.9 MB, free: 8.395 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004096/0.0004096, allocations: 8 kB / 327.1 MB, free: 136 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3414/0.3419, allocations: 47.57 MB / 374.6 MB, free: 45.31 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.718/2.06, allocations: 0.5935 GB / 0.9594 GB, free: 3.953 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003489/2.06, allocations: 81.03 kB / 0.9594 GB, free: 3.91 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4357/2.496, allocations: 41.81 MB / 1 GB, free: 139.6 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.445e-06/2.496, allocations: 0 / 1 GB, free: 139.6 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.984e-05/2.496, allocations: 0 / 1 GB, free: 139.6 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.0008363/2.497, allocations: 458.9 kB / 1.001 GB, free: 139.1 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/2.497, allocations: 8.031 kB / 1.001 GB, free: 139.1 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.935e-05/2.497, allocations: 34.56 kB / 1.001 GB, free: 139.1 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001629/2.499, allocations: 103.7 kB / 1.001 GB, free: 139 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003402/2.499, allocations: 215 kB / 1.001 GB, free: 138.7 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/2.499, allocations: 0 / 1.001 GB, free: 138.7 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.158e-05/2.499, allocations: 4 kB / 1.001 GB, free: 138.7 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002928/2.5, allocations: 95.27 kB / 1.001 GB, free: 138.6 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/2.5, allocations: 4 kB / 1.001 GB, free: 138.6 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.912e-05/2.5, allocations: 0 / 1.001 GB, free: 138.6 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/2.5, allocations: 4 kB / 1.001 GB, free: 138.6 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002744/2.5, allocations: 47.91 kB / 1.001 GB, free: 138.6 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002787/2.5, allocations: 214.9 kB / 1.001 GB, free: 138.3 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006969/2.501, allocations: 125.2 kB / 1.002 GB, free: 138.2 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008692/2.502, allocations: 1.371 MB / 1.003 GB, free: 136.5 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/2.502, allocations: 42.48 kB / 1.003 GB, free: 136.5 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.394e-06/2.502, allocations: 0 / 1.003 GB, free: 136.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0007329/2.503, allocations: 133.5 kB / 1.003 GB, free: 136.3 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.552e-05/2.503, allocations: 81.05 kB / 1.003 GB, free: 136.2 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002892/2.503, allocations: 145 kB / 1.003 GB, free: 136.1 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/2.503, allocations: 33.7 kB / 1.003 GB, free: 136 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.409e-05/2.503, allocations: 150.6 kB / 1.003 GB, free: 135.9 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.702e-05/2.503, allocations: 23.66 kB / 1.003 GB, free: 135.9 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.608e-05/2.503, allocations: 0 / 1.003 GB, free: 135.9 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.325e-05/2.503, allocations: 318.8 kB / 1.004 GB, free: 135.5 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001701/2.503, allocations: 19.98 kB / 1.004 GB, free: 135.5 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001815/2.504, allocations: 59.77 kB / 1.004 GB, free: 135.5 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000185/2.504, allocations: 35.95 kB / 1.004 GB, free: 135.4 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/2.504, allocations: 0 / 1.004 GB, free: 135.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004873/2.504, allocations: 121.4 kB / 1.004 GB, free: 135.3 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/2.504, allocations: 4 kB / 1.004 GB, free: 135.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/2.504, allocations: 4 kB / 1.004 GB, free: 135.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/2.504, allocations: 3.953 kB / 1.004 GB, free: 135.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000242/2.505, allocations: 32.03 kB / 1.004 GB, free: 135.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/2.505, allocations: 0 / 1.004 GB, free: 135.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003207/2.505, allocations: 11.89 kB / 1.004 GB, free: 135.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.102e-05/2.505, allocations: 7.984 kB / 1.004 GB, free: 135.2 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 8.453e-05/2.505, allocations: 117.8 kB / 1.004 GB, free: 135.1 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.662e-05/2.505, allocations: 4 kB / 1.004 GB, free: 135.1 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007597/2.506, allocations: 237.1 kB / 1.004 GB, free: 134.9 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.617e-06/2.506, allocations: 4 kB / 1.004 GB, free: 134.9 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/2.506, allocations: 7.938 kB / 1.004 GB, free: 134.9 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/2.506, allocations: 0 / 1.004 GB, free: 134.9 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000211/2.506, allocations: 207 kB / 1.005 GB, free: 134.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/2.506, allocations: 0 / 1.005 GB, free: 134.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002941/2.507, allocations: 23.97 kB / 1.005 GB, free: 134.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/2.507, allocations: 7.984 kB / 1.005 GB, free: 134.6 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.86e-05/2.507, allocations: 7.938 kB / 1.005 GB, free: 134.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.776e-06/2.507, allocations: 0 / 1.005 GB, free: 134.6 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/2.507, allocations: 3.953 kB / 1.005 GB, free: 134.6 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000644/2.507, allocations: 191.5 kB / 1.005 GB, free: 134.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.177e-05/2.507, allocations: 89.12 kB / 1.005 GB, free: 134.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.522e-05/2.507, allocations: 12.11 kB / 1.005 GB, free: 134.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002912/2.508, allocations: 11.95 kB / 1.005 GB, free: 134.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.986e-05/2.508, allocations: 7.984 kB / 1.005 GB, free: 134.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.668e-05/2.508, allocations: 7.938 kB / 1.005 GB, free: 134.2 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002354/2.508, allocations: 131.8 kB / 1.005 GB, free: 134.1 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.91e-07/2.508, allocations: 0 / 1.005 GB, free: 134.1 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001043/2.509, allocations: 227.7 kB / 1.005 GB, free: 133.9 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.002575/2.512, allocations: 1.528 MB / 1.007 GB, free: 132.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004436/2.512, allocations: 67.88 kB / 1.007 GB, free: 132.2 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/2.512, allocations: 8 kB / 1.007 GB, free: 132.2 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001824/2.512, allocations: 35.97 kB / 1.007 GB, free: 132.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002226/2.513, allocations: 16.11 kB / 1.007 GB, free: 132.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002463/2.515, allocations: 1.417 MB / 1.008 GB, free: 130.7 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001528/2.515, allocations: 0.6926 MB / 1.009 GB, free: 130 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000248/2.516, allocations: 43.39 kB / 1.009 GB, free: 129.9 MB / 426.7 MB Notification: Performance of SimCode: time 9.11e-07/2.516, allocations: 4 kB / 1.009 GB, free: 129.9 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.62/5.136, allocations: 7.873 MB / 1.017 GB, free: 122 MB / 426.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T.fmu > Modelica_3.2.3_cpp_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_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat does not exist to compare? outputFormat=mat