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.001091/0.001091, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001147/0.001147, allocations: 189.2 kB / 16.25 MB, free: 6.641 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.285/1.285, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7222/0.7222, allocations: 132.2 MB / 422.3 MB, free: 1.898 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001124/0.001124, allocations: 59.62 kB / 0.5014 GB, free: 4.07 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3435/0.3446, allocations: 80.2 MB / 0.5797 GB, free: 4.543 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001695/0.3463, allocations: 0.692 MB / 0.5804 GB, free: 4.105 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001503/0.3479, allocations: 1.451 MB / 0.5818 GB, free: 3.043 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.351e-05/0.3479, allocations: 3.938 kB / 0.5818 GB, free: 3.039 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.374e-05/0.3479, allocations: 0 / 0.5818 GB, free: 3.039 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.145e-05/0.348, allocations: 2.844 kB / 0.5818 GB, free: 3.039 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000372/0.3484, allocations: 111.1 kB / 0.5819 GB, free: 2.988 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.821e-05/0.3484, allocations: 27.89 kB / 0.5819 GB, free: 2.977 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.175e-05/0.3485, allocations: 4.781 kB / 0.5819 GB, free: 2.977 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.191e-05/0.3485, allocations: 11.62 kB / 0.5819 GB, free: 2.973 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.817e-05/0.3486, allocations: 19.08 kB / 0.582 GB, free: 2.965 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.197e-05/0.3486, allocations: 1.562 kB / 0.582 GB, free: 2.965 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004489/0.3491, allocations: 319 kB / 0.5823 GB, free: 2.875 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.408e-05/0.3491, allocations: 8.016 kB / 0.5823 GB, free: 2.871 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.454e-05/0.3491, allocations: 16.98 kB / 0.5823 GB, free: 2.859 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002849/0.3494, allocations: 184.4 kB / 0.5825 GB, free: 2.812 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3494, allocations: 5.312 kB / 0.5825 GB, free: 2.809 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3494, allocations: 0 / 0.5825 GB, free: 2.809 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.3494, allocations: 0 / 0.5825 GB, free: 2.809 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.0004072/0.3498, allocations: 380 kB / 0.5828 GB, free: 2.422 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.3499, allocations: 8.594 kB / 0.5828 GB, free: 2.422 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.478e-05/0.3499, allocations: 36.64 kB / 0.5829 GB, free: 2.379 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003601/0.3503, allocations: 58.83 kB / 0.5829 GB, free: 2.375 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.292e-05/0.3504, allocations: 179.8 kB / 0.5831 GB, free: 2.168 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.3504, allocations: 1.719 kB / 0.5831 GB, free: 2.168 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.924e-05/0.3504, allocations: 5.906 kB / 0.5831 GB, free: 2.164 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002597/0.3507, allocations: 77.39 kB / 0.5832 GB, free: 2.121 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.3507, allocations: 3.938 kB / 0.5832 GB, free: 2.117 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.3507, allocations: 1.156 kB / 0.5832 GB, free: 2.117 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.3507, allocations: 4 kB / 0.5832 GB, free: 2.113 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003403/0.3511, allocations: 72 kB / 0.5833 GB, free: 2.105 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001231/0.3512, allocations: 166.3 kB / 0.5834 GB, free: 1.91 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005072/0.3517, allocations: 127.8 kB / 0.5835 GB, free: 1.867 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001697/0.3519, allocations: 42.22 kB / 0.5836 GB, free: 1.855 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.516e-05/0.3519, allocations: 7.938 kB / 0.5836 GB, free: 1.848 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.489e-05/0.3519, allocations: 44.64 kB / 0.5836 GB, free: 1.797 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.3519, allocations: 0 / 0.5836 GB, free: 1.797 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.003966/0.3559, allocations: 0.7743 MB / 0.5844 GB, free: 1.672 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.901e-05/0.3559, allocations: 52.88 kB / 0.5844 GB, free: 1.609 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.243e-05/0.356, allocations: 114.6 kB / 0.5845 GB, free: 1.504 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.356, allocations: 29.7 kB / 0.5846 GB, free: 1.469 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.93e-05/0.3561, allocations: 90.33 kB / 0.5847 GB, free: 1.379 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.407e-05/0.3561, allocations: 25.38 kB / 0.5847 GB, free: 1.359 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.408e-05/0.3562, allocations: 29.7 kB / 0.5847 GB, free: 1.336 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.41e-05/0.3562, allocations: 314.8 kB / 0.585 GB, free: 1.023 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004096/0.3566, allocations: 98.77 kB / 0.5851 GB, free: 1.008 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003989/0.357, allocations: 100.1 kB / 0.5852 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007759/0.3578, allocations: 190.3 kB / 0.5854 GB, free: 0.957 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.3578, allocations: 4.594 kB / 0.5854 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008821/0.3587, allocations: 244.3 kB / 0.5856 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.3587, allocations: 5.5 kB / 0.5856 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.3587, allocations: 0 / 0.5856 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.3588, allocations: 1.875 kB / 0.5856 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003091/0.3591, allocations: 58.88 kB / 0.5857 GB, free: 0.875 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.3591, allocations: 4.547 kB / 0.5857 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002242/0.3593, allocations: 32.66 kB / 0.5857 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/0.3593, allocations: 4.703 kB / 0.5857 GB, free: 0.8711 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.657e-05/0.3594, allocations: 120.6 kB / 0.5858 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.082e-05/0.3594, allocations: 7.562 kB / 0.5858 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.689e-05/0.3595, allocations: 14.97 kB / 0.5859 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.3595, allocations: 1.062 kB / 0.5859 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.3595, allocations: 0.75 kB / 0.5859 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.135e-06/0.3595, allocations: 1.406 kB / 0.5859 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001504/0.361, allocations: 0.5956 MB / 0.5864 GB, free: 364 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.361, allocations: 0.9375 kB / 0.5864 GB, free: 364 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002655/0.3613, allocations: 62.69 kB / 0.5865 GB, free: 352 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.868e-06/0.3613, allocations: 1.516 kB / 0.5865 GB, free: 352 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.3613, allocations: 12.06 kB / 0.5865 GB, free: 344 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.3613, allocations: 1.594 kB / 0.5865 GB, free: 344 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.3613, allocations: 5.531 kB / 0.5865 GB, free: 340 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000851/0.3622, allocations: 338.4 kB / 0.5868 GB, free: 156 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.163e-05/0.3622, allocations: 85.19 kB / 0.5869 GB, free: 56 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.273e-05/0.3622, allocations: 1.672 kB / 0.5869 GB, free: 56 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002495/0.3625, allocations: 40.77 kB / 0.587 GB, free: 48 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.401e-05/0.3626, allocations: 12.88 kB / 0.587 GB, free: 44 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/0.3626, allocations: 5.984 kB / 0.587 GB, free: 44 kB / 430.1 MB Notification: Performance of sorting global known variables: time 6.709e-05/0.3626, allocations: 89.97 kB / 0.5871 GB, free: 15.96 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3626, allocations: 0 / 0.5871 GB, free: 15.96 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000284/0.3629, allocations: 40.86 kB / 0.5871 GB, free: 15.95 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.001236/0.3642, allocations: 0.9051 MB / 0.588 GB, free: 15.23 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008658/0.3651, allocations: 215.3 kB / 0.5882 GB, free: 15.19 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3651, allocations: 0 / 0.5882 GB, free: 15.19 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004173/0.3655, allocations: 106.1 kB / 0.5883 GB, free: 15.18 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002268/0.3657, allocations: 10.78 kB / 0.5883 GB, free: 15.17 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004354/0.3701, allocations: 2.14 MB / 0.5904 GB, free: 13.76 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002202/0.3703, allocations: 0.6851 MB / 0.5911 GB, free: 13.06 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001202/0.3704, allocations: 26.17 kB / 0.5911 GB, free: 13.05 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.402e-05/0.3705, allocations: 28.27 kB / 0.5911 GB, free: 13.03 MB / 446.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3705, allocations: 0 / 0.5911 GB, free: 13.03 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08998/0.4605, allocations: 2.585 MB / 0.5936 GB, free: 12.29 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001963/0.4608, allocations: 206.5 kB / 0.5938 GB, free: 12.04 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.793/2.253, allocations: 0 / 0.5938 GB, free: 12.04 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)