Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_InverseXRegularized",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.008363/0.008363, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001859/0.001859, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8649/0.8649, allocations: 132.2 MB / 422.7 MB, free: 6.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 69.48 kB / 0.5809 GB, free: 24.13 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.186/0.1879, allocations: 80.21 MB / 0.6592 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001906/0.1899, allocations: 0.6325 MB / 0.6599 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001972/0.1918, allocations: 1.457 MB / 0.6613 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.859e-05/0.1919, allocations: 4 kB / 0.6613 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.677e-05/0.1919, allocations: 3.938 kB / 0.6613 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.48e-05/0.192, allocations: 3.938 kB / 0.6613 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004709/0.1925, allocations: 120.5 kB / 0.6614 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.853e-05/0.1926, allocations: 27.86 kB / 0.6614 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.558e-05/0.1926, allocations: 11.98 kB / 0.6614 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.61e-05/0.1927, allocations: 7.938 kB / 0.6614 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.935e-05/0.1928, allocations: 19.91 kB / 0.6615 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.363e-05/0.1928, allocations: 4 kB / 0.6615 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005178/0.1933, allocations: 315.3 kB / 0.6618 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.146e-05/0.1933, allocations: 7.984 kB / 0.6618 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.351e-05/0.1934, allocations: 15.88 kB / 0.6618 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003147/0.1937, allocations: 190.5 kB / 0.662 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1937, allocations: 0 / 0.662 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1937, allocations: 0 / 0.662 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.635e-06/0.1937, allocations: 0 / 0.662 GB, free: 7.891 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005312/0.1943, allocations: 384.2 kB / 0.6623 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.1943, allocations: 12.03 kB / 0.6624 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.297e-05/0.1944, allocations: 34.75 kB / 0.6624 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003746/0.1947, allocations: 60.77 kB / 0.6624 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001507/0.1949, allocations: 176.3 kB / 0.6626 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.1949, allocations: 4.312 kB / 0.6626 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.389e-05/0.195, allocations: 4.312 kB / 0.6626 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002723/0.1952, allocations: 81.77 kB / 0.6627 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.1953, allocations: 0 / 0.6627 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.1953, allocations: 4 kB / 0.6627 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.1953, allocations: 0 / 0.6627 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003681/0.1957, allocations: 67.92 kB / 0.6628 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001867/0.1959, allocations: 173.7 kB / 0.6629 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005151/0.1964, allocations: 134.4 kB / 0.6631 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001666/0.1966, allocations: 36.95 kB / 0.6631 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.049e-05/0.1966, allocations: 7.984 kB / 0.6631 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.1966, allocations: 34.5 kB / 0.6631 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.313e-06/0.1966, allocations: 4 kB / 0.6631 GB, free: 6.527 MB / 0.4981 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=9): time 0.003924/0.2006, allocations: 0.7818 MB / 0.6639 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.485e-05/0.2006, allocations: 51.41 kB / 0.664 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.2007, allocations: 109.8 kB / 0.6641 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/0.2007, allocations: 33.7 kB / 0.6641 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.864e-05/0.2008, allocations: 80.14 kB / 0.6642 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.7e-05/0.2008, allocations: 35.55 kB / 0.6642 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.147e-05/0.2009, allocations: 29.7 kB / 0.6642 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.2011, allocations: 310.8 kB / 0.6645 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000402/0.2015, allocations: 95.89 kB / 0.6646 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003884/0.2019, allocations: 99.89 kB / 0.6647 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007453/0.2026, allocations: 200.8 kB / 0.6649 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.2026, allocations: 3.938 kB / 0.6649 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000851/0.2035, allocations: 241.4 kB / 0.6651 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.2035, allocations: 4 kB / 0.6651 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.2035, allocations: 0 / 0.6651 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.2036, allocations: 7.938 kB / 0.6651 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003033/0.2039, allocations: 51.94 kB / 0.6652 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.2039, allocations: 0 / 0.6652 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002277/0.2041, allocations: 39.95 kB / 0.6652 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.2041, allocations: 0 / 0.6652 GB, free: 4.316 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (9): * Single equations (assignments): 9 * 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 9.833e-05/0.2042, allocations: 117.8 kB / 0.6653 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.782e-05/0.2043, allocations: 7.984 kB / 0.6654 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.574e-05/0.2043, allocations: 16.31 kB / 0.6654 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.2043, allocations: 0 / 0.6654 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.2043, allocations: 0 / 0.6654 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.2043, allocations: 0 / 0.6654 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001626/0.206, allocations: 0.6059 MB / 0.666 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.206, allocations: 0 / 0.666 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002477/0.2062, allocations: 51.94 kB / 0.666 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/0.2063, allocations: 64 / 0.666 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.2063, allocations: 11.98 kB / 0.666 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.2063, allocations: 4 kB / 0.666 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.2063, allocations: 3.938 kB / 0.666 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008847/0.2072, allocations: 344.9 kB / 0.6664 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.638e-05/0.2072, allocations: 81.11 kB / 0.6664 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.285e-05/0.2073, allocations: 192 / 0.6664 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002626/0.2075, allocations: 35.95 kB / 0.6665 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.51e-05/0.2076, allocations: 23.8 kB / 0.6665 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.2076, allocations: 4 kB / 0.6665 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.094e-05/0.2077, allocations: 99.25 kB / 0.6666 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2077, allocations: 0 / 0.6666 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003103/0.208, allocations: 32 kB / 0.6666 GB, free: 2.773 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (9): * Single equations (assignments): 9 * 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 Backend phase and start with SimCode phase: time 0.001296/0.2093, allocations: 0.9019 MB / 0.6675 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008556/0.2102, allocations: 215.7 kB / 0.6677 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2102, allocations: 0 / 0.6677 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004162/0.2106, allocations: 108 kB / 0.6678 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002511/0.2109, allocations: 11.94 kB / 0.6678 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004963/0.2158, allocations: 2.122 MB / 0.6699 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003734/0.2162, allocations: 0.6962 MB / 0.6706 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001388/0.2164, allocations: 24.64 kB / 0.6706 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.534e-05/0.2165, allocations: 23.42 kB / 0.6706 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of SimCode: time 3.41e-07/0.2165, allocations: 0 / 0.6706 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02165/0.2382, allocations: 2.792 MB / 0.6733 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.566/7.804, allocations: 11.05 kB / 0.6734 GB, free: 11.86 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)