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.007212/0.007213, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.001713/0.001713, allocations: 187.4 kB / 16.67 MB, free: 5.977 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.369/1.369, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.052/1.052, allocations: 135.1 MB / 425.7 MB, free: 12.11 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001332, allocations: 67.89 kB / 0.5852 GB, free: 3.801 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4228/0.4242, allocations: 80.92 MB / 0.6642 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.002158/0.4264, allocations: 0.6366 MB / 0.6648 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001909/0.4283, allocations: 1.444 MB / 0.6662 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.583e-05/0.4284, allocations: 0 / 0.6662 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.736e-05/0.4284, allocations: 3.938 kB / 0.6662 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.927e-05/0.4285, allocations: 9.312 kB / 0.6662 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005012/0.429, allocations: 120.8 kB / 0.6664 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.717e-05/0.4291, allocations: 24.66 kB / 0.6664 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.496e-05/0.4292, allocations: 6.75 kB / 0.6664 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.779e-05/0.4292, allocations: 9.125 kB / 0.6664 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.671e-05/0.4293, allocations: 30.56 kB / 0.6664 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.401e-05/0.4293, allocations: 1.438 kB / 0.6664 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004366/0.4298, allocations: 316.4 kB / 0.6667 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.742e-05/0.4298, allocations: 9.391 kB / 0.6667 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.336e-05/0.4298, allocations: 14.42 kB / 0.6668 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002604/0.4301, allocations: 185.6 kB / 0.6669 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.4301, allocations: 0 / 0.6669 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4301, allocations: 0 / 0.6669 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.4301, allocations: 1.094 kB / 0.6669 GB, free: 5.184 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.0004419/0.4305, allocations: 378.8 kB / 0.6673 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.4306, allocations: 10.69 kB / 0.6673 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.966e-05/0.4306, allocations: 30.75 kB / 0.6673 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003658/0.431, allocations: 62.86 kB / 0.6674 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.4311, allocations: 185.5 kB / 0.6676 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.4311, allocations: 1.312 kB / 0.6676 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.982e-05/0.4312, allocations: 2.531 kB / 0.6676 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002509/0.4314, allocations: 80.36 kB / 0.6676 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.4314, allocations: 5.094 kB / 0.6677 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.4315, allocations: 0 / 0.6677 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.4315, allocations: 1.062 kB / 0.6677 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000345/0.4318, allocations: 74.03 kB / 0.6677 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001414/0.432, allocations: 165.9 kB / 0.6679 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004998/0.4325, allocations: 130.9 kB / 0.668 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001674/0.4327, allocations: 43.2 kB / 0.668 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.683e-05/0.4327, allocations: 1.531 kB / 0.6681 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.657e-05/0.4327, allocations: 34.5 kB / 0.6681 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.4327, allocations: 0 / 0.6681 GB, free: 4.062 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.003777/0.4365, allocations: 0.7995 MB / 0.6689 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.048e-05/0.4365, allocations: 52.97 kB / 0.6689 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.242e-05/0.4366, allocations: 109.4 kB / 0.669 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.189e-05/0.4366, allocations: 25.7 kB / 0.669 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.021e-05/0.4366, allocations: 86.45 kB / 0.6691 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.195e-05/0.4367, allocations: 27.33 kB / 0.6692 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.95e-05/0.4367, allocations: 24.67 kB / 0.6692 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.107e-05/0.4368, allocations: 321.2 kB / 0.6695 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000438/0.4372, allocations: 96.42 kB / 0.6696 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003915/0.4376, allocations: 96.64 kB / 0.6697 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007695/0.4384, allocations: 196.2 kB / 0.6699 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.4384, allocations: 3.938 kB / 0.6699 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008396/0.4393, allocations: 241.9 kB / 0.6701 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.4393, allocations: 9.219 kB / 0.6701 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.4393, allocations: 0 / 0.6701 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.4393, allocations: 1.375 kB / 0.6701 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002891/0.4396, allocations: 55.16 kB / 0.6702 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.4396, allocations: 320 / 0.6702 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002089/0.4398, allocations: 41.48 kB / 0.6702 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/0.4398, allocations: 2.688 kB / 0.6702 GB, free: 2.715 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 5.971e-05/0.4399, allocations: 124.1 kB / 0.6703 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.852e-05/0.4399, allocations: 6.875 kB / 0.6703 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.737e-05/0.44, allocations: 13.67 kB / 0.6703 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.44, allocations: 1.438 kB / 0.6703 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.44, allocations: 5.625 kB / 0.6703 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.44, allocations: 0 / 0.6703 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001468/0.4415, allocations: 0.5981 MB / 0.6709 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.4415, allocations: 6.094 kB / 0.6709 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002419/0.4417, allocations: 54.81 kB / 0.671 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.4417, allocations: 1.375 kB / 0.671 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.4418, allocations: 6.391 kB / 0.671 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.4418, allocations: 1.219 kB / 0.671 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.4418, allocations: 13.16 kB / 0.671 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008337/0.4426, allocations: 338.8 kB / 0.6713 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.358e-05/0.4427, allocations: 83.36 kB / 0.6714 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.926e-05/0.4427, allocations: 7 kB / 0.6714 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002357/0.4429, allocations: 32.67 kB / 0.6714 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.159e-05/0.443, allocations: 16.05 kB / 0.6715 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.181e-05/0.443, allocations: 8.281 kB / 0.6715 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.258e-05/0.443, allocations: 90.98 kB / 0.6716 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.443, allocations: 1.281 kB / 0.6716 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000276/0.4433, allocations: 39.02 kB / 0.6716 GB, free: 1.59 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.001097/0.4444, allocations: 0.9008 MB / 0.6725 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008576/0.4453, allocations: 208.8 kB / 0.6727 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4453, allocations: 4 kB / 0.6727 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004111/0.4457, allocations: 112.3 kB / 0.6728 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000225/0.4459, allocations: 14.36 kB / 0.6728 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004274/0.4502, allocations: 2.132 MB / 0.6749 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002463/0.4505, allocations: 0.6892 MB / 0.6755 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 9.858e-05/0.4506, allocations: 21.73 kB / 0.6756 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.789e-05/0.4507, allocations: 23.17 kB / 0.6756 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.4507, allocations: 0 / 0.6756 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02009/0.4708, allocations: 2.777 MB / 0.6783 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.309/7.78, allocations: 4 kB / 0.6783 GB, free: 12.81 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)