Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="IDEAS_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.007068/0.007068, allocations: 99.53 kB / 15.73 MB, free: 6.477 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.001581/0.001581, allocations: 189.9 kB / 16.67 MB, free: 6.391 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.366/1.366, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7501/0.7501, allocations: 132.2 MB / 422.7 MB, free: 1.715 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 64.55 kB / 0.5809 GB, free: 1.102 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1843/0.1855, allocations: 80.2 MB / 0.6592 GB, free: 14 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001926/0.1874, allocations: 0.6029 MB / 0.6598 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004194/0.1879, allocations: 75.78 kB / 0.6599 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.299e-05/0.1879, allocations: 3.938 kB / 0.6599 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.829e-05/0.188, allocations: 0 / 0.6599 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.863e-05/0.1881, allocations: 7.938 kB / 0.6599 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004019/0.1885, allocations: 39.94 kB / 0.6599 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.725e-05/0.1886, allocations: 23.92 kB / 0.66 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.623e-05/0.1887, allocations: 7.984 kB / 0.66 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.34e-05/0.1887, allocations: 15.92 kB / 0.66 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002447/0.189, allocations: 67.88 kB / 0.6601 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.238e-05/0.189, allocations: 4 kB / 0.6601 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001223/0.1891, allocations: 35.97 kB / 0.6601 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.679e-05/0.1892, allocations: 15.97 kB / 0.6601 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.044e-05/0.1893, allocations: 27.81 kB / 0.6601 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001797/0.1895, allocations: 59.86 kB / 0.6602 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.1895, allocations: 0 / 0.6602 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.827e-06/0.1895, allocations: 0 / 0.6602 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.1895, allocations: 3.938 kB / 0.6602 GB, free: 13.02 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0004925/0.19, allocations: 366.4 kB / 0.6605 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.951e-05/0.1901, allocations: 12.03 kB / 0.6606 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.937e-05/0.1901, allocations: 38.73 kB / 0.6606 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.255e-05/0.1902, allocations: 12.84 kB / 0.6606 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001335/0.1903, allocations: 169.1 kB / 0.6608 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.1904, allocations: 4.375 kB / 0.6608 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.604e-05/0.1904, allocations: 384 / 0.6608 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003315/0.1907, allocations: 184 kB / 0.6609 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.1907, allocations: 0 / 0.6609 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.214e-05/0.1908, allocations: 8 kB / 0.6609 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.259e-05/0.1908, allocations: 19.98 kB / 0.661 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.127e-05/0.1909, allocations: 35.91 kB / 0.661 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008479/0.1918, allocations: 0.9061 MB / 0.6619 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.1919, allocations: 173.4 kB / 0.6621 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.939e-05/0.1919, allocations: 88.17 kB / 0.6621 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.7e-05/0.192, allocations: 75.28 kB / 0.6622 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.001e-05/0.1921, allocations: 109.8 kB / 0.6623 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 1.734e-06/0.1921, allocations: 0 / 0.6623 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 0.0001139/0.1922, allocations: 35.89 kB / 0.6623 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002366/0.1924, allocations: 395.7 kB / 0.6627 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002005/0.1926, allocations: 167.5 kB / 0.6629 GB, free: 9.957 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.674e-05/0.1927, allocations: 29.7 kB / 0.6629 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.1928, allocations: 151.1 kB / 0.6631 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.603e-06/0.1928, allocations: 0 / 0.6631 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.481e-05/0.1929, allocations: 57.61 kB / 0.6631 GB, free: 9.707 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.1931, allocations: 330.7 kB / 0.6634 GB, free: 9.375 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.887e-05/0.1931, allocations: 27.98 kB / 0.6635 GB, free: 9.348 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00022/0.1934, allocations: 221.3 kB / 0.6637 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000198/0.1936, allocations: 197.8 kB / 0.6639 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.1936, allocations: 4 kB / 0.6639 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003065/0.1939, allocations: 181.9 kB / 0.664 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.1939, allocations: 12 kB / 0.664 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.1939, allocations: 4 kB / 0.664 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.552e-05/0.194, allocations: 15.92 kB / 0.6641 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.1941, allocations: 39.86 kB / 0.6641 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.297e-05/0.1941, allocations: 11.94 kB / 0.6641 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.1942, allocations: 31.69 kB / 0.6641 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.1942, allocations: 8 kB / 0.6641 GB, free: 8.473 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.0001329/0.1944, allocations: 217 kB / 0.6644 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.881e-05/0.1944, allocations: 112.9 kB / 0.6645 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.945e-05/0.1945, allocations: 124.7 kB / 0.6646 GB, free: 8 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.968e-05/0.1946, allocations: 176.3 kB / 0.6648 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.561e-05/0.1947, allocations: 184.2 kB / 0.6649 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.159e-05/0.1947, allocations: 176.3 kB / 0.6651 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002701/0.195, allocations: 429.2 kB / 0.6655 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-05/0.195, allocations: 104.9 kB / 0.6656 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.458e-05/0.1951, allocations: 101 kB / 0.6657 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.939e-05/0.1951, allocations: 180.2 kB / 0.6659 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.77e-05/0.1952, allocations: 184.2 kB / 0.666 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.717e-05/0.1953, allocations: 180.3 kB / 0.6662 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.197e-05/0.1954, allocations: 188.2 kB / 0.6664 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001608/0.1955, allocations: 307.7 kB / 0.6667 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.786e-05/0.1956, allocations: 194 kB / 0.6669 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.136e-05/0.1957, allocations: 184.2 kB / 0.6671 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.539e-05/0.1958, allocations: 112.9 kB / 0.6672 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.183e-05/0.1959, allocations: 180.6 kB / 0.6673 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.353e-05/0.1959, allocations: 108.9 kB / 0.6674 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.635e-05/0.196, allocations: 111.2 kB / 0.6675 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.196, allocations: 0 / 0.6675 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003562/0.1964, allocations: 31.98 kB / 0.6676 GB, free: 4.734 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.000594/0.197, allocations: 0.8205 MB / 0.6684 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002193/0.1972, allocations: 80.64 kB / 0.6685 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.1972, allocations: 384 / 0.6685 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.891e-06/0.1972, allocations: 12 kB / 0.6685 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004526/0.1977, allocations: 465.3 kB / 0.6689 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007133/0.1984, allocations: 282.3 kB / 0.6692 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003898/0.1988, allocations: 0.6929 MB / 0.6699 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002521/0.1991, allocations: 56.38 kB / 0.6699 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.376e-05/0.1991, allocations: 27.38 kB / 0.6699 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of SimCode: time 3.91e-07/0.1991, allocations: 0 / 0.6699 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0203/0.2194, allocations: 2.944 MB / 0.6728 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.414/7.634, allocations: 6.828 kB / 0.6728 GB, free: 15.41 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_IsMonotonic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_IsMonotonic.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)