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.008397/0.008397, allocations: 96.94 kB / 15.73 MB, free: 6.484 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.001858/0.001858, allocations: 191.7 kB / 16.67 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.371/1.371, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7353/0.7353, allocations: 132.2 MB / 422.8 MB, free: 1.691 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 68.09 kB / 0.5809 GB, free: 1.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1627, allocations: 80.2 MB / 0.6592 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001683/0.1644, allocations: 0.5954 MB / 0.6598 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003247/0.1647, allocations: 71.78 kB / 0.6599 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.287e-05/0.1648, allocations: 0 / 0.6599 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.313e-05/0.1648, allocations: 0 / 0.6599 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.525e-05/0.1649, allocations: 15.92 kB / 0.6599 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002837/0.1652, allocations: 39.95 kB / 0.6599 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.94e-05/0.1653, allocations: 27.91 kB / 0.66 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.805e-05/0.1653, allocations: 0 / 0.66 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.381e-05/0.1653, allocations: 15.98 kB / 0.66 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001767/0.1655, allocations: 67.88 kB / 0.66 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.71e-05/0.1656, allocations: 0 / 0.66 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.579e-05/0.1657, allocations: 39.89 kB / 0.6601 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.362e-05/0.1657, allocations: 19.98 kB / 0.6601 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.409e-05/0.1657, allocations: 23.81 kB / 0.6601 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001402/0.1659, allocations: 73.41 kB / 0.6602 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1659, allocations: 0 / 0.6602 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.713e-06/0.1659, allocations: 0 / 0.6602 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.1659, allocations: 0 / 0.6602 GB, free: 12.96 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.0003694/0.1663, allocations: 363.3 kB / 0.6605 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.1663, allocations: 11.97 kB / 0.6606 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.338e-05/0.1664, allocations: 38.75 kB / 0.6606 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.83e-05/0.1664, allocations: 8.891 kB / 0.6606 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000103/0.1665, allocations: 176.2 kB / 0.6608 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.1666, allocations: 4.375 kB / 0.6608 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.738e-06/0.1666, allocations: 4.375 kB / 0.6608 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002282/0.1668, allocations: 176 kB / 0.6609 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.1668, allocations: 0 / 0.6609 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/0.1669, allocations: 8 kB / 0.661 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-05/0.1669, allocations: 31.97 kB / 0.661 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.731e-05/0.167, allocations: 35.91 kB / 0.661 GB, free: 12 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007029/0.1677, allocations: 0.9062 MB / 0.6619 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.172e-05/0.1678, allocations: 169.4 kB / 0.6621 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.923e-05/0.1678, allocations: 84.17 kB / 0.6621 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.49e-05/0.1679, allocations: 79.28 kB / 0.6622 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.227e-05/0.1679, allocations: 117.8 kB / 0.6623 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.1679, allocations: 0 / 0.6623 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 8.079e-05/0.168, allocations: 35.98 kB / 0.6624 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001619/0.1682, allocations: 383.7 kB / 0.6627 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/0.1683, allocations: 167.6 kB / 0.6629 GB, free: 9.898 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.1684, allocations: 33.7 kB / 0.6629 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.27e-05/0.1685, allocations: 147.5 kB / 0.6631 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.563e-06/0.1685, allocations: 4 kB / 0.6631 GB, free: 9.707 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.159e-05/0.1685, allocations: 57.66 kB / 0.6631 GB, free: 9.645 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.1686, allocations: 326.8 kB / 0.6634 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.676e-05/0.1687, allocations: 27.97 kB / 0.6635 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001736/0.1689, allocations: 217.3 kB / 0.6637 GB, free: 8.984 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001854/0.1691, allocations: 201.8 kB / 0.6639 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.1691, allocations: 4 kB / 0.6639 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002913/0.1694, allocations: 185.1 kB / 0.664 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.1694, allocations: 8 kB / 0.6641 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.976e-06/0.1694, allocations: 4 kB / 0.6641 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.1694, allocations: 12.59 kB / 0.6641 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/0.1696, allocations: 43.92 kB / 0.6641 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/0.1696, allocations: 11.94 kB / 0.6641 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.29e-05/0.1697, allocations: 31.92 kB / 0.6642 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.253e-05/0.1697, allocations: 15.88 kB / 0.6642 GB, free: 8.406 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.0001241/0.1698, allocations: 213 kB / 0.6644 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.803e-05/0.1699, allocations: 112.9 kB / 0.6645 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.115e-05/0.17, allocations: 120.7 kB / 0.6646 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-05/0.17, allocations: 184.3 kB / 0.6648 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.848e-05/0.1701, allocations: 176.3 kB / 0.6649 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.568e-05/0.1702, allocations: 184.2 kB / 0.6651 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002233/0.1704, allocations: 421.2 kB / 0.6655 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.133e-05/0.1704, allocations: 108.9 kB / 0.6656 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.565e-05/0.1705, allocations: 101 kB / 0.6657 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.405e-05/0.1705, allocations: 188.2 kB / 0.6659 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.907e-05/0.1706, allocations: 184.2 kB / 0.6661 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.272e-05/0.1707, allocations: 176.3 kB / 0.6662 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-05/0.1707, allocations: 180.2 kB / 0.6664 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001379/0.1709, allocations: 315.7 kB / 0.6667 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.076e-05/0.1709, allocations: 190 kB / 0.6669 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.141e-05/0.171, allocations: 184.2 kB / 0.6671 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.737e-05/0.1711, allocations: 116.9 kB / 0.6672 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.013e-05/0.1712, allocations: 176.6 kB / 0.6673 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.698e-05/0.1712, allocations: 104.9 kB / 0.6674 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.495e-05/0.1713, allocations: 123.2 kB / 0.6676 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.1e-07/0.1713, allocations: 0 / 0.6676 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002974/0.1716, allocations: 24 kB / 0.6676 GB, free: 4.672 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.0004548/0.1721, allocations: 0.836 MB / 0.6684 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001378/0.1722, allocations: 71.72 kB / 0.6685 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/0.1723, allocations: 4 kB / 0.6685 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.236e-06/0.1723, allocations: 5.312 kB / 0.6685 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003344/0.1726, allocations: 476.2 kB / 0.6689 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004721/0.1731, allocations: 274.3 kB / 0.6692 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002551/0.1733, allocations: 0.689 MB / 0.6699 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001881/0.1735, allocations: 56.38 kB / 0.6699 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.261e-05/0.1736, allocations: 19.44 kB / 0.6699 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.1736, allocations: 0 / 0.6699 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01984/0.1934, allocations: 2.922 MB / 0.6728 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.574/7.767, allocations: 14.53 kB / 0.6728 GB, free: 15.37 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)