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: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001564/0.001564, allocations: 180.6 kB / 16.39 MB, free: 5.762 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.468/1.468, allocations: 223.2 MB / 240.3 MB, free: 11.89 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.001009/0.001009, allocations: 92.64 kB / 291.5 MB, free: 10.89 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002854/0.0002854, allocations: 8 kB / 351.2 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2969/0.2972, allocations: 50.4 MB / 401.6 MB, free: 32.56 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4861/0.7834, allocations: 186.6 MB / 0.5744 GB, free: 22.48 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003664/0.7839, allocations: 75.17 kB / 0.5745 GB, free: 22.44 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06272/0.8466, allocations: 27.45 MB / 0.6013 GB, free: 14.93 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.005e-06/0.8467, allocations: 0 / 0.6013 GB, free: 14.93 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.079e-05/0.8467, allocations: 0 / 0.6013 GB, free: 14.93 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.001117/0.8478, allocations: 489.8 kB / 0.6017 GB, free: 14.42 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.65e-05/0.8479, allocations: 12.03 kB / 0.6018 GB, free: 14.41 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.57e-05/0.848, allocations: 38.48 kB / 0.6018 GB, free: 14.36 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.554e-05/0.848, allocations: 7.906 kB / 0.6018 GB, free: 14.35 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003141/0.8484, allocations: 178.5 kB / 0.602 GB, free: 14.14 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.8484, allocations: 4 kB / 0.602 GB, free: 14.14 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.526e-05/0.8484, allocations: 0 / 0.602 GB, free: 14.14 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000188/0.8486, allocations: 66.72 kB / 0.602 GB, free: 14.07 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.8487, allocations: 7.938 kB / 0.602 GB, free: 14.06 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.8487, allocations: 0 / 0.602 GB, free: 14.06 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.8487, allocations: 4 kB / 0.602 GB, free: 14.06 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.286e-05/0.8488, allocations: 19.3 kB / 0.6021 GB, free: 14.04 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003087/0.8491, allocations: 177.8 kB / 0.6022 GB, free: 13.82 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003533/0.8495, allocations: 84.72 kB / 0.6023 GB, free: 13.73 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001946/0.8514, allocations: 2.188 MB / 0.6045 GB, free: 11.07 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.801e-05/0.8515, allocations: 30.56 kB / 0.6045 GB, free: 11.03 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.694e-06/0.8515, allocations: 0 / 0.6045 GB, free: 11.03 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003387/0.8518, allocations: 84.86 kB / 0.6046 GB, free: 10.95 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.911e-05/0.8519, allocations: 81.11 kB / 0.6046 GB, free: 10.85 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.852, allocations: 108.2 kB / 0.6047 GB, free: 10.74 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.8521, allocations: 25.7 kB / 0.6048 GB, free: 10.71 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.534e-05/0.8521, allocations: 83.77 kB / 0.6048 GB, free: 10.63 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.338e-05/0.8522, allocations: 19.7 kB / 0.6049 GB, free: 10.61 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.382e-06/0.8522, allocations: 3.5 kB / 0.6049 GB, free: 10.61 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.8524, allocations: 314.8 kB / 0.6052 GB, free: 10.29 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.831e-05/0.8524, allocations: 11.61 kB / 0.6052 GB, free: 10.29 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.077e-05/0.8525, allocations: 46.92 kB / 0.6052 GB, free: 10.23 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.79e-05/0.8526, allocations: 19.97 kB / 0.6052 GB, free: 10.21 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.8526, allocations: 4 kB / 0.6053 GB, free: 10.21 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001991/0.8528, allocations: 80.45 kB / 0.6053 GB, free: 10.14 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/0.8529, allocations: 8 kB / 0.6053 GB, free: 10.13 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.8529, allocations: 4.062 kB / 0.6053 GB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/0.8529, allocations: 0 / 0.6053 GB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.914e-05/0.853, allocations: 23.86 kB / 0.6054 GB, free: 10.1 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.853, allocations: 7.953 kB / 0.6054 GB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.228e-05/0.8531, allocations: 7.938 kB / 0.6054 GB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.531e-05/0.8531, allocations: 4 kB / 0.6054 GB, free: 10.08 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 0.0001122/0.8532, allocations: 120.4 kB / 0.6055 GB, free: 9.961 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.146e-05/0.8532, allocations: 7.906 kB / 0.6055 GB, free: 9.953 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003589/0.8536, allocations: 119.2 kB / 0.6056 GB, free: 9.848 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/0.8536, allocations: 0 / 0.6056 GB, free: 9.848 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.8536, allocations: 4 kB / 0.6056 GB, free: 9.844 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.8536, allocations: 3.953 kB / 0.6056 GB, free: 9.84 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001712/0.8538, allocations: 173.2 kB / 0.6058 GB, free: 9.629 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.8538, allocations: 0 / 0.6058 GB, free: 9.629 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.177e-05/0.8539, allocations: 15.92 kB / 0.6058 GB, free: 9.613 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.8539, allocations: 4 kB / 0.6058 GB, free: 9.609 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/0.854, allocations: 4 kB / 0.6058 GB, free: 9.605 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.854, allocations: 0 / 0.6058 GB, free: 9.605 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.854, allocations: 480 / 0.6058 GB, free: 9.605 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000347/0.8543, allocations: 160.8 kB / 0.606 GB, free: 9.445 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.43e-05/0.8544, allocations: 100.5 kB / 0.6061 GB, free: 9.332 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.195e-05/0.8545, allocations: 0 / 0.6061 GB, free: 9.332 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.999e-05/0.8545, allocations: 3.938 kB / 0.6061 GB, free: 9.328 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.323e-05/0.8546, allocations: 11.94 kB / 0.6061 GB, free: 9.316 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/0.8546, allocations: 7.875 kB / 0.6061 GB, free: 9.312 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.203e-05/0.8546, allocations: 87.27 kB / 0.6062 GB, free: 9.227 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.2e-07/0.8547, allocations: 0 / 0.6062 GB, free: 9.227 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006178/0.8553, allocations: 138.4 kB / 0.6063 GB, free: 9.102 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.001608/0.8569, allocations: 0.9598 MB / 0.6072 GB, free: 8.145 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002076/0.8571, allocations: 51.03 kB / 0.6073 GB, free: 8.105 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.8571, allocations: 0 / 0.6073 GB, free: 8.105 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.524e-05/0.8572, allocations: 27.23 kB / 0.6073 GB, free: 8.082 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001762/0.8574, allocations: 11.77 kB / 0.6073 GB, free: 8.074 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001704/0.8591, allocations: 1.185 MB / 0.6085 GB, free: 6.855 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/0.8594, allocations: 0.6965 MB / 0.6092 GB, free: 6.133 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 9.076e-05/0.8595, allocations: 23.23 kB / 0.6092 GB, free: 6.113 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.862e-05/0.8596, allocations: 26.61 kB / 0.6092 GB, free: 6.094 MB / 394.7 MB Notification: Performance of SimCode: time 4.819e-06/0.8596, allocations: 0 / 0.6092 GB, free: 6.094 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01958/0.8792, allocations: 3.972 MB / 0.6131 GB, free: 2.316 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002553/0.8795, allocations: 259.4 kB / 0.6133 GB, free: 1.973 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.793/2.672, allocations: 7.453 kB / 0.6133 GB, free: 1.969 MB / 394.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T.fmu > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.mat does not exist to compare? outputFormat=mat