Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.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.IsMonotonic,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_IsMonotonic",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.001885/0.001885, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002287/0.002287, allocations: 191 kB / 16.25 MB, free: 6.637 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.405/1.405, allocations: 222.9 MB / 239.9 MB, free: 4.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.011/1.011, allocations: 135.1 MB / 425.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 63.55 kB / 0.505 GB, free: 5.52 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1772/0.1787, allocations: 80.93 MB / 0.584 GB, free: 4.758 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic): time 0.002179/0.181, allocations: 0.6542 MB / 0.5846 GB, free: 4.098 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003211/0.1813, allocations: 71.78 kB / 0.5847 GB, free: 4.027 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.285e-05/0.1813, allocations: 0 / 0.5847 GB, free: 4.027 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.282e-05/0.1814, allocations: 0 / 0.5847 GB, free: 4.027 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.066e-05/0.1814, allocations: 11.98 kB / 0.5847 GB, free: 4.016 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002909/0.1817, allocations: 39.95 kB / 0.5848 GB, free: 3.977 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.035e-05/0.1818, allocations: 23.92 kB / 0.5848 GB, free: 3.953 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.561e-05/0.1819, allocations: 11.98 kB / 0.5848 GB, free: 3.941 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.758e-05/0.1819, allocations: 11.92 kB / 0.5848 GB, free: 3.93 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001847/0.1821, allocations: 71.92 kB / 0.5849 GB, free: 3.859 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.434e-05/0.1821, allocations: 0 / 0.5849 GB, free: 3.859 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.637e-05/0.1822, allocations: 39.95 kB / 0.5849 GB, free: 3.82 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.675e-05/0.1823, allocations: 19.94 kB / 0.5849 GB, free: 3.801 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.484e-05/0.1823, allocations: 27.84 kB / 0.585 GB, free: 3.773 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001244/0.1825, allocations: 63.8 kB / 0.585 GB, free: 3.711 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1825, allocations: 0 / 0.585 GB, free: 3.711 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1825, allocations: 0 / 0.585 GB, free: 3.711 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.685e-06/0.1825, allocations: 7.938 kB / 0.585 GB, free: 3.703 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0003534/0.1828, allocations: 359.7 kB / 0.5854 GB, free: 3.301 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.1829, allocations: 12.03 kB / 0.5854 GB, free: 3.289 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.682e-05/0.183, allocations: 46.67 kB / 0.5854 GB, free: 3.234 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.028e-05/0.183, allocations: 12.84 kB / 0.5854 GB, free: 3.223 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.769e-05/0.1831, allocations: 168.3 kB / 0.5856 GB, free: 3.02 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.1831, allocations: 384 / 0.5856 GB, free: 3.02 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.197e-06/0.1831, allocations: 4.375 kB / 0.5856 GB, free: 3.016 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002474/0.1834, allocations: 183.2 kB / 0.5858 GB, free: 2.812 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.1834, allocations: 3.938 kB / 0.5858 GB, free: 2.809 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.1834, allocations: 4 kB / 0.5858 GB, free: 2.805 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.862e-05/0.1835, allocations: 27.92 kB / 0.5858 GB, free: 2.777 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.75e-05/0.1835, allocations: 35.91 kB / 0.5858 GB, free: 2.742 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006541/0.1842, allocations: 0.9062 MB / 0.5867 GB, free: 1.766 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.036e-05/0.1843, allocations: 169.1 kB / 0.5869 GB, free: 1.59 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.996e-05/0.1843, allocations: 80.14 kB / 0.587 GB, free: 1.508 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/0.1844, allocations: 75.28 kB / 0.587 GB, free: 1.434 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.69e-05/0.1844, allocations: 117.8 kB / 0.5872 GB, free: 1.309 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 1.162e-06/0.1844, allocations: 0 / 0.5872 GB, free: 1.309 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 8.279e-05/0.1845, allocations: 37.55 kB / 0.5872 GB, free: 1.266 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001456/0.1847, allocations: 387.7 kB / 0.5876 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/0.1848, allocations: 172.6 kB / 0.5877 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/0.1848, allocations: 25.7 kB / 0.5877 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.552e-05/0.1849, allocations: 151.1 kB / 0.5879 GB, free: 464 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.538e-06/0.1849, allocations: 4 kB / 0.5879 GB, free: 460 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.052e-05/0.185, allocations: 53.61 kB / 0.5879 GB, free: 400 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.967e-05/0.1851, allocations: 318.8 kB / 0.5883 GB, free: 72 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.909e-05/0.1851, allocations: 27.97 kB / 0.5883 GB, free: 44 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001628/0.1853, allocations: 222.5 kB / 0.5885 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001801/0.1855, allocations: 197.8 kB / 0.5887 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.1855, allocations: 7.938 kB / 0.5887 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002818/0.1858, allocations: 193.1 kB / 0.5889 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.1858, allocations: 8.656 kB / 0.5889 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.1858, allocations: 4 kB / 0.5889 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.1858, allocations: 11.94 kB / 0.5889 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.186, allocations: 39.92 kB / 0.5889 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.849e-06/0.186, allocations: 7.984 kB / 0.5889 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.179e-05/0.1861, allocations: 31.69 kB / 0.589 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.1861, allocations: 12 kB / 0.589 GB, free: 15.16 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (21): * Single equations (assignments): 21 * 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.0001144/0.1862, allocations: 213 kB / 0.5892 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.104e-05/0.1863, allocations: 113 kB / 0.5893 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.052e-05/0.1863, allocations: 120.7 kB / 0.5894 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.161e-05/0.1864, allocations: 177.9 kB / 0.5896 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-05/0.1864, allocations: 192.2 kB / 0.5898 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.006e-05/0.1865, allocations: 180.3 kB / 0.5899 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002044/0.1867, allocations: 421.1 kB / 0.5903 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.205e-05/0.1867, allocations: 105 kB / 0.5904 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3e-05/0.1868, allocations: 112.9 kB / 0.5905 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.732e-05/0.1868, allocations: 176.3 kB / 0.5907 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.161e-05/0.1869, allocations: 180.2 kB / 0.5909 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.804e-05/0.1869, allocations: 184.2 kB / 0.5911 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.982e-05/0.187, allocations: 176.3 kB / 0.5912 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001253/0.1871, allocations: 319.7 kB / 0.5915 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.382e-05/0.1872, allocations: 186 kB / 0.5917 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.866e-05/0.1873, allocations: 188.4 kB / 0.5919 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.048e-05/0.1874, allocations: 109 kB / 0.592 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.497e-05/0.1874, allocations: 188.2 kB / 0.5922 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.055e-05/0.1875, allocations: 101 kB / 0.5923 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.088e-05/0.1876, allocations: 117.1 kB / 0.5924 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.1876, allocations: 0 / 0.5924 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002968/0.1879, allocations: 28 kB / 0.5924 GB, free: 11.42 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.0004121/0.1883, allocations: 0.8359 MB / 0.5932 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001476/0.1884, allocations: 75.78 kB / 0.5933 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1885, allocations: 1.312 kB / 0.5933 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.923e-06/0.1885, allocations: 0 / 0.5933 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003261/0.1888, allocations: 469.9 kB / 0.5937 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004607/0.1893, allocations: 294.4 kB / 0.594 GB, free: 9.695 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002264/0.1895, allocations: 0.7045 MB / 0.5947 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001949/0.1897, allocations: 48.61 kB / 0.5948 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.855e-05/0.1897, allocations: 23.42 kB / 0.5948 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of SimCode: time 3.3e-07/0.1897, allocations: 4 kB / 0.5948 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01316/0.2029, allocations: 2.936 MB / 0.5977 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000185/0.2031, allocations: 193.5 kB / 0.5978 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.688/1.891, allocations: 11 kB / 0.5978 GB, free: 5.855 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_IsMonotonic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_IsMonotonic.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)