Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.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.InverseXDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",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.006062/0.006062, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001182/0.001182, allocations: 197 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.342/1.342, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8141/0.8141, allocations: 135.1 MB / 425.7 MB, free: 4.098 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 68.02 kB / 0.5852 GB, free: 21.88 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1677/0.1691, allocations: 80.94 MB / 0.6642 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.002258/0.1714, allocations: 0.5915 MB / 0.6648 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002283/0.1737, allocations: 1.453 MB / 0.6662 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.648e-05/0.1737, allocations: 0 / 0.6662 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.357e-05/0.1738, allocations: 3.938 kB / 0.6662 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.418e-05/0.1739, allocations: 0 / 0.6662 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006934/0.1746, allocations: 143.4 kB / 0.6663 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.736e-05/0.1747, allocations: 23.98 kB / 0.6664 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.956e-05/0.1747, allocations: 7.922 kB / 0.6664 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.622e-05/0.1748, allocations: 19.98 kB / 0.6664 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.074e-05/0.1749, allocations: 27.89 kB / 0.6664 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.953e-05/0.1749, allocations: 4 kB / 0.6664 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004735/0.1754, allocations: 307.4 kB / 0.6667 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.206e-05/0.1754, allocations: 15.92 kB / 0.6667 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.204e-05/0.1755, allocations: 11.98 kB / 0.6667 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003281/0.1758, allocations: 191.6 kB / 0.6669 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.1758, allocations: 0 / 0.6669 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1758, allocations: 0 / 0.6669 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.664e-06/0.1758, allocations: 0 / 0.6669 GB, free: 3.465 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006108/0.1765, allocations: 370.3 kB / 0.6673 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.1765, allocations: 9.109 kB / 0.6673 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.009e-05/0.1766, allocations: 30.75 kB / 0.6673 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000494/0.1771, allocations: 72.84 kB / 0.6674 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001485/0.1772, allocations: 164.3 kB / 0.6675 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.432e-05/0.1772, allocations: 384 / 0.6675 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.263e-05/0.1773, allocations: 8.375 kB / 0.6676 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002814/0.1776, allocations: 77.75 kB / 0.6676 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.1776, allocations: 0 / 0.6676 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.1776, allocations: 7.938 kB / 0.6676 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.1776, allocations: 0 / 0.6676 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003094/0.1779, allocations: 63.88 kB / 0.6677 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002287/0.1782, allocations: 165.7 kB / 0.6679 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006162/0.1788, allocations: 122.6 kB / 0.668 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001645/0.179, allocations: 48.91 kB / 0.668 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004487/0.1794, allocations: 149 kB / 0.6682 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.848e-05/0.1795, allocations: 38.48 kB / 0.6682 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.1795, allocations: 0 / 0.6682 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.001181/0.1807, allocations: 403 kB / 0.6686 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.775e-05/0.1807, allocations: 55.41 kB / 0.6686 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.771e-05/0.1808, allocations: 101.8 kB / 0.6687 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.1808, allocations: 25.7 kB / 0.6688 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.675e-05/0.1809, allocations: 84.14 kB / 0.6688 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.765e-05/0.1809, allocations: 19.73 kB / 0.6689 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.392e-05/0.181, allocations: 21.72 kB / 0.6689 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.1811, allocations: 310.8 kB / 0.6692 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001564/0.1812, allocations: 40.08 kB / 0.6692 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001468/0.1814, allocations: 35.97 kB / 0.6692 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003028/0.1817, allocations: 76.98 kB / 0.6693 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1817, allocations: 0 / 0.6693 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003641/0.1821, allocations: 117.6 kB / 0.6694 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.1821, allocations: 8 kB / 0.6694 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.1821, allocations: 0 / 0.6694 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.1821, allocations: 3.938 kB / 0.6694 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001422/0.1823, allocations: 27.92 kB / 0.6695 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.1823, allocations: 0 / 0.6695 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001157/0.1824, allocations: 11.98 kB / 0.6695 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.009e-05/0.1825, allocations: 3.984 kB / 0.6695 GB, free: 0.5547 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 (6): * Single equations (assignments): 6 * 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 8.087e-05/0.1826, allocations: 113.8 kB / 0.6696 GB, free: 444 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.915e-05/0.1826, allocations: 7.844 kB / 0.6696 GB, free: 436 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004433/0.183, allocations: 137.2 kB / 0.6697 GB, free: 288 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.183, allocations: 0 / 0.6697 GB, free: 288 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.1831, allocations: 3.938 kB / 0.6697 GB, free: 284 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.1831, allocations: 3.938 kB / 0.6697 GB, free: 280 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001323/0.1832, allocations: 169.6 kB / 0.6699 GB, free: 60 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.1832, allocations: 7.938 kB / 0.6699 GB, free: 52 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001549/0.1834, allocations: 23.98 kB / 0.6699 GB, free: 28 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.1834, allocations: 0 / 0.6699 GB, free: 28 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.1834, allocations: 0 / 0.6699 GB, free: 28 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.1834, allocations: 3.984 kB / 0.6699 GB, free: 24 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.1834, allocations: 3.984 kB / 0.6699 GB, free: 20 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005722/0.184, allocations: 185.2 kB / 0.6701 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.351e-05/0.1841, allocations: 92.97 kB / 0.6702 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.872e-05/0.1841, allocations: 4 kB / 0.6702 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/0.1842, allocations: 11.98 kB / 0.6702 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.022e-05/0.1843, allocations: 11.92 kB / 0.6702 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.1843, allocations: 4 kB / 0.6702 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.433e-05/0.1843, allocations: 83.34 kB / 0.6703 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1843, allocations: 0 / 0.6703 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000237/0.1846, allocations: 27.98 kB / 0.6703 GB, free: 15.57 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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.0009447/0.1855, allocations: 0.7426 MB / 0.6711 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003799/0.1859, allocations: 87.92 kB / 0.6711 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.1859, allocations: 4 kB / 0.6712 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001628/0.1861, allocations: 43.97 kB / 0.6712 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001675/0.1863, allocations: 3.984 kB / 0.6712 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002119/0.1884, allocations: 1.356 MB / 0.6725 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00027/0.1887, allocations: 0.6845 MB / 0.6732 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.919e-05/0.1888, allocations: 16 kB / 0.6732 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.464e-05/0.1888, allocations: 19.42 kB / 0.6732 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of SimCode: time 1.903e-06/0.1888, allocations: 0 / 0.6732 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02049/0.2093, allocations: 2.072 MB / 0.6752 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.275/7.485, allocations: 8 kB / 0.6753 GB, free: 10.51 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)