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.006652/0.006652, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.002092/0.002092, allocations: 201.9 kB / 16.68 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.544/1.544, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9846/0.9846, allocations: 135.6 MB / 426.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003193/0.003193, allocations: 67.89 kB / 0.5858 GB, free: 3.184 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4225/0.4257, allocations: 81.03 MB / 0.6649 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001463/0.4272, allocations: 0.5882 MB / 0.6655 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003124/0.4276, allocations: 79.88 kB / 0.6656 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.783e-05/0.4276, allocations: 0 / 0.6656 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.175e-05/0.4276, allocations: 0 / 0.6656 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.215e-05/0.4277, allocations: 7.719 kB / 0.6656 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002855/0.428, allocations: 46.19 kB / 0.6656 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.038e-05/0.428, allocations: 23.67 kB / 0.6656 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.185e-05/0.4281, allocations: 14.66 kB / 0.6657 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.98e-05/0.4281, allocations: 11 kB / 0.6657 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000165/0.4283, allocations: 66.44 kB / 0.6657 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/0.4283, allocations: 1.094 kB / 0.6657 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.074e-05/0.4284, allocations: 33.06 kB / 0.6658 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.661e-05/0.4285, allocations: 21.56 kB / 0.6658 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.847e-05/0.4285, allocations: 22.09 kB / 0.6658 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001186/0.4286, allocations: 65 kB / 0.6659 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.4286, allocations: 1.438 kB / 0.6659 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.443e-06/0.4286, allocations: 0 / 0.6659 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.4286, allocations: 0 / 0.6659 GB, free: 6.281 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.0002674/0.4289, allocations: 368.3 kB / 0.6662 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.4289, allocations: 9.406 kB / 0.6662 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.015e-05/0.429, allocations: 43.33 kB / 0.6663 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.942e-05/0.429, allocations: 7.703 kB / 0.6663 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.44e-05/0.4291, allocations: 171.1 kB / 0.6664 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.705e-06/0.4291, allocations: 384 / 0.6664 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.019e-05/0.4291, allocations: 3.344 kB / 0.6664 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002125/0.4293, allocations: 187.1 kB / 0.6666 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.4293, allocations: 1.062 kB / 0.6666 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.4294, allocations: 2.25 kB / 0.6666 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-05/0.4294, allocations: 22.83 kB / 0.6666 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.997e-05/0.4295, allocations: 41.28 kB / 0.6667 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004372/0.4299, allocations: 0.9025 MB / 0.6676 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.991e-05/0.4299, allocations: 170.7 kB / 0.6677 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.72e-05/0.43, allocations: 84.14 kB / 0.6678 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.184e-05/0.43, allocations: 79.28 kB / 0.6679 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/0.43, allocations: 108.7 kB / 0.668 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.43, allocations: 0 / 0.668 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 7.051e-05/0.4301, allocations: 37.95 kB / 0.668 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.039e-05/0.4302, allocations: 397.9 kB / 0.6684 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.4303, allocations: 163 kB / 0.6686 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.027e-05/0.4303, allocations: 28.17 kB / 0.6686 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.131e-05/0.4304, allocations: 156.2 kB / 0.6687 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.558e-06/0.4304, allocations: 5.375 kB / 0.6687 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.45e-05/0.4304, allocations: 56.72 kB / 0.6688 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.423e-05/0.4305, allocations: 321.1 kB / 0.6691 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.907e-05/0.4305, allocations: 28.95 kB / 0.6691 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001071/0.4306, allocations: 233.4 kB / 0.6694 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.4308, allocations: 197.7 kB / 0.6695 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.4308, allocations: 1.25 kB / 0.6695 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002598/0.4311, allocations: 192.2 kB / 0.6697 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.4311, allocations: 7.25 kB / 0.6697 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.4311, allocations: 5.656 kB / 0.6697 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/0.4311, allocations: 10.06 kB / 0.6698 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.4312, allocations: 37.92 kB / 0.6698 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.4313, allocations: 13.52 kB / 0.6698 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.542e-05/0.4313, allocations: 27.84 kB / 0.6698 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.328e-05/0.4314, allocations: 9.25 kB / 0.6698 GB, free: 2.285 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.39e-05/0.4314, allocations: 219.8 kB / 0.67 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.413e-05/0.4315, allocations: 111.2 kB / 0.6702 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.936e-05/0.4315, allocations: 117 kB / 0.6703 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.199e-05/0.4316, allocations: 184.2 kB / 0.6704 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.236e-05/0.4316, allocations: 182 kB / 0.6706 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-05/0.4316, allocations: 177.9 kB / 0.6708 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001325/0.4317, allocations: 419.6 kB / 0.6712 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-05/0.4318, allocations: 110 kB / 0.6713 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.667e-05/0.4318, allocations: 105 kB / 0.6714 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.421e-05/0.4318, allocations: 181.3 kB / 0.6716 GB, free: 440 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.483e-05/0.4319, allocations: 181.5 kB / 0.6717 GB, free: 252 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.075e-05/0.4319, allocations: 181.6 kB / 0.6719 GB, free: 64 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.051e-05/0.432, allocations: 189.4 kB / 0.6721 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001601/0.4321, allocations: 308.2 kB / 0.6724 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.552e-05/0.4322, allocations: 183.5 kB / 0.6726 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001016/0.4324, allocations: 194.8 kB / 0.6727 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.517e-05/0.4325, allocations: 108.5 kB / 0.6728 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.822e-05/0.4326, allocations: 181.6 kB / 0.673 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.352e-05/0.4326, allocations: 104.9 kB / 0.6731 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.853e-05/0.4327, allocations: 114.8 kB / 0.6732 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.11e-07/0.4327, allocations: 0 / 0.6732 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003076/0.433, allocations: 26.28 kB / 0.6733 GB, free: 14.66 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.0005374/0.4336, allocations: 0.8388 MB / 0.6741 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000156/0.4337, allocations: 72.28 kB / 0.6741 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.4337, allocations: 9.469 kB / 0.6741 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.713e-06/0.4337, allocations: 3.938 kB / 0.6742 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003995/0.4342, allocations: 470.2 kB / 0.6746 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005525/0.4347, allocations: 277.7 kB / 0.6749 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000347/0.4351, allocations: 0.6899 MB / 0.6755 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002318/0.4353, allocations: 60.56 kB / 0.6756 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.902e-05/0.4354, allocations: 21.5 kB / 0.6756 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of SimCode: time 2.91e-07/0.4354, allocations: 5.094 kB / 0.6756 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02566/0.461, allocations: 2.92 MB / 0.6785 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.061/8.522, allocations: 14.38 kB / 0.6785 GB, free: 10.82 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)