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.0014/0.0014, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001311/0.001311, allocations: 193.4 kB / 16.14 MB, free: 6.707 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.287/1.287, allocations: 222.9 MB / 239.8 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7465/0.7465, allocations: 132.2 MB / 422.1 MB, free: 2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 59.91 kB / 0.5012 GB, free: 9.156 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1402, allocations: 80.21 MB / 0.5795 GB, free: 9.176 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001575/0.1418, allocations: 0.6932 MB / 0.5802 GB, free: 8.477 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00152/0.1433, allocations: 1.464 MB / 0.5816 GB, free: 6.996 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.442e-05/0.1434, allocations: 0 / 0.5816 GB, free: 6.996 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.485e-05/0.1434, allocations: 0 / 0.5816 GB, free: 6.996 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.903e-05/0.1435, allocations: 7.938 kB / 0.5816 GB, free: 6.988 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002824/0.1438, allocations: 102.4 kB / 0.5817 GB, free: 6.891 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.713e-05/0.1438, allocations: 27.91 kB / 0.5818 GB, free: 6.863 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.385e-05/0.1438, allocations: 4 kB / 0.5818 GB, free: 6.859 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.957e-05/0.1439, allocations: 11.94 kB / 0.5818 GB, free: 6.848 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.405e-05/0.1439, allocations: 23.84 kB / 0.5818 GB, free: 6.824 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.167e-05/0.144, allocations: 0 / 0.5818 GB, free: 6.824 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003962/0.1444, allocations: 315.4 kB / 0.5821 GB, free: 6.516 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.422e-05/0.1444, allocations: 11.98 kB / 0.5821 GB, free: 6.504 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.165e-05/0.1444, allocations: 11.86 kB / 0.5821 GB, free: 6.492 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002434/0.1447, allocations: 187.9 kB / 0.5823 GB, free: 6.309 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.816e-06/0.1447, allocations: 0 / 0.5823 GB, free: 6.309 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.91e-07/0.1447, allocations: 4 kB / 0.5823 GB, free: 6.305 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.1447, allocations: 0 / 0.5823 GB, free: 6.305 MB / 494.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.000415/0.1451, allocations: 376.9 kB / 0.5827 GB, free: 5.891 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.1451, allocations: 12.03 kB / 0.5827 GB, free: 5.879 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.971e-05/0.1452, allocations: 34.75 kB / 0.5827 GB, free: 5.836 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003397/0.1455, allocations: 56.86 kB / 0.5828 GB, free: 5.781 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.1457, allocations: 184.2 kB / 0.5829 GB, free: 5.562 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.1457, allocations: 384 / 0.5829 GB, free: 5.562 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.513e-05/0.1457, allocations: 4.375 kB / 0.5829 GB, free: 5.559 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002429/0.1459, allocations: 77.77 kB / 0.583 GB, free: 5.477 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.146, allocations: 0 / 0.583 GB, free: 5.477 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.146, allocations: 3.938 kB / 0.583 GB, free: 5.473 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.146, allocations: 4 kB / 0.583 GB, free: 5.469 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003274/0.1463, allocations: 71.91 kB / 0.5831 GB, free: 5.398 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001613/0.1465, allocations: 161.7 kB / 0.5832 GB, free: 5.191 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000494/0.147, allocations: 134.5 kB / 0.5834 GB, free: 5.051 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001721/0.1472, allocations: 44.95 kB / 0.5834 GB, free: 5.004 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.268e-05/0.1472, allocations: 0 / 0.5834 GB, free: 5.004 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.814e-05/0.1472, allocations: 42.44 kB / 0.5834 GB, free: 4.953 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 9.72e-07/0.1472, allocations: 0 / 0.5834 GB, free: 4.953 MB / 494.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.003918/0.1511, allocations: 0.7977 MB / 0.5842 GB, free: 4.148 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/0.1513, allocations: 51.41 kB / 0.5843 GB, free: 4.086 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.836e-05/0.1514, allocations: 113.8 kB / 0.5844 GB, free: 3.965 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.1514, allocations: 25.7 kB / 0.5844 GB, free: 3.934 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.504e-05/0.1515, allocations: 92.14 kB / 0.5845 GB, free: 3.84 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.177e-05/0.1515, allocations: 31.55 kB / 0.5845 GB, free: 3.809 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.317e-05/0.1516, allocations: 25.7 kB / 0.5846 GB, free: 3.777 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.812e-05/0.1517, allocations: 314.8 kB / 0.5849 GB, free: 3.461 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003925/0.1521, allocations: 95.89 kB / 0.5849 GB, free: 3.367 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000383/0.1525, allocations: 99.89 kB / 0.585 GB, free: 3.27 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007519/0.1532, allocations: 192.6 kB / 0.5852 GB, free: 3.078 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.1532, allocations: 4.219 kB / 0.5852 GB, free: 3.074 MB / 494.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008602/0.1541, allocations: 249.3 kB / 0.5855 GB, free: 2.824 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.1541, allocations: 8 kB / 0.5855 GB, free: 2.816 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.1541, allocations: 0 / 0.5855 GB, free: 2.816 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.1542, allocations: 0 / 0.5855 GB, free: 2.816 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002935/0.1545, allocations: 51.94 kB / 0.5855 GB, free: 2.766 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.1545, allocations: 0 / 0.5855 GB, free: 2.766 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002099/0.1547, allocations: 35.95 kB / 0.5856 GB, free: 2.73 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.473e-05/0.1547, allocations: 4 kB / 0.5856 GB, free: 2.727 MB / 494.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 0.0001306/0.1548, allocations: 121.8 kB / 0.5857 GB, free: 2.598 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.011e-05/0.1549, allocations: 7.906 kB / 0.5857 GB, free: 2.59 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.52e-05/0.1549, allocations: 16.38 kB / 0.5857 GB, free: 2.574 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1549, allocations: 0 / 0.5857 GB, free: 2.574 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.1549, allocations: 0 / 0.5857 GB, free: 2.574 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.1549, allocations: 0 / 0.5857 GB, free: 2.574 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001494/0.1564, allocations: 0.5974 MB / 0.5863 GB, free: 1.914 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.1564, allocations: 0 / 0.5863 GB, free: 1.914 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002414/0.1567, allocations: 56 kB / 0.5863 GB, free: 1.859 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.1567, allocations: 0 / 0.5863 GB, free: 1.859 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.57e-05/0.1567, allocations: 7.984 kB / 0.5863 GB, free: 1.852 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.1567, allocations: 3.938 kB / 0.5863 GB, free: 1.848 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.1567, allocations: 3.938 kB / 0.5864 GB, free: 1.844 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009089/0.1576, allocations: 344.9 kB / 0.5867 GB, free: 1.484 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.343e-05/0.1577, allocations: 81.02 kB / 0.5868 GB, free: 1.387 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.353e-05/0.1577, allocations: 8 kB / 0.5868 GB, free: 1.379 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000232/0.158, allocations: 35.95 kB / 0.5868 GB, free: 1.344 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.941e-05/0.158, allocations: 15.86 kB / 0.5868 GB, free: 1.328 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.165e-05/0.158, allocations: 4.375 kB / 0.5868 GB, free: 1.324 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.486e-05/0.1581, allocations: 91.27 kB / 0.5869 GB, free: 1.234 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1581, allocations: 0 / 0.5869 GB, free: 1.234 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002655/0.1584, allocations: 39.98 kB / 0.5869 GB, free: 1.195 MB / 494.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.001207/0.1596, allocations: 0.9014 MB / 0.5878 GB, free: 268 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008505/0.1604, allocations: 208.4 kB / 0.588 GB, free: 60 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1604, allocations: 0 / 0.588 GB, free: 60 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004064/0.1609, allocations: 111.9 kB / 0.5881 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000232/0.1611, allocations: 15.92 kB / 0.5881 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004161/0.1653, allocations: 2.136 MB / 0.5902 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003313/0.1656, allocations: 0.6887 MB / 0.5909 GB, free: 13 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001262/0.1657, allocations: 24.81 kB / 0.5909 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.212e-05/0.1658, allocations: 31.41 kB / 0.591 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of SimCode: time 3.51e-07/0.1658, allocations: 0 / 0.591 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01211/0.178, allocations: 2.503 MB / 0.5934 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002788/0.1783, allocations: 205.6 kB / 0.5936 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.723/1.901, allocations: 0 / 0.5936 GB, free: 10.31 MB / 0.4981 GB (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)