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.0008042/0.0008042, allocations: 91.22 kB / 15.06 MB, free: 1.094 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.0008121/0.0008121, allocations: 172.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.32/1.32, allocations: 223.3 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9355/0.9355, allocations: 135.3 MB / 426.3 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003085/0.0003086, allocations: 13.25 kB / 0.5071 GB, free: 5.031 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1429, allocations: 82.31 MB / 0.5875 GB, free: 2.887 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic): time 0.0006045/0.1436, allocations: 319.1 kB / 0.5878 GB, free: 2.57 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002512/0.1438, allocations: 71.88 kB / 0.5879 GB, free: 2.5 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.821e-05/0.1439, allocations: 4 kB / 0.5879 GB, free: 2.496 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.974e-05/0.1439, allocations: 0 / 0.5879 GB, free: 2.496 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.998e-05/0.1439, allocations: 7.938 kB / 0.5879 GB, free: 2.488 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002463/0.1442, allocations: 31.95 kB / 0.5879 GB, free: 2.457 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.698e-05/0.1443, allocations: 31.89 kB / 0.5879 GB, free: 2.426 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.606e-05/0.1443, allocations: 4 kB / 0.5879 GB, free: 2.422 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.848e-05/0.1444, allocations: 12 kB / 0.5879 GB, free: 2.41 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002039/0.1446, allocations: 79.84 kB / 0.588 GB, free: 2.332 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.314e-05/0.1446, allocations: 8 kB / 0.588 GB, free: 2.324 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.957e-05/0.1447, allocations: 35.91 kB / 0.5881 GB, free: 2.289 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.114e-05/0.1447, allocations: 15.98 kB / 0.5881 GB, free: 2.273 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.867e-05/0.1448, allocations: 33.64 kB / 0.5881 GB, free: 2.234 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.638e-05/0.1449, allocations: 43.94 kB / 0.5881 GB, free: 2.191 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1449, allocations: 0 / 0.5881 GB, free: 2.191 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1449, allocations: 0 / 0.5881 GB, free: 2.191 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.1449, allocations: 0 / 0.5881 GB, free: 2.191 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.0003147/0.1452, allocations: 343.5 kB / 0.5885 GB, free: 1.809 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.1453, allocations: 12.03 kB / 0.5885 GB, free: 1.797 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.31e-05/0.1453, allocations: 42.56 kB / 0.5885 GB, free: 1.746 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.081e-05/0.1453, allocations: 7.906 kB / 0.5885 GB, free: 1.738 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001009/0.1455, allocations: 174.9 kB / 0.5887 GB, free: 1.527 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.1455, allocations: 4 kB / 0.5887 GB, free: 1.523 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.217e-05/0.1455, allocations: 3.984 kB / 0.5887 GB, free: 1.52 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002465/0.1457, allocations: 173.2 kB / 0.5889 GB, free: 1.324 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.1458, allocations: 4 kB / 0.5889 GB, free: 1.32 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.1458, allocations: 3.984 kB / 0.5889 GB, free: 1.316 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.487e-05/0.1458, allocations: 27.97 kB / 0.5889 GB, free: 1.289 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.733e-05/0.1459, allocations: 35.91 kB / 0.5889 GB, free: 1.254 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006526/0.1466, allocations: 0.8946 MB / 0.5898 GB, free: 296 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.981e-05/0.1466, allocations: 173.1 kB / 0.59 GB, free: 112 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.711e-05/0.1467, allocations: 92 kB / 0.5901 GB, free: 16 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.079e-05/0.1467, allocations: 83.27 kB / 0.5901 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.749e-05/0.1468, allocations: 109.8 kB / 0.5903 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.1468, allocations: 0 / 0.5903 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 7.198e-05/0.1469, allocations: 37.61 kB / 0.5903 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001294/0.147, allocations: 383.7 kB / 0.5907 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001404/0.1471, allocations: 171.7 kB / 0.5908 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.304e-05/0.1472, allocations: 29.7 kB / 0.5908 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.997e-05/0.1473, allocations: 151.3 kB / 0.591 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.541e-06/0.1473, allocations: 7.984 kB / 0.591 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.933e-06/0.1473, allocations: 4 kB / 0.591 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.844e-05/0.1474, allocations: 318.7 kB / 0.5913 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.753e-05/0.1474, allocations: 32.28 kB / 0.5913 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001498/0.1476, allocations: 223.3 kB / 0.5915 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.337e-05/0.1477, allocations: 61.5 kB / 0.5916 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.1477, allocations: 0 / 0.5916 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002684/0.1479, allocations: 189.7 kB / 0.5918 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.148, allocations: 4.062 kB / 0.5918 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.148, allocations: 12 kB / 0.5918 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.148, allocations: 7.984 kB / 0.5918 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.1481, allocations: 39.92 kB / 0.5918 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.1481, allocations: 7.938 kB / 0.5919 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.91e-05/0.1482, allocations: 31.69 kB / 0.5919 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.1482, allocations: 12 kB / 0.5919 GB, free: 13.92 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001081/0.1484, allocations: 216.9 kB / 0.5921 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.107e-05/0.1484, allocations: 116.9 kB / 0.5922 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.293e-05/0.1485, allocations: 120.8 kB / 0.5923 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.496e-05/0.1485, allocations: 176.3 kB / 0.5925 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.651e-05/0.1486, allocations: 176.3 kB / 0.5927 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-05/0.1486, allocations: 184.2 kB / 0.5928 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001968/0.1488, allocations: 421.2 kB / 0.5932 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.217e-05/0.1489, allocations: 117 kB / 0.5934 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.522e-05/0.1489, allocations: 101 kB / 0.5935 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.192e-05/0.149, allocations: 176.4 kB / 0.5936 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.079e-05/0.149, allocations: 188.2 kB / 0.5938 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.792e-05/0.1491, allocations: 184.3 kB / 0.594 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.705e-05/0.1491, allocations: 188.2 kB / 0.5942 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001099/0.1492, allocations: 307.7 kB / 0.5944 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.125e-05/0.1493, allocations: 186 kB / 0.5946 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.225e-05/0.1494, allocations: 184.2 kB / 0.5948 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.673e-05/0.1495, allocations: 108.9 kB / 0.5949 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.223e-05/0.1495, allocations: 180.4 kB / 0.5951 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-05/0.1496, allocations: 112.9 kB / 0.5952 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.773e-05/0.1496, allocations: 117.9 kB / 0.5953 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.1497, allocations: 0 / 0.5953 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003051/0.15, allocations: 27.98 kB / 0.5953 GB, free: 10.18 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003747/0.1503, allocations: 0.8281 MB / 0.5961 GB, free: 9.328 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001343/0.1505, allocations: 68.91 kB / 0.5962 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1505, allocations: 4 kB / 0.5962 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.625e-06/0.1505, allocations: 4.125 kB / 0.5962 GB, free: 9.254 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003395/0.1509, allocations: 0.538 MB / 0.5967 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004433/0.1513, allocations: 280.2 kB / 0.597 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002103/0.1515, allocations: 0.7009 MB / 0.5977 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001825/0.1517, allocations: 56.58 kB / 0.5977 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.569e-05/0.1517, allocations: 19.44 kB / 0.5978 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.1518, allocations: 0 / 0.5978 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01166/0.1634, allocations: 2.765 MB / 0.6005 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002509/0.1637, allocations: 182 kB / 0.6006 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.619/1.782, allocations: 4 kB / 0.6006 GB, free: 4.77 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/linux/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) Environment - environmentSimulation: