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.0058/0.0058, allocations: 98.2 kB / 15.73 MB, free: 5.988 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.001138/0.001138, allocations: 185.1 kB / 16.67 MB, free: 5.918 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.382/1.382, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.942/0.942, allocations: 135.1 MB / 425.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 59.91 kB / 0.5852 GB, free: 3.824 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.435/0.4363, allocations: 80.93 MB / 0.6642 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001678/0.438, allocations: 0.5908 MB / 0.6648 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003152/0.4384, allocations: 72.22 kB / 0.6648 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.275e-05/0.4384, allocations: 0 / 0.6648 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.781e-05/0.4385, allocations: 3.938 kB / 0.6649 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.076e-05/0.4385, allocations: 3.594 kB / 0.6649 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002969/0.4388, allocations: 55.44 kB / 0.6649 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.254e-05/0.4389, allocations: 19.94 kB / 0.6649 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.648e-05/0.4389, allocations: 13.23 kB / 0.6649 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.315e-05/0.439, allocations: 7 kB / 0.6649 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001839/0.4391, allocations: 66.44 kB / 0.665 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.431e-05/0.4392, allocations: 1.938 kB / 0.665 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.322e-05/0.4393, allocations: 36.45 kB / 0.665 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.555e-05/0.4393, allocations: 18.14 kB / 0.6651 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.072e-05/0.4393, allocations: 22.28 kB / 0.6651 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001361/0.4395, allocations: 76.84 kB / 0.6652 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.4395, allocations: 0 / 0.6652 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.884e-06/0.4395, allocations: 1.406 kB / 0.6652 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.4395, allocations: 0 / 0.6652 GB, free: 6.73 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.0002981/0.4398, allocations: 363.4 kB / 0.6655 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.4399, allocations: 9.375 kB / 0.6655 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.751e-05/0.4399, allocations: 47.23 kB / 0.6656 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.68e-05/0.44, allocations: 9.297 kB / 0.6656 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.406e-05/0.44, allocations: 165.4 kB / 0.6657 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.44, allocations: 5.641 kB / 0.6657 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.44, allocations: 6.938 kB / 0.6657 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002233/0.4403, allocations: 183.2 kB / 0.6659 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.679e-06/0.4403, allocations: 1.156 kB / 0.6659 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.4403, allocations: 2.438 kB / 0.6659 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.403e-05/0.4404, allocations: 26.02 kB / 0.6659 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.327e-05/0.4404, allocations: 40.98 kB / 0.666 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005087/0.4409, allocations: 0.9026 MB / 0.6669 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.965e-05/0.441, allocations: 170.6 kB / 0.667 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.782e-05/0.441, allocations: 80.14 kB / 0.6671 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.805e-05/0.4411, allocations: 76.66 kB / 0.6672 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.4411, allocations: 115.1 kB / 0.6673 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 1.192e-06/0.4411, allocations: 0 / 0.6673 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 7.829e-05/0.4412, allocations: 35.5 kB / 0.6673 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.874e-05/0.4413, allocations: 394.1 kB / 0.6677 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.4414, allocations: 160.2 kB / 0.6678 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/0.4414, allocations: 31.14 kB / 0.6679 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.254e-05/0.4415, allocations: 159.2 kB / 0.668 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.972e-06/0.4415, allocations: 5.5 kB / 0.668 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.176e-05/0.4416, allocations: 53.66 kB / 0.6681 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.722e-05/0.4416, allocations: 325.6 kB / 0.6684 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.852e-05/0.4417, allocations: 27.02 kB / 0.6684 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001249/0.4418, allocations: 225.6 kB / 0.6686 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000146/0.4419, allocations: 204.8 kB / 0.6688 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.4419, allocations: 1.344 kB / 0.6688 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003005/0.4423, allocations: 193.3 kB / 0.669 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.4423, allocations: 7.219 kB / 0.669 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.4423, allocations: 4.25 kB / 0.669 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/0.4423, allocations: 11.12 kB / 0.669 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.4424, allocations: 37.33 kB / 0.6691 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/0.4425, allocations: 10.7 kB / 0.6691 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.878e-05/0.4426, allocations: 26.19 kB / 0.6691 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.502e-05/0.4426, allocations: 14.59 kB / 0.6691 GB, free: 2.734 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 8.388e-05/0.4427, allocations: 220.7 kB / 0.6693 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.103e-05/0.4427, allocations: 111.7 kB / 0.6694 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.714e-05/0.4428, allocations: 111.9 kB / 0.6695 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.477e-05/0.4428, allocations: 185.6 kB / 0.6697 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.513e-05/0.4428, allocations: 178 kB / 0.6699 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.487e-05/0.4428, allocations: 192.1 kB / 0.6701 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000135/0.443, allocations: 412.1 kB / 0.6705 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.577e-05/0.443, allocations: 110.8 kB / 0.6706 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.709e-05/0.443, allocations: 112.9 kB / 0.6707 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.38e-05/0.4431, allocations: 177.6 kB / 0.6709 GB, free: 0.875 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.44e-05/0.4431, allocations: 185.4 kB / 0.671 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.071e-05/0.4431, allocations: 182 kB / 0.6712 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.267e-05/0.4431, allocations: 180.2 kB / 0.6714 GB, free: 328 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.9e-05/0.4432, allocations: 312.6 kB / 0.6717 GB, free: 0 / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.845e-05/0.4433, allocations: 188.6 kB / 0.6719 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.972e-05/0.4434, allocations: 194.8 kB / 0.672 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.4435, allocations: 107.8 kB / 0.6721 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.928e-05/0.4436, allocations: 177.4 kB / 0.6723 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.898e-05/0.4436, allocations: 101 kB / 0.6724 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.087e-05/0.4437, allocations: 114.7 kB / 0.6725 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4437, allocations: 1.625 kB / 0.6725 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003119/0.444, allocations: 24.94 kB / 0.6725 GB, free: 15.11 MB / 0.5137 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.0004569/0.4445, allocations: 0.8314 MB / 0.6734 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001511/0.4447, allocations: 80.5 kB / 0.6734 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.4447, allocations: 0 / 0.6734 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.897e-06/0.4447, allocations: 5.219 kB / 0.6734 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003555/0.445, allocations: 470.6 kB / 0.6739 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000486/0.4455, allocations: 274 kB / 0.6741 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002483/0.4458, allocations: 0.6912 MB / 0.6748 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000213/0.446, allocations: 64.08 kB / 0.6749 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.372e-05/0.4461, allocations: 18.31 kB / 0.6749 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of SimCode: time 2.11e-07/0.4461, allocations: 0 / 0.6749 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01846/0.4645, allocations: 2.937 MB / 0.6778 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.546/8.01, allocations: 8.219 kB / 0.6778 GB, free: 11.27 MB / 0.5137 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)