Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.InverseXDerivative_2_Check,fileNamePrefix="IDEAS_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_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.00147/0.00147, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001798/0.001798, allocations: 192.9 kB / 16.53 MB, free: 6.391 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.328/1.328, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7445/0.7445, allocations: 132.2 MB / 422.6 MB, free: 1.789 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 68.44 kB / 0.5019 GB, free: 8.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1311, allocations: 80.2 MB / 0.5802 GB, free: 8.68 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001952/0.1331, allocations: 0.776 MB / 0.581 GB, free: 7.898 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001744/0.1348, allocations: 1.471 MB / 0.5824 GB, free: 6.41 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.355e-05/0.1349, allocations: 0 / 0.5824 GB, free: 6.41 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.02e-05/0.1349, allocations: 3.938 kB / 0.5824 GB, free: 6.406 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.588e-05/0.135, allocations: 7.875 kB / 0.5824 GB, free: 6.398 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004812/0.1355, allocations: 147.4 kB / 0.5825 GB, free: 6.254 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.847e-05/0.1355, allocations: 51.66 kB / 0.5826 GB, free: 6.203 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.391e-05/0.1356, allocations: 7.984 kB / 0.5826 GB, free: 6.195 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.65e-05/0.1357, allocations: 31.91 kB / 0.5826 GB, free: 6.164 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.997e-05/0.1357, allocations: 27.91 kB / 0.5827 GB, free: 6.137 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.767e-05/0.1358, allocations: 7.938 kB / 0.5827 GB, free: 6.129 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004273/0.1362, allocations: 323.3 kB / 0.583 GB, free: 5.812 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.47e-05/0.1362, allocations: 15.98 kB / 0.583 GB, free: 5.797 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.06e-05/0.1363, allocations: 19.86 kB / 0.583 GB, free: 5.777 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003085/0.1366, allocations: 215.8 kB / 0.5832 GB, free: 5.566 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1366, allocations: 0 / 0.5832 GB, free: 5.566 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1366, allocations: 0 / 0.5832 GB, free: 5.566 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.1366, allocations: 0 / 0.5832 GB, free: 5.566 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005971/0.1372, allocations: 395.4 kB / 0.5836 GB, free: 5.133 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.1372, allocations: 8.031 kB / 0.5836 GB, free: 5.125 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.081e-05/0.1373, allocations: 46.73 kB / 0.5836 GB, free: 5.07 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004471/0.1377, allocations: 72.77 kB / 0.5837 GB, free: 5 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/0.1379, allocations: 176.2 kB / 0.5839 GB, free: 4.789 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.472e-05/0.1379, allocations: 4.375 kB / 0.5839 GB, free: 4.785 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.536e-05/0.1379, allocations: 16.28 kB / 0.5839 GB, free: 4.77 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003558/0.1383, allocations: 108.5 kB / 0.584 GB, free: 4.66 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.1383, allocations: 4 kB / 0.584 GB, free: 4.656 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.651e-05/0.1383, allocations: 7.922 kB / 0.584 GB, free: 4.648 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.1383, allocations: 0 / 0.584 GB, free: 4.648 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005015/0.1388, allocations: 103.9 kB / 0.5841 GB, free: 4.547 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000523/0.1394, allocations: 332.6 kB / 0.5844 GB, free: 4.172 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006509/0.14, allocations: 158.4 kB / 0.5846 GB, free: 4.008 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002417/0.1403, allocations: 52.97 kB / 0.5846 GB, free: 3.953 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.131e-05/0.1403, allocations: 11.98 kB / 0.5846 GB, free: 3.941 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/0.1403, allocations: 38.48 kB / 0.5847 GB, free: 3.895 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.1404, allocations: 0 / 0.5847 GB, free: 3.895 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=11): time 0.0183/0.1587, allocations: 2.826 MB / 0.5874 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.457e-05/0.1587, allocations: 59.34 kB / 0.5875 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.639e-05/0.1588, allocations: 93.86 kB / 0.5876 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.939e-05/0.1589, allocations: 33.7 kB / 0.5876 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.401e-05/0.1589, allocations: 95.97 kB / 0.5877 GB, free: 0.668 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.184e-05/0.159, allocations: 39.45 kB / 0.5878 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001593/0.1592, allocations: 65.58 kB / 0.5878 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.1593, allocations: 314.8 kB / 0.5881 GB, free: 248 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006757/0.16, allocations: 191.8 kB / 0.5883 GB, free: 56 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006854/0.1607, allocations: 200 kB / 0.5885 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001353/0.162, allocations: 388.5 kB / 0.5889 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.162, allocations: 0 / 0.5889 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001553/0.1636, allocations: 483.8 kB / 0.5893 GB, free: 15 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.1636, allocations: 7.938 kB / 0.5893 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.1636, allocations: 0 / 0.5893 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.1637, allocations: 4 kB / 0.5893 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008016/0.1645, allocations: 107.7 kB / 0.5894 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.1645, allocations: 0 / 0.5894 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005968/0.1651, allocations: 51.94 kB / 0.5895 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.199e-05/0.1651, allocations: 20.95 kB / 0.5895 GB, free: 14.81 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 (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.0001411/0.1653, allocations: 122.4 kB / 0.5896 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.392e-05/0.1654, allocations: 4 kB / 0.5896 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.949e-05/0.1654, allocations: 11.97 kB / 0.5896 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.1654, allocations: 7.938 kB / 0.5896 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1655, allocations: 0 / 0.5896 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.1655, allocations: 0 / 0.5896 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00216/0.1676, allocations: 1.051 MB / 0.5907 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.1676, allocations: 0 / 0.5907 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008218/0.1685, allocations: 111.8 kB / 0.5908 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.1685, allocations: 3.938 kB / 0.5908 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.453e-05/0.1686, allocations: 23.94 kB / 0.5908 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.1686, allocations: 4 kB / 0.5908 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1686, allocations: 0 / 0.5908 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002354/0.1709, allocations: 0.7878 MB / 0.5916 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000132/0.1711, allocations: 120.9 kB / 0.5917 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.339e-05/0.1711, allocations: 4 kB / 0.5917 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006715/0.1718, allocations: 55.92 kB / 0.5917 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.293e-05/0.1719, allocations: 24.06 kB / 0.5918 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.479e-05/0.172, allocations: 31.92 kB / 0.5918 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.465e-05/0.172, allocations: 83.27 kB / 0.5919 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.172, allocations: 0 / 0.5919 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003755/0.1724, allocations: 52 kB / 0.5919 GB, free: 12.17 MB / 0.4981 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.002681/0.1751, allocations: 1.341 MB / 0.5932 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001477/0.1766, allocations: 431.5 kB / 0.5937 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.1766, allocations: 0 / 0.5937 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007397/0.1774, allocations: 223.7 kB / 0.5939 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000387/0.1778, allocations: 12 kB / 0.5939 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008525/0.1863, allocations: 2.93 MB / 0.5967 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002351/0.1865, allocations: 0.6924 MB / 0.5974 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0006502/0.1872, allocations: 96.66 kB / 0.5975 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002694/0.1875, allocations: 63.3 kB / 0.5976 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of SimCode: time 4.71e-07/0.1875, allocations: 0 / 0.5976 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02117/0.2087, allocations: 4.523 MB / 0.602 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.326/7.534, allocations: 4.719 kB / 0.602 GB, free: 1.859 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check_fmu --startTime=-1.5 --stopTime=1.5 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)