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.001288/0.001288, 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.001154/0.001154, allocations: 193 kB / 16.13 MB, free: 6.668 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.312/1.312, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9441/0.9441, allocations: 135.1 MB / 425.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 72.12 kB / 0.5048 GB, free: 5.648 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1486, allocations: 80.92 MB / 0.5838 GB, free: 4.895 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001896/0.1505, allocations: 0.8309 MB / 0.5846 GB, free: 4.055 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001713/0.1523, allocations: 1.487 MB / 0.5861 GB, free: 2.551 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.126e-05/0.1523, allocations: 3.938 kB / 0.5861 GB, free: 2.547 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.74e-05/0.1524, allocations: 7.922 kB / 0.5861 GB, free: 2.539 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.675e-05/0.1524, allocations: 0 / 0.5861 GB, free: 2.539 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003902/0.1528, allocations: 127.2 kB / 0.5862 GB, free: 2.418 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.485e-05/0.1529, allocations: 43.97 kB / 0.5863 GB, free: 2.375 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.987e-05/0.1529, allocations: 4 kB / 0.5863 GB, free: 2.371 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.03e-05/0.153, allocations: 31.89 kB / 0.5863 GB, free: 2.34 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.843e-05/0.1531, allocations: 35.78 kB / 0.5863 GB, free: 2.305 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.864e-05/0.1531, allocations: 4 kB / 0.5863 GB, free: 2.301 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004058/0.1535, allocations: 315.3 kB / 0.5866 GB, free: 1.992 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.049e-05/0.1535, allocations: 11.98 kB / 0.5866 GB, free: 1.98 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.341e-05/0.1536, allocations: 23.86 kB / 0.5867 GB, free: 1.957 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002947/0.1539, allocations: 211.8 kB / 0.5869 GB, free: 1.75 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1539, allocations: 4 kB / 0.5869 GB, free: 1.746 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.1539, allocations: 0 / 0.5869 GB, free: 1.746 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.627e-06/0.1539, allocations: 0 / 0.5869 GB, free: 1.746 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.0005892/0.1545, allocations: 395.4 kB / 0.5872 GB, free: 1.312 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.1545, allocations: 12.03 kB / 0.5873 GB, free: 1.301 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.039e-05/0.1546, allocations: 34.75 kB / 0.5873 GB, free: 1.258 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004527/0.155, allocations: 76.75 kB / 0.5874 GB, free: 1.184 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.1552, allocations: 176.3 kB / 0.5875 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.708e-05/0.1552, allocations: 8.375 kB / 0.5875 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.336e-05/0.1552, allocations: 16.22 kB / 0.5876 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003769/0.1556, allocations: 109.1 kB / 0.5877 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.1556, allocations: 0 / 0.5877 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.1556, allocations: 0 / 0.5877 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.1556, allocations: 4 kB / 0.5877 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004477/0.1561, allocations: 99.89 kB / 0.5878 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005423/0.1567, allocations: 344.5 kB / 0.5881 GB, free: 360 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006097/0.1573, allocations: 158.4 kB / 0.5882 GB, free: 192 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002194/0.1575, allocations: 52.81 kB / 0.5883 GB, free: 136 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.494e-05/0.1575, allocations: 4 kB / 0.5883 GB, free: 132 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/0.1576, allocations: 30.56 kB / 0.5883 GB, free: 92 kB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 2.544e-06/0.1576, allocations: 4 kB / 0.5883 GB, free: 88 kB / 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.01782/0.1754, allocations: 2.826 MB / 0.5911 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.516e-05/0.1755, allocations: 59.34 kB / 0.5911 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.997e-05/0.1755, allocations: 97.84 kB / 0.5912 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.795e-05/0.1756, allocations: 29.7 kB / 0.5913 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.316e-05/0.1756, allocations: 91.98 kB / 0.5914 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.847e-05/0.1757, allocations: 39.45 kB / 0.5914 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001628/0.1759, allocations: 73.58 kB / 0.5915 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.176, allocations: 314.8 kB / 0.5918 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006335/0.1766, allocations: 195.9 kB / 0.5919 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000626/0.1773, allocations: 191.8 kB / 0.5921 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001246/0.1785, allocations: 388.5 kB / 0.5925 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.1785, allocations: 3.938 kB / 0.5925 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001506/0.1801, allocations: 480.3 kB / 0.593 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.1801, allocations: 8 kB / 0.593 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.1801, allocations: 3.984 kB / 0.593 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.1801, allocations: 4.188 kB / 0.593 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008151/0.1809, allocations: 107.7 kB / 0.5931 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.181, allocations: 4 kB / 0.5931 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006091/0.1816, allocations: 43.94 kB / 0.5931 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.663e-05/0.1816, allocations: 23.92 kB / 0.5931 GB, free: 11 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.0001654/0.1818, allocations: 121.8 kB / 0.5933 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.354e-05/0.1819, allocations: 4 kB / 0.5933 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.722e-05/0.182, allocations: 15.95 kB / 0.5933 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.182, allocations: 7.938 kB / 0.5933 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.182, allocations: 0 / 0.5933 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.182, allocations: 0 / 0.5933 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002167/0.1842, allocations: 1.051 MB / 0.5943 GB, free: 9.672 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.1842, allocations: 0 / 0.5943 GB, free: 9.672 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000825/0.185, allocations: 115.7 kB / 0.5944 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.185, allocations: 4 kB / 0.5944 GB, free: 9.555 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.512e-05/0.1851, allocations: 23.94 kB / 0.5945 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.1851, allocations: 4 kB / 0.5945 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1851, allocations: 96 / 0.5945 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002259/0.1874, allocations: 0.7918 MB / 0.5952 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000151/0.1875, allocations: 120.9 kB / 0.5953 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.21e-05/0.1876, allocations: 7.938 kB / 0.5954 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006971/0.1883, allocations: 48 kB / 0.5954 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.1884, allocations: 23.92 kB / 0.5954 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.845e-05/0.1885, allocations: 31.92 kB / 0.5955 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.525e-05/0.1885, allocations: 79.28 kB / 0.5955 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.663e-06/0.1885, allocations: 0 / 0.5955 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000372/0.1889, allocations: 51.94 kB / 0.5956 GB, free: 8.344 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.00257/0.1915, allocations: 1.339 MB / 0.5969 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001394/0.1929, allocations: 427.5 kB / 0.5973 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1929, allocations: 0 / 0.5973 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006911/0.1936, allocations: 231.7 kB / 0.5975 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003608/0.194, allocations: 9.875 kB / 0.5975 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008418/0.2024, allocations: 2.953 MB / 0.6004 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002547/0.2027, allocations: 0.6926 MB / 0.6011 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0006915/0.2034, allocations: 89.69 kB / 0.6012 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002906/0.2037, allocations: 67.3 kB / 0.6012 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of SimCode: time 9.12e-07/0.2037, allocations: 0 / 0.6012 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2331/0.4368, allocations: 4.281 MB / 0.6054 GB, free: 52.09 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001549/0.4369, allocations: 215.9 kB / 0.6056 GB, free: 51.84 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.786/2.223, allocations: 0 / 0.6056 GB, free: 51.84 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)