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.005253/0.005253, allocations: 101 kB / 15.73 MB, free: 6.059 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.001315/0.001315, allocations: 194.4 kB / 16.67 MB, free: 5.969 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: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.812/0.812, allocations: 132.2 MB / 422.7 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001838/0.001838, allocations: 69.7 kB / 0.5809 GB, free: 24.01 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.1529, allocations: 80.2 MB / 0.6592 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001598/0.1545, allocations: 0.6019 MB / 0.6598 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000304/0.1548, allocations: 75.72 kB / 0.6599 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.914e-05/0.1548, allocations: 0 / 0.6599 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.574e-05/0.1549, allocations: 3.984 kB / 0.6599 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.948e-05/0.1549, allocations: 8 kB / 0.6599 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002751/0.1552, allocations: 43.89 kB / 0.6599 GB, free: 9.973 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.018e-05/0.1553, allocations: 27.91 kB / 0.66 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.932e-05/0.1553, allocations: 0 / 0.66 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.62e-05/0.1554, allocations: 15.98 kB / 0.66 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001968/0.1556, allocations: 67.88 kB / 0.66 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.328e-05/0.1556, allocations: 0 / 0.66 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/0.1557, allocations: 39.89 kB / 0.6601 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.533e-05/0.1558, allocations: 20 kB / 0.6601 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.34e-05/0.1558, allocations: 23.8 kB / 0.6601 GB, free: 9.781 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001363/0.1559, allocations: 64.06 kB / 0.6602 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.1559, allocations: 4 kB / 0.6602 GB, free: 9.715 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.392e-06/0.156, allocations: 0 / 0.6602 GB, free: 9.715 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.156, allocations: 0 / 0.6602 GB, free: 9.715 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.0003742/0.1563, allocations: 363.3 kB / 0.6605 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.1564, allocations: 8.031 kB / 0.6605 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.667e-05/0.1564, allocations: 42.73 kB / 0.6606 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.375e-05/0.1565, allocations: 8.891 kB / 0.6606 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.1566, allocations: 182.8 kB / 0.6608 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.1566, allocations: 384 / 0.6608 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.023e-05/0.1566, allocations: 4.375 kB / 0.6608 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002497/0.1569, allocations: 179.2 kB / 0.6609 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.1569, allocations: 4 kB / 0.661 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.1569, allocations: 0 / 0.661 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.214e-05/0.157, allocations: 23.98 kB / 0.661 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.828e-05/0.157, allocations: 35.91 kB / 0.661 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007224/0.1578, allocations: 0.9101 MB / 0.6619 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.26e-05/0.1579, allocations: 165.5 kB / 0.6621 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.935e-05/0.1579, allocations: 92.11 kB / 0.6621 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.162e-05/0.158, allocations: 75.28 kB / 0.6622 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.505e-05/0.158, allocations: 117.8 kB / 0.6623 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.158, allocations: 0 / 0.6623 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 7.751e-05/0.1581, allocations: 33.7 kB / 0.6624 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001959/0.1583, allocations: 383.7 kB / 0.6627 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.1585, allocations: 168.5 kB / 0.6629 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.1585, allocations: 29.7 kB / 0.6629 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.89e-05/0.1586, allocations: 151.5 kB / 0.6631 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.672e-06/0.1586, allocations: 11.92 kB / 0.6631 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.321e-05/0.1587, allocations: 57.66 kB / 0.6631 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.1589, allocations: 326.7 kB / 0.6634 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.444e-05/0.1589, allocations: 27.97 kB / 0.6635 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002142/0.1591, allocations: 214.6 kB / 0.6637 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002047/0.1593, allocations: 197.7 kB / 0.6639 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.1594, allocations: 4 kB / 0.6639 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003262/0.1597, allocations: 189.1 kB / 0.664 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.1597, allocations: 8 kB / 0.664 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.1597, allocations: 4.656 kB / 0.6641 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.1598, allocations: 11.94 kB / 0.6641 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.1599, allocations: 47.92 kB / 0.6641 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/0.1599, allocations: 7.938 kB / 0.6641 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.701e-05/0.16, allocations: 27.78 kB / 0.6641 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.522e-05/0.16, allocations: 15.98 kB / 0.6642 GB, free: 5.16 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.0001413/0.1602, allocations: 209 kB / 0.6644 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.107e-05/0.1602, allocations: 116.9 kB / 0.6645 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.937e-05/0.1603, allocations: 120.7 kB / 0.6646 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.016e-05/0.1604, allocations: 180.3 kB / 0.6648 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.592e-05/0.1605, allocations: 176.3 kB / 0.6649 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001384/0.1606, allocations: 184.2 kB / 0.6651 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000279/0.1609, allocations: 421.2 kB / 0.6655 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-05/0.161, allocations: 104.9 kB / 0.6656 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.479e-05/0.161, allocations: 109 kB / 0.6657 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.391e-05/0.1611, allocations: 184.2 kB / 0.6659 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001081/0.1612, allocations: 184.1 kB / 0.6661 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.903e-05/0.1613, allocations: 176.3 kB / 0.6662 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.255e-05/0.1614, allocations: 188.2 kB / 0.6664 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002176/0.1616, allocations: 319.7 kB / 0.6667 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.708e-05/0.1617, allocations: 182 kB / 0.6669 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.821e-05/0.1618, allocations: 184.2 kB / 0.6671 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.1619, allocations: 108.9 kB / 0.6672 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.96e-05/0.162, allocations: 184.5 kB / 0.6673 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.06e-05/0.162, allocations: 108.9 kB / 0.6674 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.504e-05/0.1621, allocations: 117.5 kB / 0.6676 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1621, allocations: 0 / 0.6676 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003155/0.1625, allocations: 24 kB / 0.6676 GB, free: 1.43 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.0005645/0.163, allocations: 0.836 MB / 0.6684 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001512/0.1632, allocations: 71.78 kB / 0.6685 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.1632, allocations: 96 / 0.6685 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.477e-06/0.1632, allocations: 13.19 kB / 0.6685 GB, free: 496 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004032/0.1636, allocations: 468.7 kB / 0.6689 GB, free: 24 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006244/0.1643, allocations: 274.3 kB / 0.6692 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000317/0.1646, allocations: 0.6929 MB / 0.6699 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000204/0.1648, allocations: 56.39 kB / 0.6699 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.486e-05/0.1648, allocations: 27.42 kB / 0.6699 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of SimCode: time 1.944e-06/0.1648, allocations: 0 / 0.6699 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02433/0.1892, allocations: 2.928 MB / 0.6728 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.785/7.974, allocations: 8.625 kB / 0.6728 GB, free: 12.11 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 & 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)