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.0007813/0.0007812, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.004843/0.004843, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.368/1.368, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8615/0.8615, allocations: 135.3 MB / 426.7 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003456/0.0003456, allocations: 11.98 kB / 0.5077 GB, free: 4.656 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1451, allocations: 82.32 MB / 0.5881 GB, free: 2.508 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.0008748/0.146, allocations: 0.496 MB / 0.5886 GB, free: 2.008 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001808/0.1478, allocations: 1.472 MB / 0.59 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.532e-05/0.1479, allocations: 3.938 kB / 0.59 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.684e-05/0.1479, allocations: 7.938 kB / 0.59 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.973e-05/0.1479, allocations: 0 / 0.59 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004508/0.1484, allocations: 115.7 kB / 0.5901 GB, free: 404 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.64e-05/0.1485, allocations: 47.95 kB / 0.5902 GB, free: 356 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.002e-05/0.1485, allocations: 4 kB / 0.5902 GB, free: 352 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.697e-05/0.1486, allocations: 31.84 kB / 0.5902 GB, free: 320 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.513e-05/0.1487, allocations: 31.84 kB / 0.5902 GB, free: 288 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.592e-05/0.1487, allocations: 4 kB / 0.5902 GB, free: 284 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004508/0.1491, allocations: 319.3 kB / 0.5906 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.08e-05/0.1492, allocations: 11.98 kB / 0.5906 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.659e-05/0.1492, allocations: 53.5 kB / 0.5906 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003125/0.1495, allocations: 207.8 kB / 0.5908 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1496, allocations: 0 / 0.5908 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1496, allocations: 4 kB / 0.5908 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.236e-06/0.1496, allocations: 0 / 0.5908 GB, free: 15.69 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.0006186/0.1502, allocations: 391.4 kB / 0.5912 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.1502, allocations: 8.031 kB / 0.5912 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.043e-05/0.1503, allocations: 42.73 kB / 0.5912 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004811/0.1508, allocations: 80.77 kB / 0.5913 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001154/0.1509, allocations: 176.2 kB / 0.5915 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.891e-05/0.1509, allocations: 8.375 kB / 0.5915 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.943e-05/0.151, allocations: 12.38 kB / 0.5915 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004069/0.1514, allocations: 113.7 kB / 0.5916 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.1514, allocations: 7.906 kB / 0.5916 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.699e-05/0.1514, allocations: 4 kB / 0.5916 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.1515, allocations: 0 / 0.5916 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005797/0.152, allocations: 123.9 kB / 0.5917 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000599/0.1527, allocations: 340.6 kB / 0.5921 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007398/0.1534, allocations: 182.4 kB / 0.5922 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002659/0.1537, allocations: 68.81 kB / 0.5923 GB, free: 14 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.775e-05/0.1537, allocations: 4.141 kB / 0.5923 GB, free: 14 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.1537, allocations: 38.55 kB / 0.5923 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 2.735e-06/0.1538, allocations: 0 / 0.5923 GB, free: 13.95 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.02033/0.1741, allocations: 3.185 MB / 0.5955 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/0.1742, allocations: 55.34 kB / 0.5955 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.472e-05/0.1743, allocations: 101.8 kB / 0.5956 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.466e-05/0.1743, allocations: 29.7 kB / 0.5956 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.772e-05/0.1744, allocations: 87.98 kB / 0.5957 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.445e-05/0.1745, allocations: 39.45 kB / 0.5958 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.119e-05/0.1745, allocations: 17.72 kB / 0.5958 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.1747, allocations: 318.8 kB / 0.5961 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007431/0.1754, allocations: 215.9 kB / 0.5963 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007523/0.1762, allocations: 222.9 kB / 0.5965 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001503/0.1777, allocations: 444.5 kB / 0.5969 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1777, allocations: 3.938 kB / 0.5969 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00167/0.1794, allocations: 0.5167 MB / 0.5974 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.1794, allocations: 5.875 kB / 0.5974 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.8e-06/0.1794, allocations: 96 / 0.5974 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.1794, allocations: 3.938 kB / 0.5974 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000976/0.1804, allocations: 127.7 kB / 0.5976 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.1804, allocations: 4 kB / 0.5976 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007054/0.1812, allocations: 55.94 kB / 0.5976 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.995e-05/0.1812, allocations: 23.92 kB / 0.5976 GB, free: 8.379 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.0001693/0.1814, allocations: 117.8 kB / 0.5978 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.527e-05/0.1815, allocations: 7.906 kB / 0.5978 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.63e-05/0.1816, allocations: 11.97 kB / 0.5978 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.1816, allocations: 7.938 kB / 0.5978 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.1816, allocations: 0 / 0.5978 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.1816, allocations: 3.984 kB / 0.5978 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00242/0.184, allocations: 1.098 MB / 0.5989 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.379e-06/0.184, allocations: 8 kB / 0.5989 GB, free: 7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008855/0.1849, allocations: 123.7 kB / 0.599 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.1849, allocations: 0 / 0.599 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-05/0.185, allocations: 27.92 kB / 0.599 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.185, allocations: 4 kB / 0.599 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.185, allocations: 0 / 0.599 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002498/0.1875, allocations: 0.8621 MB / 0.5999 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001524/0.1877, allocations: 124.9 kB / 0.6 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.683e-05/0.1878, allocations: 11.94 kB / 0.6 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007617/0.1885, allocations: 56 kB / 0.6 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.941e-05/0.1886, allocations: 27.92 kB / 0.6001 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.755e-05/0.1887, allocations: 23.94 kB / 0.6001 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.079e-05/0.1887, allocations: 87.2 kB / 0.6002 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.1888, allocations: 4 kB / 0.6002 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003908/0.1892, allocations: 52 kB / 0.6002 GB, free: 5.57 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.002866/0.192, allocations: 1.411 MB / 0.6016 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001586/0.1936, allocations: 475.5 kB / 0.6021 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.1936, allocations: 0 / 0.6021 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007907/0.1944, allocations: 255.7 kB / 0.6023 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003593/0.1948, allocations: 8 kB / 0.6023 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009743/0.2046, allocations: 3.17 MB / 0.6054 GB, free: 168 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2606/0.4651, allocations: 0.6887 MB / 0.6061 GB, free: 49.5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007452/0.4659, allocations: 92.16 kB / 0.6062 GB, free: 49.5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002927/0.4662, allocations: 70.17 kB / 0.6062 GB, free: 49.49 MB / 0.4981 GB Notification: Performance of SimCode: time 7.21e-07/0.4662, allocations: 0 / 0.6062 GB, free: 49.49 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1901/0.6563, allocations: 4.229 MB / 0.6104 GB, free: 49.3 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001936/0.6566, allocations: 211 kB / 0.6106 GB, free: 49.05 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.958/2.615, allocations: 0 / 0.6106 GB, free: 49.05 MB / 0.4981 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check_fmu --startTime=-1.5 --stopTime=1.5 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)