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.007118/0.007118, allocations: 106 kB / 15.73 MB, free: 6 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.001616/0.001616, allocations: 192.2 kB / 16.67 MB, free: 5.922 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.334/1.334, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8338/0.8338, allocations: 135.1 MB / 425.7 MB, free: 4.137 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 66.56 kB / 0.5852 GB, free: 21.96 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.171/0.1721, allocations: 80.93 MB / 0.6642 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002359/0.1745, allocations: 0.7787 MB / 0.665 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002048/0.1766, allocations: 1.485 MB / 0.6664 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.184e-05/0.1767, allocations: 0 / 0.6664 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.967e-05/0.1767, allocations: 0 / 0.6664 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.122e-05/0.1768, allocations: 7.938 kB / 0.6664 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000708/0.1776, allocations: 139.5 kB / 0.6666 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001318/0.1777, allocations: 55.64 kB / 0.6666 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.415e-05/0.1778, allocations: 11.88 kB / 0.6666 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001146/0.1779, allocations: 23.98 kB / 0.6666 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.083e-05/0.178, allocations: 35.81 kB / 0.6667 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.75e-05/0.178, allocations: 4 kB / 0.6667 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004828/0.1785, allocations: 315.4 kB / 0.667 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.663e-05/0.1785, allocations: 19.97 kB / 0.667 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.547e-05/0.1786, allocations: 19.86 kB / 0.667 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003221/0.1789, allocations: 214.4 kB / 0.6672 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.1789, allocations: 3.984 kB / 0.6672 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1789, allocations: 0 / 0.6672 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.1789, allocations: 0 / 0.6672 GB, free: 3.164 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.0006901/0.1796, allocations: 396.2 kB / 0.6676 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.1797, allocations: 13.11 kB / 0.6676 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.701e-05/0.1797, allocations: 34.75 kB / 0.6677 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004514/0.1802, allocations: 72.75 kB / 0.6677 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.1803, allocations: 172.3 kB / 0.6679 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.093e-05/0.1803, allocations: 12.38 kB / 0.6679 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.61e-05/0.1804, allocations: 4.375 kB / 0.6679 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003631/0.1807, allocations: 117.7 kB / 0.668 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.1808, allocations: 0 / 0.668 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.1808, allocations: 0 / 0.668 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.1808, allocations: 8 kB / 0.668 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004669/0.1813, allocations: 103.8 kB / 0.6681 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005605/0.1818, allocations: 332.6 kB / 0.6684 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006399/0.1825, allocations: 158.4 kB / 0.6686 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002372/0.1827, allocations: 52.81 kB / 0.6686 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.1828, allocations: 8 kB / 0.6686 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/0.1828, allocations: 30.56 kB / 0.6687 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.1828, allocations: 0 / 0.6687 GB, free: 1.512 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.0176/0.2004, allocations: 2.832 MB / 0.6714 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.87e-05/0.2005, allocations: 59.34 kB / 0.6715 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.318e-05/0.2005, allocations: 105.8 kB / 0.6716 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.243e-05/0.2006, allocations: 29.7 kB / 0.6716 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.062e-05/0.2006, allocations: 84.14 kB / 0.6717 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.405e-05/0.2007, allocations: 39.44 kB / 0.6717 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001654/0.2009, allocations: 73.58 kB / 0.6718 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.201, allocations: 318.9 kB / 0.6721 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006705/0.2017, allocations: 191.7 kB / 0.6723 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006857/0.2024, allocations: 199.1 kB / 0.6725 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001335/0.2037, allocations: 392.5 kB / 0.6729 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.2037, allocations: 0 / 0.6729 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001544/0.2053, allocations: 477.2 kB / 0.6733 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.2053, allocations: 4 kB / 0.6733 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.2053, allocations: 4 kB / 0.6733 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.2053, allocations: 4 kB / 0.6733 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008171/0.2062, allocations: 111.7 kB / 0.6734 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.2062, allocations: 0 / 0.6734 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000592/0.2068, allocations: 51.94 kB / 0.6735 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.598e-05/0.2068, allocations: 19.94 kB / 0.6735 GB, free: 12.41 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.0001304/0.207, allocations: 113.8 kB / 0.6736 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.55e-05/0.2071, allocations: 11.91 kB / 0.6736 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.426e-05/0.2071, allocations: 11.97 kB / 0.6736 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.685e-06/0.2071, allocations: 11.92 kB / 0.6736 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.2071, allocations: 0 / 0.6736 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.2072, allocations: 0 / 0.6736 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00219/0.2093, allocations: 1.043 MB / 0.6747 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.2094, allocations: 0 / 0.6747 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008183/0.2102, allocations: 111.7 kB / 0.6748 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.2102, allocations: 0 / 0.6748 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.582e-05/0.2103, allocations: 23.92 kB / 0.6748 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.2103, allocations: 4 kB / 0.6748 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2103, allocations: 0 / 0.6748 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002288/0.2126, allocations: 0.7955 MB / 0.6756 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001633/0.2127, allocations: 121 kB / 0.6757 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.473e-05/0.2128, allocations: 4 kB / 0.6757 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00065/0.2135, allocations: 43.94 kB / 0.6757 GB, free: 9.969 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.477e-05/0.2136, allocations: 27.98 kB / 0.6758 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.561e-05/0.2136, allocations: 23.94 kB / 0.6758 GB, free: 9.918 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.893e-05/0.2137, allocations: 87.27 kB / 0.6759 GB, free: 9.832 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2137, allocations: 0 / 0.6759 GB, free: 9.832 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003909/0.2141, allocations: 52 kB / 0.6759 GB, free: 9.781 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.002631/0.2167, allocations: 1.354 MB / 0.6772 GB, free: 8.402 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001444/0.2182, allocations: 422.6 kB / 0.6776 GB, free: 7.992 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2182, allocations: 0 / 0.6776 GB, free: 7.992 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007017/0.2189, allocations: 227.7 kB / 0.6779 GB, free: 7.77 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003706/0.2193, allocations: 15.92 kB / 0.6779 GB, free: 7.754 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00857/0.2279, allocations: 2.932 MB / 0.6807 GB, free: 4.738 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003079/0.2282, allocations: 0.7001 MB / 0.6814 GB, free: 4.012 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004928/0.2287, allocations: 89.67 kB / 0.6815 GB, free: 3.926 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002751/0.229, allocations: 63.3 kB / 0.6816 GB, free: 3.863 MB / 0.5137 GB Notification: Performance of SimCode: time 7.41e-07/0.229, allocations: 0 / 0.6816 GB, free: 3.863 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02303/0.252, allocations: 4.66 MB / 0.6861 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.399/7.651, allocations: 8.062 kB / 0.6861 GB, free: 15.31 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 & /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)