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.007277/0.007277, allocations: 103.5 kB / 15.73 MB, free: 6.035 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.00168/0.00168, allocations: 198.8 kB / 16.67 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.385/1.385, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9468/0.9468, allocations: 135.1 MB / 425.7 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 71.89 kB / 0.5852 GB, free: 3.816 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4232/0.4246, allocations: 80.91 MB / 0.6642 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001653/0.4263, allocations: 0.6332 MB / 0.6648 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001606/0.4279, allocations: 1.451 MB / 0.6662 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.427e-05/0.428, allocations: 0 / 0.6662 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.683e-05/0.428, allocations: 1.406 kB / 0.6662 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.749e-05/0.4281, allocations: 3.938 kB / 0.6662 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004699/0.4286, allocations: 126.5 kB / 0.6664 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.064e-05/0.4286, allocations: 27.61 kB / 0.6664 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.077e-05/0.4287, allocations: 3 kB / 0.6664 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.772e-05/0.4287, allocations: 17.22 kB / 0.6664 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.784e-05/0.4288, allocations: 22.56 kB / 0.6664 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.351e-05/0.4288, allocations: 2.188 kB / 0.6664 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004136/0.4292, allocations: 320.3 kB / 0.6667 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.548e-05/0.4292, allocations: 5.219 kB / 0.6667 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.496e-05/0.4293, allocations: 14.08 kB / 0.6668 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002766/0.4296, allocations: 186.2 kB / 0.6669 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.4296, allocations: 0 / 0.6669 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.172e-06/0.4296, allocations: 4 kB / 0.6669 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.71e-06/0.4296, allocations: 0 / 0.6669 GB, free: 5.199 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.00041/0.43, allocations: 380.2 kB / 0.6673 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.43, allocations: 9.188 kB / 0.6673 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.921e-05/0.4301, allocations: 36.61 kB / 0.6673 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000332/0.4304, allocations: 61.38 kB / 0.6674 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.4305, allocations: 181.8 kB / 0.6676 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.4306, allocations: 1.5 kB / 0.6676 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.4306, allocations: 1.875 kB / 0.6676 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002232/0.4308, allocations: 76.92 kB / 0.6677 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.4308, allocations: 1.5 kB / 0.6677 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.4308, allocations: 4 kB / 0.6677 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.4308, allocations: 0 / 0.6677 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003075/0.4312, allocations: 77.81 kB / 0.6677 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000137/0.4313, allocations: 167.1 kB / 0.6679 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000458/0.4318, allocations: 131.1 kB / 0.668 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001544/0.4319, allocations: 39.27 kB / 0.6681 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/0.432, allocations: 3.984 kB / 0.6681 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.007e-05/0.432, allocations: 43.7 kB / 0.6681 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.293e-06/0.432, allocations: 0 / 0.6681 GB, free: 4.07 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.003644/0.4356, allocations: 0.788 MB / 0.6689 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.072e-05/0.4357, allocations: 52.88 kB / 0.6689 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.285e-05/0.4358, allocations: 109.6 kB / 0.669 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.27e-05/0.4358, allocations: 27.05 kB / 0.669 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.477e-05/0.4358, allocations: 89.61 kB / 0.6691 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.625e-05/0.4359, allocations: 27.36 kB / 0.6692 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.615e-05/0.4359, allocations: 25.55 kB / 0.6692 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.665e-05/0.436, allocations: 320.2 kB / 0.6695 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003692/0.4363, allocations: 91.97 kB / 0.6696 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003491/0.4367, allocations: 105.4 kB / 0.6697 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006652/0.4374, allocations: 195.5 kB / 0.6699 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.4374, allocations: 3.938 kB / 0.6699 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007433/0.4381, allocations: 234.8 kB / 0.6701 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.4382, allocations: 13.03 kB / 0.6701 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.4382, allocations: 0 / 0.6701 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.4382, allocations: 1.281 kB / 0.6701 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002816/0.4385, allocations: 50.47 kB / 0.6702 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.4385, allocations: 5.594 kB / 0.6702 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001987/0.4387, allocations: 36.45 kB / 0.6702 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.706e-05/0.4387, allocations: 6.953 kB / 0.6702 GB, free: 2.727 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 6.245e-05/0.4388, allocations: 128.6 kB / 0.6703 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.288e-05/0.4388, allocations: 6.375 kB / 0.6703 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.272e-05/0.4389, allocations: 9.594 kB / 0.6703 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.4389, allocations: 1.156 kB / 0.6703 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/0.4389, allocations: 1.312 kB / 0.6703 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.4389, allocations: 0 / 0.6703 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001395/0.4403, allocations: 0.595 MB / 0.6709 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.4403, allocations: 6.047 kB / 0.6709 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002393/0.4405, allocations: 50.95 kB / 0.671 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.4406, allocations: 5 kB / 0.671 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.4406, allocations: 10.27 kB / 0.671 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.4406, allocations: 1.062 kB / 0.671 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.4406, allocations: 9.062 kB / 0.671 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007797/0.4414, allocations: 343.7 kB / 0.6713 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.209e-05/0.4414, allocations: 79.67 kB / 0.6714 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.937e-05/0.4414, allocations: 1.219 kB / 0.6714 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002202/0.4417, allocations: 37.55 kB / 0.6714 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.59e-05/0.4417, allocations: 12.11 kB / 0.6715 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.4417, allocations: 12.67 kB / 0.6715 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.558e-05/0.4418, allocations: 87.81 kB / 0.6715 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4418, allocations: 3.938 kB / 0.6716 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002856/0.442, allocations: 38.61 kB / 0.6716 GB, free: 1.609 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.001066/0.4431, allocations: 0.8979 MB / 0.6725 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007942/0.4439, allocations: 211.7 kB / 0.6727 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4439, allocations: 0 / 0.6727 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003858/0.4443, allocations: 112.7 kB / 0.6728 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002316/0.4446, allocations: 11.06 kB / 0.6728 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004052/0.4486, allocations: 2.14 MB / 0.6749 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002564/0.4489, allocations: 0.6873 MB / 0.6755 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 9.611e-05/0.449, allocations: 21.34 kB / 0.6756 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.371e-05/0.4491, allocations: 27.27 kB / 0.6756 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of SimCode: time 3.61e-07/0.4491, allocations: 0 / 0.6756 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0204/0.4695, allocations: 2.727 MB / 0.6783 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.469/7.938, allocations: 7.875 kB / 0.6783 GB, free: 12.86 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)