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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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(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/Complex 4.0.0+maint.om/package.mo): time 0.0009405/0.0009406, allocations: 180.9 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7749/0.7749, allocations: 133.5 MB / 141.6 MB, free: 2.93 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.534/1.534, allocations: 221.5 MB / 395.4 MB, free: 10.78 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008875/0.0008876, allocations: 112 kB / 478.2 MB, free: 1.305 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.996e-05/3.007e-05, allocations: 4 kB / 0.5536 GB, free: 8.953 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.456/0.4561, allocations: 82.31 MB / 0.6339 GB, free: 40.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1478/0.6039, allocations: 111.3 MB / 0.7427 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002652/0.6043, allocations: 75.95 kB / 0.7427 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01303/0.6173, allocations: 4.165 MB / 0.7468 GB, free: 7.098 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.552e-06/0.6174, allocations: 0 / 0.7468 GB, free: 7.098 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.838e-06/0.6174, allocations: 4 kB / 0.7468 GB, free: 7.094 MB / 0.5261 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.0004002/0.6178, allocations: 380.1 kB / 0.7472 GB, free: 6.68 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.228e-05/0.6178, allocations: 8.031 kB / 0.7472 GB, free: 6.672 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003123/0.6182, allocations: 59.94 kB / 0.7472 GB, free: 6.613 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001625/0.6183, allocations: 175 kB / 0.7474 GB, free: 6.402 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.6184, allocations: 0 / 0.7474 GB, free: 6.402 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.181e-05/0.6184, allocations: 3.906 kB / 0.7474 GB, free: 6.398 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.637e-05/0.6185, allocations: 27.92 kB / 0.7474 GB, free: 6.371 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.63e-05/0.6186, allocations: 45.67 kB / 0.7475 GB, free: 6.32 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.6186, allocations: 0 / 0.7475 GB, free: 6.32 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.6186, allocations: 0 / 0.7475 GB, free: 6.32 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.6186, allocations: 0 / 0.7475 GB, free: 6.32 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001781/0.6188, allocations: 150.2 kB / 0.7476 GB, free: 6.137 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 9.131e-05/0.6189, allocations: 54.64 kB / 0.7477 GB, free: 6.074 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.217e-05/0.6189, allocations: 12.84 kB / 0.7477 GB, free: 6.059 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/0.619, allocations: 4.125 kB / 0.7477 GB, free: 6.055 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.619, allocations: 38.97 kB / 0.7477 GB, free: 6.008 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=5): time 1.001e-06/0.619, allocations: 0 / 0.7477 GB, free: 6.008 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9): time 0.002542/0.6216, allocations: 476.9 kB / 0.7482 GB, free: 5.535 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.238e-05/0.6216, allocations: 51.41 kB / 0.7482 GB, free: 5.473 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.59e-05/0.6217, allocations: 105 kB / 0.7483 GB, free: 5.363 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.425e-05/0.6217, allocations: 25.7 kB / 0.7483 GB, free: 5.332 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.081e-05/0.6218, allocations: 84.14 kB / 0.7484 GB, free: 5.246 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.567e-05/0.6218, allocations: 31.55 kB / 0.7485 GB, free: 5.215 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.399e-05/0.6219, allocations: 4 kB / 0.7485 GB, free: 5.211 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.622, allocations: 318.8 kB / 0.7488 GB, free: 4.891 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.354e-05/0.6221, allocations: 35.98 kB / 0.7488 GB, free: 4.855 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.055e-05/0.6222, allocations: 39.98 kB / 0.7488 GB, free: 4.816 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001482/0.6223, allocations: 59.84 kB / 0.7489 GB, free: 4.758 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.6223, allocations: 0 / 0.7489 GB, free: 4.758 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002997/0.6226, allocations: 141.5 kB / 0.749 GB, free: 4.613 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.6226, allocations: 4 kB / 0.749 GB, free: 4.609 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.6227, allocations: 3.984 kB / 0.749 GB, free: 4.605 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.6227, allocations: 0 / 0.749 GB, free: 4.605 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003822/0.6231, allocations: 79.8 kB / 0.7491 GB, free: 4.527 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.6231, allocations: 4 kB / 0.7491 GB, free: 4.523 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002762/0.6234, allocations: 43.95 kB / 0.7492 GB, free: 4.48 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.19e-05/0.6234, allocations: 11.98 kB / 0.7492 GB, free: 4.469 MB / 0.5261 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.259e-05/0.6235, allocations: 104.9 kB / 0.7493 GB, free: 4.359 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003154/0.6238, allocations: 149.8 kB / 0.7494 GB, free: 4.207 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.057e-05/0.6239, allocations: 7.906 kB / 0.7494 GB, free: 4.199 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.708e-05/0.6239, allocations: 8.625 kB / 0.7494 GB, free: 4.191 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.6239, allocations: 0 / 0.7494 GB, free: 4.191 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.6239, allocations: 3.984 kB / 0.7494 GB, free: 4.188 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.6239, allocations: 0 / 0.7494 GB, free: 4.188 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001172/0.6251, allocations: 0.514 MB / 0.7499 GB, free: 3.625 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.6251, allocations: 0 / 0.7499 GB, free: 3.625 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003235/0.6254, allocations: 67.95 kB / 0.75 GB, free: 3.559 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.117e-06/0.6255, allocations: 3.938 kB / 0.75 GB, free: 3.555 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.889e-05/0.6255, allocations: 7.984 kB / 0.75 GB, free: 3.547 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.6255, allocations: 0 / 0.75 GB, free: 3.547 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.78e-06/0.6255, allocations: 4.328 kB / 0.75 GB, free: 3.543 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003384/0.6258, allocations: 260.6 kB / 0.7503 GB, free: 3.254 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.734e-05/0.6259, allocations: 88.98 kB / 0.7503 GB, free: 3.148 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.82e-05/0.6259, allocations: 3.953 kB / 0.7503 GB, free: 3.145 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002989/0.6262, allocations: 51.95 kB / 0.7504 GB, free: 3.094 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.345e-05/0.6263, allocations: 7.984 kB / 0.7504 GB, free: 3.086 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.651e-05/0.6263, allocations: 7.984 kB / 0.7504 GB, free: 3.078 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.324e-05/0.6264, allocations: 87.28 kB / 0.7505 GB, free: 2.992 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6264, allocations: 0 / 0.7505 GB, free: 2.992 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002878/0.6267, allocations: 39.92 kB / 0.7505 GB, free: 2.953 MB / 0.5261 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 () * 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 (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.0007637/0.6274, allocations: 0.9524 MB / 0.7515 GB, free: 1.957 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000202/0.6277, allocations: 91.89 kB / 0.7515 GB, free: 1.867 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.6277, allocations: 0 / 0.7515 GB, free: 1.867 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 9.904e-05/0.6278, allocations: 52.38 kB / 0.7516 GB, free: 1.816 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001576/0.6279, allocations: 0 / 0.7516 GB, free: 1.816 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00157/0.6295, allocations: 403.1 kB / 0.752 GB, free: 1.375 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002593/0.6298, allocations: 0.6885 MB / 0.7527 GB, free: 0.6602 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.000151/0.6299, allocations: 20.67 kB / 0.7527 GB, free: 0.6406 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001171/0.6301, allocations: 39.39 kB / 0.7527 GB, free: 0.6016 MB / 0.5261 GB Notification: Performance of SimCode: time 2.6e-07/0.6301, allocations: 0 / 0.7527 GB, free: 0.6016 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02075/0.6508, allocations: 2.262 MB / 0.7549 GB, free: 14.35 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002005/0.6511, allocations: 136.6 kB / 0.7551 GB, free: 14.16 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.53/2.181, allocations: 3.25 kB / 0.7551 GB, free: 14.16 MB / 0.5417 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/linux/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)