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.001187/0.001187, 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.001197/0.001197, allocations: 200.2 kB / 16.54 MB, free: 6.672 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.362/1.362, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.037/1.037, allocations: 135.1 MB / 425.5 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 68.23 kB / 0.5055 GB, free: 5.227 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.1602, allocations: 80.94 MB / 0.5845 GB, free: 4.457 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic): time 0.002003/0.1622, allocations: 0.5857 MB / 0.5851 GB, free: 3.863 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003712/0.1626, allocations: 67.78 kB / 0.5851 GB, free: 3.797 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.649e-05/0.1626, allocations: 0 / 0.5851 GB, free: 3.797 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.37e-05/0.1627, allocations: 4 kB / 0.5851 GB, free: 3.793 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.194e-05/0.1627, allocations: 11.92 kB / 0.5851 GB, free: 3.781 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003266/0.1631, allocations: 43.95 kB / 0.5852 GB, free: 3.738 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.342e-05/0.1632, allocations: 19.98 kB / 0.5852 GB, free: 3.719 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.293e-05/0.1632, allocations: 3.984 kB / 0.5852 GB, free: 3.715 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.298e-05/0.1633, allocations: 11.94 kB / 0.5852 GB, free: 3.703 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002123/0.1635, allocations: 67.92 kB / 0.5853 GB, free: 3.637 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.696e-05/0.1635, allocations: 3.938 kB / 0.5853 GB, free: 3.633 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001132/0.1636, allocations: 39.91 kB / 0.5853 GB, free: 3.594 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.065e-05/0.1637, allocations: 23.92 kB / 0.5853 GB, free: 3.57 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.63e-05/0.1637, allocations: 15.88 kB / 0.5854 GB, free: 3.555 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001451/0.1639, allocations: 71.78 kB / 0.5854 GB, free: 3.484 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.1639, allocations: 0 / 0.5854 GB, free: 3.484 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1639, allocations: 0 / 0.5854 GB, free: 3.484 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.1639, allocations: 0 / 0.5854 GB, free: 3.484 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.00038/0.1643, allocations: 363.7 kB / 0.5858 GB, free: 3.078 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.1643, allocations: 8.031 kB / 0.5858 GB, free: 3.07 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.95e-05/0.1644, allocations: 46.73 kB / 0.5858 GB, free: 3.016 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.222e-05/0.1644, allocations: 12.84 kB / 0.5858 GB, free: 3.004 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/0.1646, allocations: 168.3 kB / 0.586 GB, free: 2.801 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.1646, allocations: 8.359 kB / 0.586 GB, free: 2.793 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.273e-06/0.1646, allocations: 384 / 0.586 GB, free: 2.793 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002523/0.1649, allocations: 185.1 kB / 0.5862 GB, free: 2.59 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.1649, allocations: 0 / 0.5862 GB, free: 2.59 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.1649, allocations: 8 kB / 0.5862 GB, free: 2.582 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.514e-05/0.1649, allocations: 23.98 kB / 0.5862 GB, free: 2.559 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.864e-05/0.165, allocations: 39.84 kB / 0.5863 GB, free: 2.52 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006346/0.1657, allocations: 0.8984 MB / 0.5871 GB, free: 1.551 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.239e-05/0.1657, allocations: 169.1 kB / 0.5873 GB, free: 1.375 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.277e-05/0.1658, allocations: 84.14 kB / 0.5874 GB, free: 1.289 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.378e-05/0.1658, allocations: 75.28 kB / 0.5874 GB, free: 1.215 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.657e-05/0.1659, allocations: 113.8 kB / 0.5876 GB, free: 1.094 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.1659, allocations: 0 / 0.5876 GB, free: 1.094 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 7.331e-05/0.1659, allocations: 33.61 kB / 0.5876 GB, free: 1.055 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001564/0.1661, allocations: 395.7 kB / 0.588 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.1662, allocations: 163.2 kB / 0.5881 GB, free: 436 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.1663, allocations: 29.7 kB / 0.5881 GB, free: 400 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.287e-05/0.1663, allocations: 155.1 kB / 0.5883 GB, free: 240 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.086e-06/0.1663, allocations: 4 kB / 0.5883 GB, free: 236 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.994e-05/0.1664, allocations: 57.61 kB / 0.5884 GB, free: 172 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.1665, allocations: 322.8 kB / 0.5887 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.982e-05/0.1666, allocations: 23.98 kB / 0.5887 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001742/0.1668, allocations: 222.5 kB / 0.5889 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001796/0.167, allocations: 193.8 kB / 0.5891 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.167, allocations: 0 / 0.5891 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002959/0.1673, allocations: 193.1 kB / 0.5893 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.1673, allocations: 8.656 kB / 0.5893 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.1673, allocations: 4 kB / 0.5893 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.211e-05/0.1673, allocations: 16.03 kB / 0.5893 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/0.1675, allocations: 43.84 kB / 0.5893 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.597e-05/0.1675, allocations: 11.94 kB / 0.5893 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.256e-05/0.1676, allocations: 31.69 kB / 0.5894 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.365e-05/0.1676, allocations: 8 kB / 0.5894 GB, free: 14.94 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.0001269/0.1677, allocations: 217 kB / 0.5896 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.516e-05/0.1678, allocations: 105 kB / 0.5897 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.828e-05/0.1679, allocations: 124.7 kB / 0.5898 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.265e-05/0.168, allocations: 184.3 kB / 0.59 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.729e-05/0.168, allocations: 185.9 kB / 0.5902 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.947e-05/0.1681, allocations: 176.3 kB / 0.5903 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002273/0.1683, allocations: 421.2 kB / 0.5907 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.48e-05/0.1684, allocations: 112.9 kB / 0.5908 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.442e-05/0.1684, allocations: 101 kB / 0.5909 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.923e-05/0.1685, allocations: 184.1 kB / 0.5911 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.322e-05/0.1685, allocations: 188.2 kB / 0.5913 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.306e-05/0.1686, allocations: 176.3 kB / 0.5915 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.078e-05/0.1686, allocations: 188.2 kB / 0.5916 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001355/0.1688, allocations: 311.7 kB / 0.5919 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.079e-05/0.1689, allocations: 186 kB / 0.5921 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.712e-05/0.169, allocations: 192.2 kB / 0.5923 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.179e-05/0.169, allocations: 105.2 kB / 0.5924 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.931e-05/0.1691, allocations: 184.3 kB / 0.5926 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.4e-05/0.1691, allocations: 109 kB / 0.5927 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.998e-05/0.1692, allocations: 113.7 kB / 0.5928 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1692, allocations: 0 / 0.5928 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003124/0.1695, allocations: 32 kB / 0.5928 GB, free: 11.2 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.0004176/0.17, allocations: 0.8334 MB / 0.5936 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001385/0.1701, allocations: 75.72 kB / 0.5937 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.1701, allocations: 5.312 kB / 0.5937 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.663e-06/0.1701, allocations: 0 / 0.5937 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003463/0.1705, allocations: 471.7 kB / 0.5942 GB, free: 9.793 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004809/0.171, allocations: 274.4 kB / 0.5944 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002651/0.1712, allocations: 0.6929 MB / 0.5951 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002432/0.1715, allocations: 52.59 kB / 0.5951 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.329e-05/0.1715, allocations: 19.44 kB / 0.5952 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of SimCode: time 3.51e-07/0.1715, allocations: 4 kB / 0.5952 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01827/0.1898, allocations: 2.883 MB / 0.598 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.129/7.319, allocations: 9.875 kB / 0.598 GB, free: 5.926 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 & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Utilities_Math_Functions_Examples_IsMonotonic.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)