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.001449/0.00145, allocations: 104 kB / 15.61 MB, free: 148 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.001536/0.001536, allocations: 195.9 kB / 16.53 MB, free: 6.684 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.402/1.402, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9319/0.9319, allocations: 135.1 MB / 425.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 63.81 kB / 0.5055 GB, free: 5.219 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1526, allocations: 80.92 MB / 0.5845 GB, free: 4.461 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001782/0.1544, allocations: 0.596 MB / 0.5851 GB, free: 3.859 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003046/0.1547, allocations: 67.8 kB / 0.5851 GB, free: 3.793 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.303e-05/0.1548, allocations: 0 / 0.5851 GB, free: 3.793 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.931e-05/0.1548, allocations: 3.984 kB / 0.5851 GB, free: 3.789 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.186e-05/0.1549, allocations: 7.938 kB / 0.5851 GB, free: 3.781 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002671/0.1551, allocations: 43.94 kB / 0.5852 GB, free: 3.738 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.383e-05/0.1552, allocations: 27.92 kB / 0.5852 GB, free: 3.711 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.939e-05/0.1552, allocations: 3.938 kB / 0.5852 GB, free: 3.707 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.541e-05/0.1553, allocations: 19.92 kB / 0.5852 GB, free: 3.688 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001782/0.1555, allocations: 59.94 kB / 0.5853 GB, free: 3.629 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.462e-05/0.1555, allocations: 0 / 0.5853 GB, free: 3.629 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.1556, allocations: 39.95 kB / 0.5853 GB, free: 3.59 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.722e-05/0.1556, allocations: 23.92 kB / 0.5853 GB, free: 3.566 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.925e-05/0.1557, allocations: 15.86 kB / 0.5854 GB, free: 3.551 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001162/0.1558, allocations: 67.8 kB / 0.5854 GB, free: 3.484 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1558, allocations: 4 kB / 0.5854 GB, free: 3.48 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.143e-06/0.1558, allocations: 0 / 0.5854 GB, free: 3.48 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.1558, allocations: 0 / 0.5854 GB, free: 3.48 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.0003232/0.1561, allocations: 367.7 kB / 0.5858 GB, free: 3.07 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.1562, allocations: 8.031 kB / 0.5858 GB, free: 3.062 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.109e-05/0.1562, allocations: 46.72 kB / 0.5858 GB, free: 3.008 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.444e-05/0.1563, allocations: 8.844 kB / 0.5858 GB, free: 3 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.512e-05/0.1564, allocations: 168.3 kB / 0.586 GB, free: 2.797 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.1564, allocations: 4.375 kB / 0.586 GB, free: 2.793 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.618e-06/0.1564, allocations: 4.375 kB / 0.586 GB, free: 2.789 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002263/0.1566, allocations: 185.1 kB / 0.5862 GB, free: 2.586 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.86e-05/0.1567, allocations: 0 / 0.5862 GB, free: 2.586 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.1567, allocations: 4 kB / 0.5862 GB, free: 2.582 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.265e-05/0.1567, allocations: 19.98 kB / 0.5862 GB, free: 2.562 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.836e-05/0.1568, allocations: 51.77 kB / 0.5863 GB, free: 2.512 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006041/0.1574, allocations: 0.8985 MB / 0.5871 GB, free: 1.543 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.586e-05/0.1575, allocations: 173.1 kB / 0.5873 GB, free: 1.363 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.642e-05/0.1575, allocations: 80.14 kB / 0.5874 GB, free: 1.281 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.522e-05/0.1576, allocations: 75.28 kB / 0.5875 GB, free: 1.207 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.316e-05/0.1576, allocations: 113.8 kB / 0.5876 GB, free: 1.086 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 9.31e-07/0.1576, allocations: 4 kB / 0.5876 GB, free: 1.082 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 7.527e-05/0.1577, allocations: 37.61 kB / 0.5876 GB, free: 1.039 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001422/0.1578, allocations: 391.7 kB / 0.588 GB, free: 0.582 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.158, allocations: 167.1 kB / 0.5881 GB, free: 420 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.158, allocations: 25.7 kB / 0.5882 GB, free: 388 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.692e-05/0.1581, allocations: 151.1 kB / 0.5883 GB, free: 232 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.407e-06/0.1581, allocations: 0 / 0.5883 GB, free: 232 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.014e-05/0.1582, allocations: 57.61 kB / 0.5884 GB, free: 168 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.1583, allocations: 326.8 kB / 0.5887 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.587e-05/0.1583, allocations: 27.97 kB / 0.5887 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001552/0.1585, allocations: 214.5 kB / 0.5889 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000178/0.1587, allocations: 197.8 kB / 0.5891 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1587, allocations: 96 / 0.5891 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002863/0.159, allocations: 197 kB / 0.5893 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.159, allocations: 8 kB / 0.5893 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.159, allocations: 4 kB / 0.5893 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.159, allocations: 11.94 kB / 0.5893 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.1591, allocations: 36.58 kB / 0.5893 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.275e-05/0.1592, allocations: 15.92 kB / 0.5893 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.948e-05/0.1593, allocations: 31.69 kB / 0.5894 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.602e-05/0.1593, allocations: 16 kB / 0.5894 GB, free: 14.93 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.0001094/0.1594, allocations: 213 kB / 0.5896 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.717e-05/0.1595, allocations: 105 kB / 0.5897 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.697e-05/0.1595, allocations: 120.7 kB / 0.5898 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.103e-05/0.1596, allocations: 180.3 kB / 0.59 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.616e-05/0.1596, allocations: 193.8 kB / 0.5902 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.117e-05/0.1597, allocations: 176.3 kB / 0.5903 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002163/0.1599, allocations: 417.2 kB / 0.5907 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-05/0.16, allocations: 104.9 kB / 0.5908 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.285e-05/0.16, allocations: 105 kB / 0.5909 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.878e-05/0.16, allocations: 188.1 kB / 0.5911 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.533e-05/0.1601, allocations: 188.2 kB / 0.5913 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.082e-05/0.1602, allocations: 180.2 kB / 0.5915 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.133e-05/0.1602, allocations: 176.3 kB / 0.5916 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001238/0.1604, allocations: 319.7 kB / 0.5919 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.709e-05/0.1604, allocations: 186 kB / 0.5921 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.212e-05/0.1605, allocations: 184.1 kB / 0.5923 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.951e-05/0.1606, allocations: 109.2 kB / 0.5924 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.336e-05/0.1607, allocations: 180.3 kB / 0.5926 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.743e-05/0.1607, allocations: 113 kB / 0.5927 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.606e-05/0.1608, allocations: 117.7 kB / 0.5928 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1608, allocations: 0 / 0.5928 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003107/0.1611, allocations: 32 kB / 0.5928 GB, free: 11.19 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.0004097/0.1615, allocations: 0.8294 MB / 0.5936 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001404/0.1617, allocations: 75.78 kB / 0.5937 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.1617, allocations: 0 / 0.5937 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.533e-06/0.1617, allocations: 4 kB / 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.0003268/0.162, allocations: 461 kB / 0.5941 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000518/0.1626, allocations: 282.4 kB / 0.5944 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002273/0.1628, allocations: 0.6968 MB / 0.5951 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002032/0.163, allocations: 56.59 kB / 0.5951 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.219e-05/0.163, allocations: 27.36 kB / 0.5952 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.163, allocations: 0 / 0.5952 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01828/0.1813, allocations: 2.877 MB / 0.598 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.178/7.36, allocations: 11.66 kB / 0.598 GB, free: 5.922 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)