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.001068/0.001068, allocations: 108 kB / 15.6 MB, free: 132 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.001047/0.001047, allocations: 195.5 kB / 16.53 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.344/1.344, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7572/0.7572, allocations: 132.2 MB / 422.6 MB, free: 1.762 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 64.34 kB / 0.5019 GB, free: 3.711 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3867/0.3881, allocations: 80.2 MB / 0.5802 GB, free: 4.426 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001825/0.39, allocations: 0.5993 MB / 0.5808 GB, free: 4.051 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003055/0.3903, allocations: 65.58 kB / 0.5808 GB, free: 4.016 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.141e-05/0.3904, allocations: 5.406 kB / 0.5809 GB, free: 4.012 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.683e-05/0.3904, allocations: 0.8438 kB / 0.5809 GB, free: 4.012 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.419e-05/0.3904, allocations: 9.797 kB / 0.5809 GB, free: 4.008 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002666/0.3907, allocations: 43.77 kB / 0.5809 GB, free: 3.992 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.983e-05/0.3908, allocations: 29.58 kB / 0.5809 GB, free: 3.98 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.094e-05/0.3908, allocations: 3.344 kB / 0.5809 GB, free: 3.98 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.519e-05/0.3909, allocations: 13.98 kB / 0.581 GB, free: 3.977 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001759/0.391, allocations: 63.41 kB / 0.581 GB, free: 3.957 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.277e-05/0.3911, allocations: 5.375 kB / 0.581 GB, free: 3.953 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.12e-05/0.3912, allocations: 35.86 kB / 0.581 GB, free: 3.945 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.678e-05/0.3912, allocations: 19.3 kB / 0.5811 GB, free: 3.938 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.758e-05/0.3912, allocations: 19.48 kB / 0.5811 GB, free: 3.926 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001255/0.3914, allocations: 66.3 kB / 0.5812 GB, free: 3.902 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3914, allocations: 0.9688 kB / 0.5812 GB, free: 3.902 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3914, allocations: 0 / 0.5812 GB, free: 3.902 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.459e-06/0.3914, allocations: 0 / 0.5812 GB, free: 3.902 MB / 430.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.0002651/0.3917, allocations: 360.3 kB / 0.5815 GB, free: 3.531 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.3917, allocations: 10.12 kB / 0.5815 GB, free: 3.531 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.143e-05/0.3917, allocations: 45.61 kB / 0.5815 GB, free: 3.484 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.3e-05/0.3918, allocations: 9.031 kB / 0.5816 GB, free: 3.48 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.487e-05/0.3918, allocations: 170.5 kB / 0.5817 GB, free: 3.277 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.205e-06/0.3918, allocations: 5.641 kB / 0.5817 GB, free: 3.273 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.072e-05/0.3919, allocations: 2.938 kB / 0.5817 GB, free: 3.273 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002172/0.3921, allocations: 185.8 kB / 0.5819 GB, free: 3.164 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.3921, allocations: 0 / 0.5819 GB, free: 3.164 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.3921, allocations: 2.312 kB / 0.5819 GB, free: 3.164 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.257e-05/0.3922, allocations: 23.89 kB / 0.5819 GB, free: 3.16 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.042e-05/0.3922, allocations: 40.41 kB / 0.582 GB, free: 3.148 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000446/0.3927, allocations: 0.8971 MB / 0.5828 GB, free: 2.273 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.469e-05/0.3927, allocations: 175.9 kB / 0.583 GB, free: 2.094 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.262e-05/0.3928, allocations: 84.08 kB / 0.5831 GB, free: 2.008 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.554e-06/0.3928, allocations: 79.28 kB / 0.5832 GB, free: 1.93 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.153e-05/0.3928, allocations: 112.6 kB / 0.5833 GB, free: 1.812 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.3928, allocations: 0.875 kB / 0.5833 GB, free: 1.812 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 6.512e-05/0.3929, allocations: 35.5 kB / 0.5833 GB, free: 1.777 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.923e-05/0.3929, allocations: 398.8 kB / 0.5837 GB, free: 1.316 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.3931, allocations: 166.7 kB / 0.5838 GB, free: 1.195 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/0.3931, allocations: 27.34 kB / 0.5839 GB, free: 1.164 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.641e-05/0.3931, allocations: 154.6 kB / 0.584 GB, free: 1.023 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.939e-06/0.3931, allocations: 2.641 kB / 0.584 GB, free: 1.023 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.782e-05/0.3932, allocations: 51.98 kB / 0.5841 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.004e-05/0.3933, allocations: 324.2 kB / 0.5844 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.373e-05/0.3933, allocations: 27.5 kB / 0.5844 GB, free: 0.668 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001158/0.3934, allocations: 224.2 kB / 0.5846 GB, free: 408 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001393/0.3936, allocations: 201.9 kB / 0.5848 GB, free: 192 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.3936, allocations: 1.062 kB / 0.5848 GB, free: 192 kB / 430.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002792/0.3939, allocations: 193.4 kB / 0.585 GB, free: 100 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.3939, allocations: 10.12 kB / 0.585 GB, free: 96 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.3939, allocations: 8.953 kB / 0.585 GB, free: 92 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.3939, allocations: 11.25 kB / 0.585 GB, free: 88 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.394, allocations: 38.36 kB / 0.5851 GB, free: 84 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/0.3941, allocations: 11.53 kB / 0.5851 GB, free: 80 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.528e-05/0.3941, allocations: 26.83 kB / 0.5851 GB, free: 64 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/0.3942, allocations: 9.625 kB / 0.5851 GB, free: 64 kB / 430.1 MB 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.0001309/0.3943, allocations: 215.7 kB / 0.5853 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.69e-05/0.3944, allocations: 115.4 kB / 0.5854 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.71e-05/0.3944, allocations: 118.9 kB / 0.5855 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-05/0.3945, allocations: 177.7 kB / 0.5857 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.178e-05/0.3945, allocations: 188.2 kB / 0.5859 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-05/0.3946, allocations: 177.9 kB / 0.5861 GB, free: 15.08 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002093/0.3948, allocations: 426 kB / 0.5865 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.859e-05/0.3948, allocations: 102.6 kB / 0.5866 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.424e-05/0.3949, allocations: 103.2 kB / 0.5867 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.186e-05/0.3949, allocations: 182.1 kB / 0.5868 GB, free: 14.23 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.379e-05/0.395, allocations: 186.2 kB / 0.587 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.334e-05/0.3951, allocations: 180.7 kB / 0.5872 GB, free: 13.86 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.263e-05/0.3951, allocations: 186.9 kB / 0.5874 GB, free: 13.67 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001179/0.3952, allocations: 310 kB / 0.5877 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.652e-05/0.3953, allocations: 186.2 kB / 0.5878 GB, free: 13.15 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.775e-05/0.3954, allocations: 190.5 kB / 0.588 GB, free: 12.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.819e-05/0.3955, allocations: 104.8 kB / 0.5881 GB, free: 12.86 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.961e-05/0.3955, allocations: 181.8 kB / 0.5883 GB, free: 12.67 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.989e-05/0.3956, allocations: 106.4 kB / 0.5884 GB, free: 12.56 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.97e-05/0.3957, allocations: 117.2 kB / 0.5885 GB, free: 12.48 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3957, allocations: 0 / 0.5885 GB, free: 12.48 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000302/0.396, allocations: 26.66 kB / 0.5885 GB, free: 12.48 MB / 446.1 MB 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.0004216/0.3964, allocations: 0.8364 MB / 0.5893 GB, free: 11.64 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000146/0.3965, allocations: 72.89 kB / 0.5894 GB, free: 11.62 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3966, allocations: 1.125 kB / 0.5894 GB, free: 11.62 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.192e-06/0.3966, allocations: 256 / 0.5894 GB, free: 11.62 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003406/0.3969, allocations: 475 kB / 0.5899 GB, free: 11.17 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004468/0.3974, allocations: 268.7 kB / 0.5901 GB, free: 10.93 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002246/0.3976, allocations: 0.6973 MB / 0.5908 GB, free: 10.23 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001938/0.3978, allocations: 57.94 kB / 0.5909 GB, free: 10.21 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.797e-05/0.3978, allocations: 19.69 kB / 0.5909 GB, free: 10.2 MB / 446.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3978, allocations: 1 kB / 0.5909 GB, free: 10.2 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01875/0.4166, allocations: 2.875 MB / 0.5937 GB, free: 9.762 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.048/7.465, allocations: 5.25 kB / 0.5937 GB, free: 9.762 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_IsMonotonic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_IsMonotonic.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)