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.00112/0.00112, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 191.7 kB / 16.53 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.376/1.376, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7561/0.7561, allocations: 132.2 MB / 422.6 MB, free: 1.777 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 64.5 kB / 0.5019 GB, free: 8.652 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1558, allocations: 80.21 MB / 0.5802 GB, free: 8.672 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001746/0.1576, allocations: 0.6013 MB / 0.5808 GB, free: 8.062 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003092/0.1579, allocations: 63.8 kB / 0.5809 GB, free: 8 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.983e-05/0.1579, allocations: 4 kB / 0.5809 GB, free: 7.996 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.542e-05/0.158, allocations: 3.984 kB / 0.5809 GB, free: 7.992 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.258e-05/0.158, allocations: 8 kB / 0.5809 GB, free: 7.984 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002762/0.1583, allocations: 43.88 kB / 0.5809 GB, free: 7.941 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.514e-05/0.1584, allocations: 19.98 kB / 0.5809 GB, free: 7.922 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.333e-05/0.1584, allocations: 4 kB / 0.5809 GB, free: 7.918 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.801e-05/0.1585, allocations: 23.91 kB / 0.581 GB, free: 7.895 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001727/0.1586, allocations: 55.95 kB / 0.581 GB, free: 7.84 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.634e-05/0.1587, allocations: 7.938 kB / 0.581 GB, free: 7.832 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.266e-05/0.1588, allocations: 39.89 kB / 0.5811 GB, free: 7.793 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.431e-05/0.1588, allocations: 15.94 kB / 0.5811 GB, free: 7.777 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.216e-05/0.1588, allocations: 31.84 kB / 0.5811 GB, free: 7.746 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001255/0.159, allocations: 63.8 kB / 0.5812 GB, free: 7.684 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.159, allocations: 0 / 0.5812 GB, free: 7.684 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.159, allocations: 0 / 0.5812 GB, free: 7.684 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.159, allocations: 0 / 0.5812 GB, free: 7.684 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.0003203/0.1593, allocations: 363.7 kB / 0.5815 GB, free: 7.277 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.1594, allocations: 12.03 kB / 0.5815 GB, free: 7.266 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.881e-05/0.1594, allocations: 46.72 kB / 0.5816 GB, free: 7.211 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.265e-05/0.1595, allocations: 8.844 kB / 0.5816 GB, free: 7.203 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.337e-05/0.1595, allocations: 168.3 kB / 0.5817 GB, free: 7 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.1596, allocations: 4.375 kB / 0.5817 GB, free: 6.996 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.818e-06/0.1596, allocations: 4.375 kB / 0.5817 GB, free: 6.992 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002263/0.1598, allocations: 180 kB / 0.5819 GB, free: 6.793 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/0.1598, allocations: 7.922 kB / 0.5819 GB, free: 6.785 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.1599, allocations: 0 / 0.5819 GB, free: 6.785 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.802e-05/0.1599, allocations: 23.98 kB / 0.582 GB, free: 6.762 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.507e-05/0.16, allocations: 35.91 kB / 0.582 GB, free: 6.727 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006569/0.1606, allocations: 0.9101 MB / 0.5829 GB, free: 5.746 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.804e-05/0.1607, allocations: 169.1 kB / 0.583 GB, free: 5.57 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.857e-05/0.1608, allocations: 80.14 kB / 0.5831 GB, free: 5.488 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.013e-05/0.1608, allocations: 79.22 kB / 0.5832 GB, free: 5.41 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.021e-05/0.1609, allocations: 113.8 kB / 0.5833 GB, free: 5.289 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.1609, allocations: 4 kB / 0.5833 GB, free: 5.285 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 8.176e-05/0.1609, allocations: 33.61 kB / 0.5833 GB, free: 5.246 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000171/0.1611, allocations: 383.7 kB / 0.5837 GB, free: 4.797 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/0.1613, allocations: 171.5 kB / 0.5839 GB, free: 4.621 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.1613, allocations: 25.7 kB / 0.5839 GB, free: 4.59 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.501e-05/0.1614, allocations: 143.2 kB / 0.584 GB, free: 4.445 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.604e-06/0.1614, allocations: 11.98 kB / 0.584 GB, free: 4.434 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.613e-05/0.1615, allocations: 57.61 kB / 0.5841 GB, free: 4.371 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.1616, allocations: 318.8 kB / 0.5844 GB, free: 4.051 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.057e-05/0.1616, allocations: 31.91 kB / 0.5844 GB, free: 4.02 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001656/0.1618, allocations: 216.3 kB / 0.5846 GB, free: 3.715 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001874/0.162, allocations: 201.7 kB / 0.5848 GB, free: 3.453 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.162, allocations: 0 / 0.5848 GB, free: 3.453 MB / 494.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002787/0.1623, allocations: 193.1 kB / 0.585 GB, free: 3.258 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.1623, allocations: 4 kB / 0.585 GB, free: 3.254 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.667e-05/0.1623, allocations: 8.094 kB / 0.585 GB, free: 3.246 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.1623, allocations: 12.53 kB / 0.585 GB, free: 3.234 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.1625, allocations: 47.92 kB / 0.5851 GB, free: 3.188 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/0.1625, allocations: 7.938 kB / 0.5851 GB, free: 3.18 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.104e-05/0.1626, allocations: 35.67 kB / 0.5851 GB, free: 3.145 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.534e-05/0.1626, allocations: 16 kB / 0.5851 GB, free: 3.129 MB / 494.1 MB 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.0001239/0.1627, allocations: 205 kB / 0.5853 GB, free: 2.918 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.069e-05/0.1628, allocations: 113 kB / 0.5854 GB, free: 2.801 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.352e-05/0.1629, allocations: 120.7 kB / 0.5856 GB, free: 2.672 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.366e-05/0.1629, allocations: 184.3 kB / 0.5857 GB, free: 2.484 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-05/0.163, allocations: 182 kB / 0.5859 GB, free: 2.301 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.469e-05/0.1631, allocations: 184.2 kB / 0.5861 GB, free: 2.113 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002402/0.1633, allocations: 413.2 kB / 0.5865 GB, free: 1.652 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.299e-05/0.1634, allocations: 104.9 kB / 0.5866 GB, free: 1.543 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.095e-05/0.1634, allocations: 109 kB / 0.5867 GB, free: 1.43 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.38e-05/0.1635, allocations: 184.3 kB / 0.5868 GB, free: 1.242 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-05/0.1635, allocations: 188.1 kB / 0.587 GB, free: 1.051 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.05e-05/0.1636, allocations: 176.3 kB / 0.5872 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.03e-05/0.1637, allocations: 184.2 kB / 0.5874 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001502/0.1638, allocations: 315.7 kB / 0.5877 GB, free: 360 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.101e-05/0.1639, allocations: 185.9 kB / 0.5879 GB, free: 148 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.448e-05/0.164, allocations: 184.2 kB / 0.588 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.1641, allocations: 112.9 kB / 0.5881 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.948e-05/0.1642, allocations: 180.5 kB / 0.5883 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.535e-05/0.1642, allocations: 112.9 kB / 0.5884 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.148e-05/0.1643, allocations: 118.4 kB / 0.5885 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1643, allocations: 0 / 0.5885 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003019/0.1646, allocations: 28 kB / 0.5886 GB, free: 15.4 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.0004727/0.1651, allocations: 0.8282 MB / 0.5894 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001359/0.1652, allocations: 71.78 kB / 0.5894 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1653, allocations: 0 / 0.5894 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.845e-06/0.1653, allocations: 5.25 kB / 0.5894 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003784/0.1656, allocations: 477.5 kB / 0.5899 GB, free: 14 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005073/0.1662, allocations: 274.4 kB / 0.5902 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003204/0.1665, allocations: 0.6929 MB / 0.5908 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002302/0.1667, allocations: 56.59 kB / 0.5909 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.279e-05/0.1668, allocations: 27.42 kB / 0.5909 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.1668, allocations: 0 / 0.5909 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0196/0.1864, allocations: 2.87 MB / 0.5937 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.169/7.355, allocations: 8.094 kB / 0.5937 GB, free: 10.14 MB / 0.4981 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Utilities_Math_Functions_Examples_IsMonotonic.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)