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.001064/0.001064, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001178/0.001178, allocations: 193 kB / 16.53 MB, free: 6.391 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.329/1.329, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7394/0.7394, allocations: 132.2 MB / 422.6 MB, free: 1.773 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 63.94 kB / 0.5019 GB, free: 3.754 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3657/0.367, allocations: 80.2 MB / 0.5802 GB, free: 4.57 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001927/0.3689, allocations: 0.6263 MB / 0.5808 GB, free: 4.172 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001685/0.3706, allocations: 1.455 MB / 0.5822 GB, free: 3.109 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.08e-05/0.3707, allocations: 4.969 kB / 0.5822 GB, free: 3.105 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.515e-05/0.3707, allocations: 0 / 0.5822 GB, free: 3.105 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.156e-05/0.3708, allocations: 7.25 kB / 0.5822 GB, free: 3.102 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004593/0.3713, allocations: 123.4 kB / 0.5824 GB, free: 3.047 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.919e-05/0.3713, allocations: 28.55 kB / 0.5824 GB, free: 3.035 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.433e-05/0.3714, allocations: 7.578 kB / 0.5824 GB, free: 3.031 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.742e-05/0.3714, allocations: 12.12 kB / 0.5824 GB, free: 3.027 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.998e-05/0.3715, allocations: 23.12 kB / 0.5824 GB, free: 3.016 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.424e-05/0.3715, allocations: 2.75 kB / 0.5824 GB, free: 3.016 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005112/0.372, allocations: 318.4 kB / 0.5827 GB, free: 2.926 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.752e-05/0.372, allocations: 6.688 kB / 0.5827 GB, free: 2.922 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.433e-05/0.3721, allocations: 13 kB / 0.5828 GB, free: 2.914 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003099/0.3724, allocations: 185.6 kB / 0.5829 GB, free: 2.867 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.3724, allocations: 0 / 0.5829 GB, free: 2.867 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.3724, allocations: 0 / 0.5829 GB, free: 2.867 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.3724, allocations: 0.9062 kB / 0.5829 GB, free: 2.867 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.0004056/0.3728, allocations: 381.8 kB / 0.5833 GB, free: 2.477 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.3729, allocations: 13.41 kB / 0.5833 GB, free: 2.473 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.585e-05/0.3729, allocations: 36.17 kB / 0.5833 GB, free: 2.43 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003669/0.3733, allocations: 58.58 kB / 0.5834 GB, free: 2.426 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.671e-05/0.3734, allocations: 175.1 kB / 0.5836 GB, free: 2.223 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.3734, allocations: 1.875 kB / 0.5836 GB, free: 2.223 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.957e-05/0.3734, allocations: 11.56 kB / 0.5836 GB, free: 2.215 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002508/0.3737, allocations: 75.41 kB / 0.5837 GB, free: 2.172 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.3737, allocations: 1.766 kB / 0.5837 GB, free: 2.172 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.3737, allocations: 0 / 0.5837 GB, free: 2.172 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.3737, allocations: 1.031 kB / 0.5837 GB, free: 2.172 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003678/0.3741, allocations: 76.12 kB / 0.5837 GB, free: 2.16 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001274/0.3742, allocations: 168.9 kB / 0.5839 GB, free: 1.961 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005357/0.3748, allocations: 129.4 kB / 0.584 GB, free: 1.918 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001775/0.375, allocations: 40.28 kB / 0.5841 GB, free: 1.906 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.483e-05/0.375, allocations: 1.375 kB / 0.5841 GB, free: 1.906 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.49e-05/0.375, allocations: 37.16 kB / 0.5841 GB, free: 1.863 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.375, allocations: 7.938 kB / 0.5841 GB, free: 1.855 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.004075/0.3791, allocations: 0.7873 MB / 0.5849 GB, free: 1.719 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.322e-05/0.3791, allocations: 52.89 kB / 0.5849 GB, free: 1.656 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.636e-05/0.3792, allocations: 118.8 kB / 0.585 GB, free: 1.547 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.3792, allocations: 25.7 kB / 0.5851 GB, free: 1.516 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.908e-05/0.3792, allocations: 91.53 kB / 0.5851 GB, free: 1.426 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.346e-05/0.3793, allocations: 28.56 kB / 0.5852 GB, free: 1.402 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.541e-05/0.3793, allocations: 26.55 kB / 0.5852 GB, free: 1.383 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.548e-05/0.3794, allocations: 313.7 kB / 0.5855 GB, free: 1.07 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004538/0.3798, allocations: 99.19 kB / 0.5856 GB, free: 1.055 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004305/0.3803, allocations: 99.61 kB / 0.5857 GB, free: 1.039 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008384/0.3811, allocations: 195.1 kB / 0.5859 GB, free: 1 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3811, allocations: 3.938 kB / 0.5859 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009192/0.3821, allocations: 240.1 kB / 0.5861 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.3821, allocations: 5.25 kB / 0.5861 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.3821, allocations: 5.188 kB / 0.5861 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.3821, allocations: 0.6562 kB / 0.5861 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003072/0.3824, allocations: 50.47 kB / 0.5862 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.3824, allocations: 1.531 kB / 0.5862 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002283/0.3827, allocations: 36.12 kB / 0.5862 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.475e-05/0.3827, allocations: 4.734 kB / 0.5862 GB, free: 0.9219 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.532e-05/0.3828, allocations: 120.7 kB / 0.5863 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.369e-05/0.3828, allocations: 7.812 kB / 0.5863 GB, free: 0.793 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.854e-05/0.3828, allocations: 18.58 kB / 0.5863 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.3828, allocations: 1.094 kB / 0.5863 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.3828, allocations: 1.297 kB / 0.5863 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.3829, allocations: 5.547 kB / 0.5864 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001615/0.3845, allocations: 0.595 MB / 0.5869 GB, free: 408 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.3845, allocations: 1.031 kB / 0.5869 GB, free: 408 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002693/0.3848, allocations: 54 kB / 0.587 GB, free: 404 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.3848, allocations: 1.828 kB / 0.587 GB, free: 404 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.3848, allocations: 4.406 kB / 0.587 GB, free: 404 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.568e-06/0.3848, allocations: 6.203 kB / 0.587 GB, free: 400 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.3848, allocations: 7.875 kB / 0.587 GB, free: 392 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009119/0.3857, allocations: 339.3 kB / 0.5873 GB, free: 208 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.359e-05/0.3858, allocations: 84.44 kB / 0.5874 GB, free: 108 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.354e-05/0.3858, allocations: 1.953 kB / 0.5874 GB, free: 108 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002528/0.386, allocations: 41.27 kB / 0.5874 GB, free: 100 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.997e-05/0.3861, allocations: 12.33 kB / 0.5875 GB, free: 96 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/0.3861, allocations: 5.859 kB / 0.5875 GB, free: 96 kB / 430.1 MB Notification: Performance of sorting global known variables: time 3.511e-05/0.3862, allocations: 90.95 kB / 0.5876 GB, free: 16 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3862, allocations: 0 / 0.5876 GB, free: 16 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003035/0.3865, allocations: 45.44 kB / 0.5876 GB, free: 0 / 430.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.001369/0.3878, allocations: 0.8907 MB / 0.5885 GB, free: 15.29 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009408/0.3888, allocations: 215.4 kB / 0.5887 GB, free: 15.25 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.3888, allocations: 0 / 0.5887 GB, free: 15.25 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004569/0.3893, allocations: 108.8 kB / 0.5888 GB, free: 15.23 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002318/0.3895, allocations: 7.484 kB / 0.5888 GB, free: 15.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004732/0.3943, allocations: 2.138 MB / 0.5909 GB, free: 13.82 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002324/0.3945, allocations: 0.6854 MB / 0.5915 GB, free: 13.12 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001165/0.3946, allocations: 24.31 kB / 0.5916 GB, free: 13.11 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.224e-05/0.3947, allocations: 23.55 kB / 0.5916 GB, free: 13.1 MB / 446.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3947, allocations: 0 / 0.5916 GB, free: 13.1 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01781/0.4125, allocations: 2.695 MB / 0.5942 GB, free: 12.12 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.31/7.723, allocations: 14.14 kB / 0.5942 GB, free: 12.12 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)