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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 92.3 kB / 16.65 MB, free: 6.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 173.4 kB / 17.56 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.214/1.214, allocations: 223.3 MB / 241.6 MB, free: 14.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002203/0.00022, allocations: 7.984 kB / 301.5 MB, free: 5.793 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07821/0.07844, allocations: 50.41 MB / 351.9 MB, free: 3.375 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.001268/0.07974, allocations: 1.079 MB / 353 MB, free: 2.285 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004716/0.08447, allocations: 3.988 MB / 357 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.239e-05/0.08453, allocations: 0 / 357 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.92e-05/0.08456, allocations: 7.922 kB / 357 MB, free: 14.26 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008255/0.08539, allocations: 243.2 kB / 357.3 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009989/0.08641, allocations: 431.4 kB / 357.7 MB, free: 13.61 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.65e-05/0.08649, allocations: 55.72 kB / 357.7 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.996e-05/0.08653, allocations: 0 / 357.7 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.879e-05/0.08664, allocations: 43.78 kB / 357.8 MB, free: 13.51 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006471/0.08729, allocations: 411.1 kB / 358.2 MB, free: 13.11 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.129e-05/0.08732, allocations: 0 / 358.2 MB, free: 13.11 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008549/0.08818, allocations: 0.5536 MB / 358.7 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.267e-05/0.0882, allocations: 7.922 kB / 358.7 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.961e-05/0.08826, allocations: 49.62 kB / 358.8 MB, free: 12.49 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007064/0.08897, allocations: 451.4 kB / 359.2 MB, free: 12.05 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.08898, allocations: 3.938 kB / 359.2 MB, free: 12.04 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.08899, allocations: 4 kB / 359.2 MB, free: 12.04 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.089, allocations: 0 / 359.2 MB, free: 12.04 MB / 302.1 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.0004786/0.08948, allocations: 435.2 kB / 359.7 MB, free: 11.57 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.08953, allocations: 8.031 kB / 359.7 MB, free: 11.56 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.239e-05/0.08957, allocations: 30.75 kB / 359.7 MB, free: 11.52 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.591e-05/0.0896, allocations: 8.844 kB / 359.7 MB, free: 11.51 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001857/0.08979, allocations: 184.3 kB / 359.9 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.08981, allocations: 12.12 kB / 359.9 MB, free: 11.28 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.168e-05/0.08984, allocations: 7.984 kB / 359.9 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001314/0.08997, allocations: 55.41 kB / 360 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.08999, allocations: 7.938 kB / 360 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.09, allocations: 3.984 kB / 360 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.09001, allocations: 3.938 kB / 360 MB, free: 11.19 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.121e-05/0.09009, allocations: 19.98 kB / 360 MB, free: 11.17 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001675/0.09026, allocations: 170.5 kB / 360.2 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002459/0.09052, allocations: 85.14 kB / 360.2 MB, free: 10.85 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.241e-05/0.09059, allocations: 21.78 kB / 360.3 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009265/0.09153, allocations: 1.548 MB / 361.8 MB, free: 8.926 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.09156, allocations: 38.55 kB / 361.8 MB, free: 8.879 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.09156, allocations: 0 / 361.8 MB, free: 8.879 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002529/0.09182, allocations: 81.5 kB / 361.9 MB, free: 8.793 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/0.09187, allocations: 81.11 kB / 362 MB, free: 8.695 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.692e-05/0.09196, allocations: 113.8 kB / 362.1 MB, free: 8.574 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.09198, allocations: 29.7 kB / 362.1 MB, free: 8.539 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.261e-05/0.09203, allocations: 84.14 kB / 362.2 MB, free: 8.453 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.285e-05/0.09206, allocations: 31.58 kB / 362.3 MB, free: 8.422 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.286e-05/0.09209, allocations: 9.719 kB / 362.3 MB, free: 8.406 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.407e-05/0.09219, allocations: 322.8 kB / 362.6 MB, free: 8.082 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.96e-05/0.09225, allocations: 8 kB / 362.6 MB, free: 8.074 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.721e-05/0.09232, allocations: 35.42 kB / 362.6 MB, free: 8.027 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001122/0.09244, allocations: 63.36 kB / 362.7 MB, free: 7.953 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.09245, allocations: 3.938 kB / 362.7 MB, free: 7.949 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001712/0.09263, allocations: 89.53 kB / 362.8 MB, free: 7.855 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.09265, allocations: 4 kB / 362.8 MB, free: 7.852 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.09266, allocations: 64 / 362.8 MB, free: 7.852 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.09268, allocations: 8 kB / 362.8 MB, free: 7.844 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.073e-05/0.09274, allocations: 15.98 kB / 362.8 MB, free: 7.828 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.09275, allocations: 3.938 kB / 362.8 MB, free: 7.824 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.041e-05/0.0928, allocations: 4 kB / 362.8 MB, free: 7.82 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.909e-06/0.09281, allocations: 0 / 362.8 MB, free: 7.82 MB / 302.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.351e-05/0.09289, allocations: 117.8 kB / 362.9 MB, free: 7.695 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.335e-05/0.09291, allocations: 7.906 kB / 362.9 MB, free: 7.688 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002965/0.09321, allocations: 127.8 kB / 363.1 MB, free: 7.559 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.09323, allocations: 4 kB / 363.1 MB, free: 7.555 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.09324, allocations: 0 / 363.1 MB, free: 7.555 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.09325, allocations: 0 / 363.1 MB, free: 7.555 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001318/0.09338, allocations: 173.6 kB / 363.2 MB, free: 7.336 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.0934, allocations: 0 / 363.2 MB, free: 7.336 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.106e-05/0.09347, allocations: 20.44 kB / 363.3 MB, free: 7.316 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.09348, allocations: 4 kB / 363.3 MB, free: 7.312 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.0935, allocations: 7.984 kB / 363.3 MB, free: 7.305 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.09351, allocations: 0 / 363.3 MB, free: 7.305 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.09351, allocations: 4 kB / 363.3 MB, free: 7.301 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002465/0.09376, allocations: 137.8 kB / 363.4 MB, free: 7.145 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.569e-05/0.09384, allocations: 101 kB / 363.5 MB, free: 7.027 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.09386, allocations: 0 / 363.5 MB, free: 7.027 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.916e-05/0.09391, allocations: 8.062 kB / 363.5 MB, free: 7.02 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.757e-05/0.09395, allocations: 19.92 kB / 363.5 MB, free: 7 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.122e-06/0.09396, allocations: 0 / 363.5 MB, free: 7 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.338e-05/0.09401, allocations: 87.28 kB / 363.6 MB, free: 6.914 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09401, allocations: 0 / 363.6 MB, free: 6.914 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003892/0.09441, allocations: 135.8 kB / 363.7 MB, free: 6.781 MB / 302.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000923/0.09534, allocations: 0.8529 MB / 364.6 MB, free: 5.902 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001564/0.0955, allocations: 51.84 kB / 364.7 MB, free: 5.852 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.09551, allocations: 0 / 364.7 MB, free: 5.852 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.53e-05/0.09559, allocations: 31.92 kB / 364.7 MB, free: 5.82 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001735/0.09578, allocations: 12.12 kB / 364.7 MB, free: 5.809 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001487/0.09727, allocations: 1.555 MB / 366.2 MB, free: 4.148 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002019/0.09749, allocations: 0.6887 MB / 366.9 MB, free: 3.434 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.721e-05/0.09756, allocations: 30.59 kB / 367 MB, free: 3.41 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.768e-05/0.09761, allocations: 31.36 kB / 367 MB, free: 3.379 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.09762, allocations: 0 / 367 MB, free: 3.379 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.793/1.89, allocations: 4.075 MB / 371.1 MB, free: 24.08 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002475/1.891, allocations: 275.9 kB / 371.3 MB, free: 23.71 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.797/3.687, allocations: 5.5 kB / 371.3 MB, free: 23.71 MB / 302.1 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/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