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.0009973/0.0009973, allocations: 90.44 kB / 15.36 MB, free: 0.7383 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.007958/0.007958, allocations: 172.9 kB / 16.26 MB, free: 6.613 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.288/1.288, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8861/0.8861, allocations: 135.3 MB / 426.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003185/0.0003183, allocations: 8.625 kB / 0.5077 GB, free: 4.652 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1463, allocations: 82.3 MB / 0.5881 GB, free: 2.527 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic): time 0.0006125/0.147, allocations: 335 kB / 0.5884 GB, free: 2.195 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002756/0.1472, allocations: 71.84 kB / 0.5885 GB, free: 2.125 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.579e-05/0.1473, allocations: 0 / 0.5885 GB, free: 2.125 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.193e-05/0.1473, allocations: 0 / 0.5885 GB, free: 2.125 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.627e-05/0.1473, allocations: 11.94 kB / 0.5885 GB, free: 2.113 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001978/0.1476, allocations: 31.95 kB / 0.5885 GB, free: 2.082 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.634e-05/0.1476, allocations: 31.91 kB / 0.5885 GB, free: 2.051 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.202e-05/0.1477, allocations: 0 / 0.5885 GB, free: 2.051 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.263e-05/0.1477, allocations: 15.94 kB / 0.5886 GB, free: 2.035 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001652/0.1479, allocations: 71.91 kB / 0.5886 GB, free: 1.965 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.128e-05/0.1479, allocations: 0 / 0.5886 GB, free: 1.965 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.024e-05/0.148, allocations: 35.95 kB / 0.5887 GB, free: 1.93 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.223e-05/0.148, allocations: 15.94 kB / 0.5887 GB, free: 1.914 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.758e-05/0.148, allocations: 57.55 kB / 0.5887 GB, free: 1.852 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001012/0.1482, allocations: 63.8 kB / 0.5888 GB, free: 1.789 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1482, allocations: 4 kB / 0.5888 GB, free: 1.785 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1482, allocations: 0 / 0.5888 GB, free: 1.785 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.996e-06/0.1482, allocations: 0 / 0.5888 GB, free: 1.785 MB / 494.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.000256/0.1484, allocations: 343.7 kB / 0.5891 GB, free: 1.398 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.1485, allocations: 12.03 kB / 0.5891 GB, free: 1.387 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.537e-05/0.1485, allocations: 38.75 kB / 0.5892 GB, free: 1.34 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.788e-05/0.1486, allocations: 12.84 kB / 0.5892 GB, free: 1.328 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.526e-05/0.1486, allocations: 180.2 kB / 0.5894 GB, free: 1.113 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.332e-06/0.1486, allocations: 384 / 0.5894 GB, free: 1.113 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/0.1487, allocations: 8.359 kB / 0.5894 GB, free: 1.105 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002058/0.1489, allocations: 177.1 kB / 0.5895 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.59e-06/0.1489, allocations: 0 / 0.5895 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.1489, allocations: 0 / 0.5895 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.113e-05/0.1489, allocations: 31.97 kB / 0.5896 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.39e-05/0.149, allocations: 43.78 kB / 0.5896 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005617/0.1496, allocations: 0.8946 MB / 0.5905 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.89e-05/0.1497, allocations: 177.1 kB / 0.5906 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.701e-05/0.1497, allocations: 80.14 kB / 0.5907 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.229e-05/0.1497, allocations: 75.28 kB / 0.5908 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.88e-05/0.1498, allocations: 117.8 kB / 0.5909 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.1498, allocations: 0 / 0.5909 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 6.54e-05/0.1499, allocations: 37.61 kB / 0.5909 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001245/0.15, allocations: 387.7 kB / 0.5913 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.1501, allocations: 175.1 kB / 0.5915 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.1501, allocations: 29.7 kB / 0.5915 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.289e-05/0.1502, allocations: 143.2 kB / 0.5916 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.008e-06/0.1502, allocations: 4 kB / 0.5916 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.884e-05/0.1503, allocations: 25.7 kB / 0.5917 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.688e-05/0.1504, allocations: 326.8 kB / 0.592 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.95e-05/0.1504, allocations: 23.98 kB / 0.592 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001504/0.1506, allocations: 214.5 kB / 0.5922 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001656/0.1507, allocations: 197.8 kB / 0.5924 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.1507, allocations: 4 kB / 0.5924 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002744/0.151, allocations: 189.1 kB / 0.5926 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.151, allocations: 8 kB / 0.5926 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.1511, allocations: 4 kB / 0.5926 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.1511, allocations: 12.59 kB / 0.5926 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.1512, allocations: 39.92 kB / 0.5926 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/0.1512, allocations: 19.92 kB / 0.5927 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.727e-05/0.1513, allocations: 31.69 kB / 0.5927 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.1513, allocations: 8 kB / 0.5927 GB, free: 13.29 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.000108/0.1514, allocations: 213 kB / 0.5929 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.07e-05/0.1515, allocations: 112.9 kB / 0.593 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.289e-05/0.1515, allocations: 112.8 kB / 0.5931 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.165e-05/0.1516, allocations: 192.2 kB / 0.5933 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.805e-05/0.1517, allocations: 181.9 kB / 0.5935 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.941e-05/0.1517, allocations: 184.3 kB / 0.5937 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001984/0.1519, allocations: 413.2 kB / 0.594 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.784e-05/0.152, allocations: 108.9 kB / 0.5941 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.375e-05/0.152, allocations: 105 kB / 0.5942 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.694e-05/0.152, allocations: 192.1 kB / 0.5944 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.644e-05/0.1521, allocations: 176.3 kB / 0.5946 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.752e-05/0.1521, allocations: 180.2 kB / 0.5948 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-05/0.1522, allocations: 180.2 kB / 0.5949 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001115/0.1523, allocations: 315.8 kB / 0.5952 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.289e-05/0.1524, allocations: 186 kB / 0.5954 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.541e-05/0.1525, allocations: 192.5 kB / 0.5956 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.62e-05/0.1525, allocations: 108.9 kB / 0.5957 GB, free: 9.988 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.321e-05/0.1526, allocations: 180.3 kB / 0.5959 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.89e-05/0.1526, allocations: 108.9 kB / 0.596 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.831e-05/0.1527, allocations: 117.3 kB / 0.5961 GB, free: 9.578 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1527, allocations: 4 kB / 0.5961 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003007/0.153, allocations: 24 kB / 0.5961 GB, free: 9.551 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.0003818/0.1534, allocations: 0.8429 MB / 0.5969 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001235/0.1535, allocations: 75.72 kB / 0.597 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.1536, allocations: 4 kB / 0.597 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.473e-06/0.1536, allocations: 0 / 0.597 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003642/0.1539, allocations: 0.5393 MB / 0.5976 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004302/0.1544, allocations: 284.2 kB / 0.5978 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002088/0.1546, allocations: 0.6971 MB / 0.5985 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001817/0.1548, allocations: 52.59 kB / 0.5986 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.533e-05/0.1548, allocations: 15.44 kB / 0.5986 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of SimCode: time 3.11e-07/0.1548, allocations: 4 kB / 0.5986 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2111/0.3659, allocations: 2.807 MB / 0.6013 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002833/0.3663, allocations: 200.9 kB / 0.6015 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.83/2.196, allocations: 0 / 0.6015 GB, free: 4.055 MB / 0.4981 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_IsMonotonic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_IsMonotonic.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)