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.001035/0.001035, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.007599/0.007599, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.306/1.306, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7227/0.7227, allocations: 132.3 MB / 423.8 MB, free: 1.996 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003205/0.0003206, allocations: 12 kB / 0.5041 GB, free: 3.789 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3742/0.3745, allocations: 81.57 MB / 0.5838 GB, free: 4.051 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.0008102/0.3754, allocations: 368.8 kB / 0.5841 GB, free: 3.801 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001665/0.377, allocations: 1.457 MB / 0.5855 GB, free: 2.742 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.671e-05/0.3771, allocations: 0 / 0.5855 GB, free: 2.742 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.5e-05/0.3771, allocations: 3.938 kB / 0.5855 GB, free: 2.738 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.308e-05/0.3772, allocations: 3.156 kB / 0.5855 GB, free: 2.738 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003198/0.3775, allocations: 95.44 kB / 0.5856 GB, free: 2.699 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.773e-05/0.3775, allocations: 28.45 kB / 0.5857 GB, free: 2.688 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.827e-05/0.3776, allocations: 6.547 kB / 0.5857 GB, free: 2.684 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.44e-05/0.3776, allocations: 11.88 kB / 0.5857 GB, free: 2.68 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.798e-05/0.3777, allocations: 20.55 kB / 0.5857 GB, free: 2.672 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.369e-05/0.3777, allocations: 2.562 kB / 0.5857 GB, free: 2.672 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004667/0.3782, allocations: 317.9 kB / 0.586 GB, free: 2.582 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.299e-05/0.3782, allocations: 7.516 kB / 0.586 GB, free: 2.578 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.636e-05/0.3782, allocations: 46.38 kB / 0.5861 GB, free: 2.531 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002774/0.3785, allocations: 184.8 kB / 0.5862 GB, free: 2.484 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.3785, allocations: 3.938 kB / 0.5862 GB, free: 2.48 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3785, allocations: 0 / 0.5862 GB, free: 2.48 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.906e-06/0.3786, allocations: 1 kB / 0.5862 GB, free: 2.48 MB / 430.1 MB 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.0003622/0.3789, allocations: 372.5 kB / 0.5866 GB, free: 2.094 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.379, allocations: 10.16 kB / 0.5866 GB, free: 2.094 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.416e-05/0.379, allocations: 37.75 kB / 0.5866 GB, free: 2.051 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003796/0.3794, allocations: 74.03 kB / 0.5867 GB, free: 2.043 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.956e-05/0.3795, allocations: 174.8 kB / 0.5869 GB, free: 1.84 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.3795, allocations: 5.938 kB / 0.5869 GB, free: 1.836 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.976e-05/0.3795, allocations: 1.812 kB / 0.5869 GB, free: 1.836 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002646/0.3798, allocations: 82.77 kB / 0.587 GB, free: 1.793 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.3798, allocations: 0.6562 kB / 0.587 GB, free: 1.793 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.317e-06/0.3798, allocations: 0.6562 kB / 0.587 GB, free: 1.793 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.3798, allocations: 4.703 kB / 0.587 GB, free: 1.789 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003809/0.3802, allocations: 91.59 kB / 0.587 GB, free: 1.773 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001266/0.3804, allocations: 166.5 kB / 0.5872 GB, free: 1.578 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005876/0.381, allocations: 146.9 kB / 0.5873 GB, free: 1.535 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001908/0.3812, allocations: 46.92 kB / 0.5874 GB, free: 1.523 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.526e-05/0.3812, allocations: 3.938 kB / 0.5874 GB, free: 1.52 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.34e-05/0.3812, allocations: 40.3 kB / 0.5874 GB, free: 1.473 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 1.213e-06/0.3812, allocations: 1.062 kB / 0.5874 GB, free: 1.473 MB / 430.1 MB 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.004475/0.3857, allocations: 0.9497 MB / 0.5884 GB, free: 1.32 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.002e-05/0.3857, allocations: 54.36 kB / 0.5884 GB, free: 1.258 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.651e-05/0.3858, allocations: 113.2 kB / 0.5885 GB, free: 1.152 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.3858, allocations: 26.45 kB / 0.5885 GB, free: 1.121 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.918e-05/0.3858, allocations: 86.22 kB / 0.5886 GB, free: 1.035 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.741e-05/0.3859, allocations: 34.42 kB / 0.5887 GB, free: 1.008 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.069e-05/0.3859, allocations: 12.66 kB / 0.5887 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.461e-05/0.386, allocations: 322.6 kB / 0.589 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004871/0.3865, allocations: 113.3 kB / 0.5891 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004672/0.3869, allocations: 123.4 kB / 0.5892 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008999/0.3878, allocations: 239.5 kB / 0.5894 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.3879, allocations: 3.938 kB / 0.5894 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009903/0.3889, allocations: 283.9 kB / 0.5897 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.3889, allocations: 6.875 kB / 0.5897 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.3889, allocations: 4.703 kB / 0.5897 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.3889, allocations: 1.25 kB / 0.5897 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003444/0.3893, allocations: 68.98 kB / 0.5898 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.3893, allocations: 1.312 kB / 0.5898 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002671/0.3895, allocations: 45.52 kB / 0.5898 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.62e-05/0.3896, allocations: 5.578 kB / 0.5898 GB, free: 0.5039 MB / 430.1 MB 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 5.896e-05/0.3896, allocations: 120.8 kB / 0.59 GB, free: 388 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.015e-05/0.3897, allocations: 6.75 kB / 0.59 GB, free: 384 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.78e-05/0.3897, allocations: 10.59 kB / 0.59 GB, free: 372 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.3897, allocations: 1.719 kB / 0.59 GB, free: 372 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.3897, allocations: 0 / 0.59 GB, free: 372 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.3897, allocations: 6.031 kB / 0.59 GB, free: 368 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001766/0.3915, allocations: 0.6506 MB / 0.5906 GB, free: 15.99 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.3915, allocations: 0.5938 kB / 0.5906 GB, free: 15.99 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002972/0.3918, allocations: 73.06 kB / 0.5907 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.3918, allocations: 0.9375 kB / 0.5907 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/0.3918, allocations: 8.984 kB / 0.5907 GB, free: 15.97 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.3919, allocations: 1.219 kB / 0.5907 GB, free: 15.97 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.3919, allocations: 9.359 kB / 0.5907 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001052/0.3929, allocations: 380.2 kB / 0.5911 GB, free: 15.78 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.765e-05/0.393, allocations: 89.75 kB / 0.5912 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.226e-05/0.393, allocations: 1.625 kB / 0.5912 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002828/0.3933, allocations: 46.2 kB / 0.5912 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.706e-05/0.3933, allocations: 21.08 kB / 0.5912 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/0.3934, allocations: 5.75 kB / 0.5912 GB, free: 15.66 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.61e-05/0.3934, allocations: 94.58 kB / 0.5913 GB, free: 15.58 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3934, allocations: 0 / 0.5913 GB, free: 15.58 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003155/0.3938, allocations: 36.86 kB / 0.5913 GB, free: 15.57 MB / 446.1 MB 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.001394/0.3952, allocations: 0.9366 MB / 0.5923 GB, free: 14.85 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001011/0.3962, allocations: 251.7 kB / 0.5925 GB, free: 14.82 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3962, allocations: 0 / 0.5925 GB, free: 14.82 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004898/0.3967, allocations: 131.8 kB / 0.5926 GB, free: 14.8 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000245/0.397, allocations: 12.28 kB / 0.5926 GB, free: 14.79 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00486/0.4018, allocations: 2.311 MB / 0.5949 GB, free: 13.36 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002053/0.402, allocations: 0.6864 MB / 0.5956 GB, free: 12.66 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001163/0.4022, allocations: 20.36 kB / 0.5956 GB, free: 12.65 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.346e-05/0.4023, allocations: 27.94 kB / 0.5956 GB, free: 12.64 MB / 446.1 MB Notification: Performance of SimCode: time 3.51e-07/0.4023, allocations: 0 / 0.5956 GB, free: 12.64 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2506/0.6529, allocations: 2.479 MB / 0.598 GB, free: 11.81 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003073/0.6532, allocations: 197.2 kB / 0.5982 GB, free: 11.56 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.805/2.458, allocations: 0 / 0.5982 GB, free: 11.56 MB / 446.1 MB (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)