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.001175/0.001175, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7248/0.7248, allocations: 133.4 MB / 146.7 MB, free: 10.77 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.497/1.497, allocations: 221.3 MB / 400.4 MB, free: 5.855 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009611/0.0009612, allocations: 102.9 kB / 483.3 MB, free: 5.852 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.208e-05/5.221e-05, allocations: 8.078 kB / 0.5601 GB, free: 87.78 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.1645, allocations: 82.3 MB / 0.6405 GB, free: 7.695 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.609/0.7736, allocations: 112 MB / 0.7499 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000243/0.7739, allocations: 86.64 kB / 0.75 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01217/0.7861, allocations: 4.171 MB / 0.754 GB, free: 27.41 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.924e-06/0.7862, allocations: 0 / 0.754 GB, free: 27.41 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.461e-05/0.7862, allocations: 3.969 kB / 0.754 GB, free: 27.41 MB / 0.5105 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.0004889/0.7867, allocations: 382.5 kB / 0.7544 GB, free: 27.02 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.7868, allocations: 11.28 kB / 0.7544 GB, free: 27.02 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.662e-05/0.7868, allocations: 33.8 kB / 0.7544 GB, free: 26.98 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003013/0.7871, allocations: 51.62 kB / 0.7545 GB, free: 26.97 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001861/0.7873, allocations: 180.9 kB / 0.7547 GB, free: 26.77 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.7874, allocations: 0 / 0.7547 GB, free: 26.77 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.718e-05/0.7874, allocations: 7.75 kB / 0.7547 GB, free: 26.77 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.7875, allocations: 49.31 kB / 0.7547 GB, free: 26.73 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.7875, allocations: 0 / 0.7547 GB, free: 26.73 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.7876, allocations: 3.938 kB / 0.7547 GB, free: 26.73 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.7876, allocations: 3.844 kB / 0.7547 GB, free: 26.73 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.543e-05/0.7877, allocations: 25.08 kB / 0.7548 GB, free: 26.73 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002111/0.7879, allocations: 172.3 kB / 0.7549 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001082/0.788, allocations: 52.45 kB / 0.755 GB, free: 26.51 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.734e-05/0.7881, allocations: 20.05 kB / 0.755 GB, free: 26.5 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.7881, allocations: 3.625 kB / 0.755 GB, free: 26.5 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.7881, allocations: 36.67 kB / 0.755 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/0.7881, allocations: 0 / 0.755 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of matching and sorting (n=9): time 0.00235/0.7905, allocations: 448.8 kB / 0.7555 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.331e-05/0.7905, allocations: 51.41 kB / 0.7555 GB, free: 26.32 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.103e-05/0.7906, allocations: 103.5 kB / 0.7556 GB, free: 26.23 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.443e-05/0.7907, allocations: 29.27 kB / 0.7556 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.233e-05/0.7907, allocations: 83.7 kB / 0.7557 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.046e-05/0.7908, allocations: 30.22 kB / 0.7557 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.35e-05/0.7908, allocations: 3.844 kB / 0.7557 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.7909, allocations: 318.4 kB / 0.756 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.951e-05/0.791, allocations: 44.16 kB / 0.7561 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.427e-05/0.7911, allocations: 41.03 kB / 0.7561 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.419e-05/0.7912, allocations: 36.55 kB / 0.7562 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.92e-07/0.7912, allocations: 3.938 kB / 0.7562 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002507/0.7914, allocations: 128.1 kB / 0.7563 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.7915, allocations: 8.25 kB / 0.7563 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.7915, allocations: 7.875 kB / 0.7563 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.7915, allocations: 0 / 0.7563 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003754/0.7919, allocations: 74.83 kB / 0.7564 GB, free: 25.72 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.7919, allocations: 0 / 0.7564 GB, free: 25.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002665/0.7922, allocations: 50.02 kB / 0.7564 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.11e-05/0.7922, allocations: 9.031 kB / 0.7564 GB, free: 25.71 MB / 0.5105 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.577e-05/0.7923, allocations: 114.9 kB / 0.7565 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.247e-05/0.7923, allocations: 3.844 kB / 0.7565 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.24e-05/0.7924, allocations: 8.188 kB / 0.7566 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.7924, allocations: 0 / 0.7566 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.7924, allocations: 3.812 kB / 0.7566 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.7924, allocations: 2.25 kB / 0.7566 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001109/0.7935, allocations: 0.5219 MB / 0.7571 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.7935, allocations: 0 / 0.7571 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002934/0.7938, allocations: 69.19 kB / 0.7571 GB, free: 25.26 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/0.7938, allocations: 0 / 0.7571 GB, free: 25.26 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.932e-05/0.7939, allocations: 8.438 kB / 0.7571 GB, free: 25.26 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.7939, allocations: 4 kB / 0.7571 GB, free: 25.26 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.7939, allocations: 3.953 kB / 0.7571 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002708/0.7942, allocations: 246.2 kB / 0.7574 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.576e-05/0.7942, allocations: 85.03 kB / 0.7575 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.517e-05/0.7943, allocations: 4 kB / 0.7575 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002795/0.7945, allocations: 47.62 kB / 0.7575 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.117e-05/0.7946, allocations: 10.47 kB / 0.7575 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-05/0.7946, allocations: 9.844 kB / 0.7575 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 6.409e-05/0.7947, allocations: 90.94 kB / 0.7576 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7947, allocations: 0 / 0.7576 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002811/0.795, allocations: 33.03 kB / 0.7577 GB, free: 24.88 MB / 0.5105 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.0007456/0.7957, allocations: 0.9469 MB / 0.7586 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000225/0.796, allocations: 98.58 kB / 0.7587 GB, free: 24.01 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.796, allocations: 0 / 0.7587 GB, free: 24.01 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 8.611e-05/0.7961, allocations: 51.12 kB / 0.7587 GB, free: 24.01 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001424/0.7962, allocations: 8.062 kB / 0.7587 GB, free: 24 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001464/0.7977, allocations: 409.5 kB / 0.7591 GB, free: 23.83 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000272/0.798, allocations: 0.6864 MB / 0.7598 GB, free: 23.14 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.000142/0.7981, allocations: 31.19 kB / 0.7598 GB, free: 23.12 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001122/0.7983, allocations: 34.47 kB / 0.7598 GB, free: 23.11 MB / 0.5105 GB Notification: Performance of SimCode: time 6.91e-07/0.7983, allocations: 0 / 0.7598 GB, free: 23.11 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01378/0.812, allocations: 2.615 MB / 0.7624 GB, free: 21.88 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001429/0.8122, allocations: 159.9 kB / 0.7626 GB, free: 21.65 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.552/2.364, allocations: 0 / 0.7626 GB, free: 21.65 MB / 0.5105 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)