Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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.InverseXDerivative_2_Check,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",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.00781/0.00781, allocations: 98.98 kB / 15.73 MB, free: 6.008 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.001741/0.001742, allocations: 189.9 kB / 16.67 MB, free: 5.926 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.359/1.359, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8811/0.8811, allocations: 135.1 MB / 425.7 MB, free: 4.062 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 59.34 kB / 0.5852 GB, free: 21.76 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1537, allocations: 80.93 MB / 0.6642 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002122/0.1559, allocations: 0.7774 MB / 0.665 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002209/0.1581, allocations: 1.481 MB / 0.6664 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.092e-05/0.1582, allocations: 0 / 0.6664 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.066e-05/0.1583, allocations: 3.938 kB / 0.6664 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.797e-05/0.1584, allocations: 4 kB / 0.6664 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007238/0.1591, allocations: 147.4 kB / 0.6666 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000112/0.1592, allocations: 51.66 kB / 0.6666 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.102e-05/0.1593, allocations: 4 kB / 0.6666 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.1594, allocations: 35.89 kB / 0.6666 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.958e-05/0.1595, allocations: 27.84 kB / 0.6667 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.99e-05/0.1595, allocations: 4 kB / 0.6667 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005494/0.16, allocations: 323.3 kB / 0.667 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.21e-05/0.1601, allocations: 12 kB / 0.667 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.98e-05/0.1601, allocations: 23.84 kB / 0.667 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004582/0.1606, allocations: 219.6 kB / 0.6672 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.1606, allocations: 0 / 0.6672 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of FrontEnd: time 4.528e-06/0.1606, allocations: 4 kB / 0.6672 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.323e-06/0.1606, allocations: 0 / 0.6672 GB, free: 3.113 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007427/0.1614, allocations: 394.9 kB / 0.6676 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.1614, allocations: 13.11 kB / 0.6676 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.292e-05/0.1615, allocations: 38.69 kB / 0.6677 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004873/0.162, allocations: 76.73 kB / 0.6677 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/0.1621, allocations: 172.3 kB / 0.6679 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.4e-05/0.1622, allocations: 12.38 kB / 0.6679 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.28e-05/0.1622, allocations: 8.375 kB / 0.6679 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003811/0.1626, allocations: 109.7 kB / 0.668 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.1626, allocations: 3.938 kB / 0.668 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.1626, allocations: 0 / 0.668 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.1626, allocations: 8 kB / 0.668 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000489/0.1631, allocations: 103.8 kB / 0.6681 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005825/0.1637, allocations: 336.7 kB / 0.6685 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006633/0.1644, allocations: 154.4 kB / 0.6686 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002433/0.1647, allocations: 56.81 kB / 0.6687 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.016e-05/0.1647, allocations: 4 kB / 0.6687 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/0.1647, allocations: 30.56 kB / 0.6687 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.472e-06/0.1647, allocations: 0 / 0.6687 GB, free: 1.453 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=11): time 0.01898/0.1837, allocations: 2.835 MB / 0.6715 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.96e-05/0.1838, allocations: 59.34 kB / 0.6715 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.365e-05/0.1839, allocations: 97.84 kB / 0.6716 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.248e-05/0.184, allocations: 29.7 kB / 0.6716 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.537e-05/0.184, allocations: 92.03 kB / 0.6717 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 8.572e-05/0.1841, allocations: 43.64 kB / 0.6718 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001686/0.1843, allocations: 69.58 kB / 0.6718 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.1844, allocations: 318.8 kB / 0.6721 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007197/0.1852, allocations: 199.7 kB / 0.6723 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007134/0.1859, allocations: 187.8 kB / 0.6725 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001448/0.1873, allocations: 396 kB / 0.6729 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1873, allocations: 0 / 0.6729 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001654/0.189, allocations: 473.3 kB / 0.6733 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.189, allocations: 4 kB / 0.6733 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.1891, allocations: 8 kB / 0.6733 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.1891, allocations: 4.172 kB / 0.6733 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008739/0.19, allocations: 107.7 kB / 0.6735 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.19, allocations: 0 / 0.6735 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006448/0.1906, allocations: 51.94 kB / 0.6735 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.411e-05/0.1907, allocations: 23.94 kB / 0.6735 GB, free: 12.35 MB / 0.5137 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 (13): * Single equations (assignments): 13 * 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.0001761/0.1909, allocations: 109.8 kB / 0.6736 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.315e-05/0.191, allocations: 15.94 kB / 0.6736 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.275e-05/0.191, allocations: 16.05 kB / 0.6737 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.1911, allocations: 11.88 kB / 0.6737 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.1911, allocations: 0 / 0.6737 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.1911, allocations: 0 / 0.6737 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002403/0.1935, allocations: 1.043 MB / 0.6747 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.1935, allocations: 4 kB / 0.6747 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008796/0.1944, allocations: 111.7 kB / 0.6748 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.1944, allocations: 0 / 0.6748 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.228e-05/0.1945, allocations: 23.94 kB / 0.6748 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.1945, allocations: 4.312 kB / 0.6748 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.1945, allocations: 0 / 0.6748 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002455/0.197, allocations: 0.7956 MB / 0.6756 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001756/0.1971, allocations: 120.9 kB / 0.6757 GB, free: 9.945 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.64e-05/0.1972, allocations: 4 kB / 0.6757 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007/0.1979, allocations: 43.94 kB / 0.6758 GB, free: 9.898 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.965e-05/0.198, allocations: 27.98 kB / 0.6758 GB, free: 9.871 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.721e-05/0.1981, allocations: 31.92 kB / 0.6758 GB, free: 9.84 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.047e-05/0.1982, allocations: 79.28 kB / 0.6759 GB, free: 9.762 MB / 0.5137 GB Notification: Performance of sort global known variables: time 4.91e-07/0.1982, allocations: 0 / 0.6759 GB, free: 9.762 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004226/0.1986, allocations: 55.94 kB / 0.6759 GB, free: 9.707 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.002854/0.2015, allocations: 1.338 MB / 0.6773 GB, free: 8.344 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001519/0.203, allocations: 419.6 kB / 0.6777 GB, free: 7.934 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.315e-06/0.203, allocations: 4 kB / 0.6777 GB, free: 7.93 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007505/0.2038, allocations: 227.7 kB / 0.6779 GB, free: 7.707 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00042/0.2042, allocations: 13.97 kB / 0.6779 GB, free: 7.695 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008976/0.2132, allocations: 2.944 MB / 0.6808 GB, free: 4.672 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002746/0.2135, allocations: 0.6963 MB / 0.6814 GB, free: 3.949 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005607/0.2141, allocations: 96.64 kB / 0.6815 GB, free: 3.855 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002893/0.2144, allocations: 63.3 kB / 0.6816 GB, free: 3.793 MB / 0.5137 GB Notification: Performance of SimCode: time 5.71e-07/0.2144, allocations: 0 / 0.6816 GB, free: 3.793 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02481/0.2392, allocations: 4.568 MB / 0.6861 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.681/7.92, allocations: 6.938 kB / 0.6861 GB, free: 15.33 MB / 0.5294 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.csv --start-time -1.5 --stop-time 1.5 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0012 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)