Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="IDEAS_dev_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.008102/0.008102, allocations: 97.95 kB / 15.73 MB, free: 6.062 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.001265/0.001265, allocations: 193.1 kB / 16.68 MB, free: 5.969 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.436/1.436, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.011/1.011, allocations: 135.5 MB / 426.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001866/0.001866, allocations: 67.88 kB / 0.5858 GB, free: 3.141 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4194/0.4213, allocations: 81.02 MB / 0.6649 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001439/0.4228, allocations: 0.6229 MB / 0.6655 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00141/0.4242, allocations: 1.458 MB / 0.667 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.199e-05/0.4242, allocations: 0 / 0.667 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.663e-05/0.4243, allocations: 1.312 kB / 0.667 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.049e-05/0.4244, allocations: 11.92 kB / 0.667 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00039/0.4248, allocations: 119 kB / 0.6671 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.042e-05/0.4248, allocations: 23.2 kB / 0.6671 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.621e-05/0.4249, allocations: 2.656 kB / 0.6671 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.07e-05/0.4249, allocations: 18.45 kB / 0.6671 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.754e-05/0.425, allocations: 21.25 kB / 0.6671 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.513e-05/0.425, allocations: 5.438 kB / 0.6671 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004004/0.4254, allocations: 312.2 kB / 0.6674 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.354e-05/0.4254, allocations: 14.58 kB / 0.6675 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.091e-05/0.4255, allocations: 14.45 kB / 0.6675 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002492/0.4257, allocations: 187.3 kB / 0.6676 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.4257, allocations: 4 kB / 0.6677 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.283e-06/0.4257, allocations: 0 / 0.6677 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.047e-05/0.4258, allocations: 1.188 kB / 0.6677 GB, free: 4.922 MB / 0.4981 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.0003845/0.4261, allocations: 386.8 kB / 0.668 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.4262, allocations: 9.5 kB / 0.668 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.364e-05/0.4262, allocations: 32.22 kB / 0.6681 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003338/0.4266, allocations: 62.78 kB / 0.6681 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.542e-05/0.4267, allocations: 175.9 kB / 0.6683 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.4267, allocations: 2.188 kB / 0.6683 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.862e-05/0.4267, allocations: 2.094 kB / 0.6683 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002394/0.4269, allocations: 80.88 kB / 0.6684 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.427, allocations: 1.406 kB / 0.6684 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.128e-06/0.427, allocations: 4 kB / 0.6684 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.423e-06/0.427, allocations: 1.625 kB / 0.6684 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003316/0.4273, allocations: 72.8 kB / 0.6684 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001384/0.4275, allocations: 167.3 kB / 0.6686 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005/0.428, allocations: 117.8 kB / 0.6687 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001663/0.4282, allocations: 47.5 kB / 0.6688 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.569e-05/0.4282, allocations: 0 / 0.6688 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.402e-05/0.4282, allocations: 40.5 kB / 0.6688 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 8.82e-07/0.4282, allocations: 0 / 0.6688 GB, free: 3.805 MB / 0.4981 GB 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.003803/0.432, allocations: 0.7881 MB / 0.6696 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.151e-05/0.432, allocations: 56.66 kB / 0.6696 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.92e-05/0.4321, allocations: 110.8 kB / 0.6697 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.146e-05/0.4321, allocations: 25.7 kB / 0.6698 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.845e-05/0.4321, allocations: 85.7 kB / 0.6698 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.246e-05/0.4322, allocations: 39.17 kB / 0.6699 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.192e-05/0.4322, allocations: 26.48 kB / 0.6699 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.674e-05/0.4323, allocations: 320.1 kB / 0.6702 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004124/0.4327, allocations: 100.7 kB / 0.6703 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003917/0.4331, allocations: 92.97 kB / 0.6704 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007859/0.4339, allocations: 194.8 kB / 0.6706 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.4339, allocations: 4.125 kB / 0.6706 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008647/0.4348, allocations: 239.4 kB / 0.6708 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.4348, allocations: 8.188 kB / 0.6708 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.4348, allocations: 5.469 kB / 0.6708 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.4348, allocations: 96 / 0.6708 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003024/0.4351, allocations: 58.38 kB / 0.6709 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.4352, allocations: 1.219 kB / 0.6709 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002187/0.4354, allocations: 40.8 kB / 0.6709 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.43e-05/0.4354, allocations: 3.281 kB / 0.6709 GB, free: 2.445 MB / 0.4981 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 () * 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 7.436e-05/0.4355, allocations: 120 kB / 0.671 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.019e-05/0.4355, allocations: 7.203 kB / 0.671 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.008e-05/0.4356, allocations: 13.36 kB / 0.6711 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.4356, allocations: 2.156 kB / 0.6711 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.4356, allocations: 4 kB / 0.6711 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.4356, allocations: 0 / 0.6711 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001517/0.4371, allocations: 0.5911 MB / 0.6716 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.4371, allocations: 1.188 kB / 0.6716 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002556/0.4374, allocations: 58.47 kB / 0.6717 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.4374, allocations: 2.156 kB / 0.6717 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/0.4374, allocations: 6.156 kB / 0.6717 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.4374, allocations: 1.062 kB / 0.6717 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.4374, allocations: 13.05 kB / 0.6717 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008703/0.4383, allocations: 332 kB / 0.672 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.179e-05/0.4383, allocations: 90.56 kB / 0.6721 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.259e-05/0.4384, allocations: 2.281 kB / 0.6721 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002418/0.4386, allocations: 33.55 kB / 0.6722 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.237e-05/0.4387, allocations: 12.33 kB / 0.6722 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.272e-05/0.4387, allocations: 11.44 kB / 0.6722 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.338e-05/0.4387, allocations: 91.75 kB / 0.6723 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4387, allocations: 1.125 kB / 0.6723 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002849/0.439, allocations: 34.75 kB / 0.6723 GB, free: 1.34 MB / 0.4981 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 () * 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.001162/0.4402, allocations: 0.9004 MB / 0.6732 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008929/0.4411, allocations: 216.1 kB / 0.6734 GB, free: 480 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.4411, allocations: 4 kB / 0.6734 GB, free: 476 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004203/0.4415, allocations: 113.3 kB / 0.6735 GB, free: 428 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002287/0.4418, allocations: 16.25 kB / 0.6735 GB, free: 416 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004689/0.4465, allocations: 2.133 MB / 0.6756 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003475/0.4468, allocations: 0.6835 MB / 0.6763 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001091/0.447, allocations: 25.81 kB / 0.6763 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.892e-05/0.4471, allocations: 26.42 kB / 0.6763 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of SimCode: time 6.91e-07/0.4471, allocations: 0 / 0.6763 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02418/0.4712, allocations: 2.733 MB / 0.679 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.739/8.21, allocations: 5.141 kB / 0.679 GB, free: 12.57 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)