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.006994/0.006994, allocations: 101.1 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.001838/0.001838, allocations: 187.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.497/1.497, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8705/0.8705, allocations: 135.6 MB / 426.1 MB, free: 3.602 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002136/0.002136, allocations: 68.67 kB / 0.5858 GB, free: 21.41 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1648/0.1669, allocations: 81.03 MB / 0.6649 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic): time 0.00194/0.1689, allocations: 0.5837 MB / 0.6655 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000345/0.1693, allocations: 71.84 kB / 0.6655 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.819e-05/0.1694, allocations: 4 kB / 0.6655 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.056e-05/0.1694, allocations: 3.938 kB / 0.6656 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.347e-05/0.1694, allocations: 4 kB / 0.6656 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002979/0.1697, allocations: 43.88 kB / 0.6656 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.435e-05/0.1698, allocations: 23.92 kB / 0.6656 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.015e-05/0.1699, allocations: 7.984 kB / 0.6656 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.517e-05/0.1699, allocations: 15.98 kB / 0.6656 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000203/0.1702, allocations: 59.94 kB / 0.6657 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.615e-05/0.1702, allocations: 3.938 kB / 0.6657 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001168/0.1703, allocations: 39.97 kB / 0.6657 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.044e-05/0.1704, allocations: 15.98 kB / 0.6658 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.829e-05/0.1704, allocations: 23.8 kB / 0.6658 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000143/0.1705, allocations: 64.02 kB / 0.6658 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.1706, allocations: 0 / 0.6658 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of FrontEnd: time 4.048e-06/0.1706, allocations: 0 / 0.6658 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.317e-06/0.1706, allocations: 3.938 kB / 0.6658 GB, free: 4.598 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.000427/0.171, allocations: 373.4 kB / 0.6662 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/0.1711, allocations: 13.11 kB / 0.6662 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.727e-05/0.1711, allocations: 46.67 kB / 0.6663 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.676e-05/0.1712, allocations: 8.891 kB / 0.6663 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.1713, allocations: 166.9 kB / 0.6664 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.1713, allocations: 384 / 0.6664 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.171e-05/0.1713, allocations: 4.375 kB / 0.6664 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002793/0.1716, allocations: 188.1 kB / 0.6666 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.1716, allocations: 0 / 0.6666 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.608e-05/0.1717, allocations: 4 kB / 0.6666 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.045e-05/0.1717, allocations: 23.92 kB / 0.6666 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.721e-05/0.1718, allocations: 35.91 kB / 0.6667 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009765/0.1728, allocations: 0.9063 MB / 0.6676 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001131/0.1729, allocations: 173.5 kB / 0.6677 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.225e-05/0.173, allocations: 88.17 kB / 0.6678 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.689e-05/0.173, allocations: 75.28 kB / 0.6679 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.509e-05/0.1731, allocations: 109.8 kB / 0.668 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 1.152e-06/0.1731, allocations: 0 / 0.668 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 0.0001019/0.1732, allocations: 41.58 kB / 0.668 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003032/0.1735, allocations: 395.7 kB / 0.6684 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001752/0.1737, allocations: 167.4 kB / 0.6686 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.226e-05/0.1738, allocations: 25.7 kB / 0.6686 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.1739, allocations: 151.5 kB / 0.6687 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.068e-06/0.1739, allocations: 4 kB / 0.6687 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.945e-05/0.174, allocations: 57.66 kB / 0.6688 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002406/0.1742, allocations: 322.8 kB / 0.6691 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.332e-05/0.1743, allocations: 23.98 kB / 0.6691 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002279/0.1745, allocations: 228.8 kB / 0.6693 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002268/0.1747, allocations: 201.7 kB / 0.6695 GB, free: 352 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.1748, allocations: 0 / 0.6695 GB, free: 352 kB / 0.4981 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003508/0.1751, allocations: 193.7 kB / 0.6697 GB, free: 152 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.1751, allocations: 8 kB / 0.6697 GB, free: 144 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.1752, allocations: 4 kB / 0.6697 GB, free: 140 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.344e-05/0.1752, allocations: 7.938 kB / 0.6697 GB, free: 132 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001496/0.1753, allocations: 39.92 kB / 0.6698 GB, free: 92 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.246e-05/0.1754, allocations: 7.984 kB / 0.6698 GB, free: 84 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001139/0.1755, allocations: 27.94 kB / 0.6698 GB, free: 56 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.918e-05/0.1755, allocations: 19.94 kB / 0.6698 GB, free: 36 kB / 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.0001886/0.1757, allocations: 217 kB / 0.67 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.753e-05/0.1758, allocations: 116.9 kB / 0.6701 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.014e-05/0.1759, allocations: 116.8 kB / 0.6703 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001366/0.176, allocations: 184.2 kB / 0.6704 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.963e-05/0.1761, allocations: 176.3 kB / 0.6706 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.634e-05/0.1762, allocations: 180.3 kB / 0.6708 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003486/0.1766, allocations: 429.1 kB / 0.6712 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-05/0.1766, allocations: 105 kB / 0.6713 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.56e-05/0.1767, allocations: 104.9 kB / 0.6714 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.437e-05/0.1768, allocations: 176.3 kB / 0.6715 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.236e-05/0.1769, allocations: 184.2 kB / 0.6717 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.204e-05/0.177, allocations: 188.2 kB / 0.6719 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.404e-05/0.177, allocations: 180.2 kB / 0.6721 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001966/0.1772, allocations: 311.7 kB / 0.6724 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001104/0.1774, allocations: 190 kB / 0.6726 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001133/0.1775, allocations: 188.2 kB / 0.6727 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.1776, allocations: 109 kB / 0.6728 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.137e-05/0.1777, allocations: 180.5 kB / 0.673 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.569e-05/0.1777, allocations: 105 kB / 0.6731 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001059/0.1779, allocations: 115.2 kB / 0.6732 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1779, allocations: 0 / 0.6732 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003771/0.1783, allocations: 28 kB / 0.6732 GB, free: 12.3 MB / 0.5137 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.0006393/0.1789, allocations: 0.8359 MB / 0.6741 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002/0.1791, allocations: 72.91 kB / 0.6741 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/0.1791, allocations: 4.188 kB / 0.6741 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 4.509e-06/0.1791, allocations: 4 kB / 0.6741 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004324/0.1796, allocations: 469.2 kB / 0.6746 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005742/0.1802, allocations: 274.2 kB / 0.6748 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003676/0.1805, allocations: 0.6929 MB / 0.6755 GB, free: 9.867 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002134/0.1808, allocations: 56.36 kB / 0.6756 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.532e-05/0.1808, allocations: 23.44 kB / 0.6756 GB, free: 9.789 MB / 0.5137 GB Notification: Performance of SimCode: time 6.41e-07/0.1808, allocations: 4 kB / 0.6756 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02491/0.2057, allocations: 2.935 MB / 0.6785 GB, free: 6.969 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.736/7.942, allocations: 12.5 kB / 0.6785 GB, free: 6.957 MB / 0.5137 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)