Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="BuildingSystems_BuildingSystems_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.0008438/0.0008438, allocations: 90.52 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.004715/0.004715, allocations: 171.1 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.213/1.213, allocations: 223.2 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001685/0.001685, allocations: 270.6 kB / 291.7 MB, free: 1.863 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8686/0.8686, allocations: 169.5 MB / 0.5004 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004372/0.0004372, allocations: 17.41 kB / 0.5988 GB, free: 28.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1277, allocations: 88.54 MB / 0.6852 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic): time 0.000562/0.1283, allocations: 321.4 kB / 0.6856 GB, free: 14.62 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000255/0.1286, allocations: 80.91 kB / 0.6856 GB, free: 14.54 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.458e-05/0.1286, allocations: 3.938 kB / 0.6856 GB, free: 14.54 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.037e-05/0.1287, allocations: 0.5 kB / 0.6856 GB, free: 14.54 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.575e-05/0.1287, allocations: 8.688 kB / 0.6856 GB, free: 14.53 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001861/0.1289, allocations: 36.52 kB / 0.6857 GB, free: 14.49 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.104e-05/0.129, allocations: 28.86 kB / 0.6857 GB, free: 14.46 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.382e-05/0.129, allocations: 4 kB / 0.6857 GB, free: 14.46 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.341e-05/0.129, allocations: 13.72 kB / 0.6857 GB, free: 14.45 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001521/0.1292, allocations: 71.8 kB / 0.6858 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.145e-05/0.1292, allocations: 3.984 kB / 0.6858 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.726e-05/0.1293, allocations: 39.95 kB / 0.6858 GB, free: 14.34 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.785e-05/0.1293, allocations: 12 kB / 0.6858 GB, free: 14.32 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.916e-05/0.1294, allocations: 54.47 kB / 0.6859 GB, free: 14.27 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.707e-05/0.1295, allocations: 63.8 kB / 0.686 GB, free: 14.2 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.1295, allocations: 3.469 kB / 0.686 GB, free: 14.2 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1295, allocations: 0 / 0.686 GB, free: 14.2 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.096e-06/0.1295, allocations: 0 / 0.686 GB, free: 14.2 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.0002381/0.1297, allocations: 351.7 kB / 0.6863 GB, free: 13.81 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.189e-05/0.1298, allocations: 8.031 kB / 0.6863 GB, free: 13.8 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.693e-05/0.1298, allocations: 42.73 kB / 0.6863 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.319e-05/0.1298, allocations: 4.938 kB / 0.6863 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.79e-05/0.1299, allocations: 172.2 kB / 0.6865 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.265e-06/0.1299, allocations: 5 kB / 0.6865 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.765e-06/0.1299, allocations: 384 / 0.6865 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001955/0.1301, allocations: 186.1 kB / 0.6867 GB, free: 13.33 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.242e-06/0.1302, allocations: 5.578 kB / 0.6867 GB, free: 13.33 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.1302, allocations: 4 kB / 0.6867 GB, free: 13.32 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.082e-05/0.1302, allocations: 27.97 kB / 0.6867 GB, free: 13.3 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.808e-05/0.1303, allocations: 38.31 kB / 0.6868 GB, free: 13.26 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005149/0.1308, allocations: 0.9041 MB / 0.6876 GB, free: 12.29 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.858e-05/0.1309, allocations: 170.8 kB / 0.6878 GB, free: 12.11 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.479e-05/0.1309, allocations: 80.14 kB / 0.6879 GB, free: 12.03 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/0.1309, allocations: 75.81 kB / 0.688 GB, free: 11.96 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/0.131, allocations: 120.4 kB / 0.6881 GB, free: 11.83 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 7.92e-07/0.131, allocations: 0 / 0.6881 GB, free: 11.83 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 5.874e-05/0.131, allocations: 33.61 kB / 0.6881 GB, free: 11.79 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00012/0.1312, allocations: 387.7 kB / 0.6885 GB, free: 11.34 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.1313, allocations: 167.9 kB / 0.6886 GB, free: 11.17 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.1313, allocations: 37.64 kB / 0.6887 GB, free: 11.13 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.732e-05/0.1314, allocations: 143.1 kB / 0.6888 GB, free: 10.98 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.278e-06/0.1314, allocations: 4 kB / 0.6888 GB, free: 10.98 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.774e-05/0.1314, allocations: 29.64 kB / 0.6888 GB, free: 10.95 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.39e-05/0.1315, allocations: 323.5 kB / 0.6892 GB, free: 10.62 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.426e-05/0.1315, allocations: 23.98 kB / 0.6892 GB, free: 10.6 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000138/0.1317, allocations: 222 kB / 0.6894 GB, free: 10.29 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001575/0.1318, allocations: 197.8 kB / 0.6896 GB, free: 10.03 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.1319, allocations: 0 / 0.6896 GB, free: 10.03 MB / 494.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002499/0.1321, allocations: 197.2 kB / 0.6898 GB, free: 9.832 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.1321, allocations: 8 kB / 0.6898 GB, free: 9.824 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.1321, allocations: 4 kB / 0.6898 GB, free: 9.82 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.1322, allocations: 7.938 kB / 0.6898 GB, free: 9.812 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.1323, allocations: 43.92 kB / 0.6898 GB, free: 9.77 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.1323, allocations: 11.92 kB / 0.6898 GB, free: 9.758 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.54e-05/0.1324, allocations: 24.38 kB / 0.6899 GB, free: 9.734 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.1324, allocations: 16 kB / 0.6899 GB, free: 9.719 MB / 494.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 9.581e-05/0.1325, allocations: 210.3 kB / 0.6901 GB, free: 9.504 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.608e-05/0.1326, allocations: 116.9 kB / 0.6902 GB, free: 9.383 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.004e-05/0.1326, allocations: 112.8 kB / 0.6903 GB, free: 9.262 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.033e-05/0.1326, allocations: 180.2 kB / 0.6905 GB, free: 9.078 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.916e-05/0.1327, allocations: 192.2 kB / 0.6906 GB, free: 8.883 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.43e-05/0.1327, allocations: 180.3 kB / 0.6908 GB, free: 8.699 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001767/0.1329, allocations: 413.2 kB / 0.6912 GB, free: 8.238 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.603e-05/0.133, allocations: 108.9 kB / 0.6913 GB, free: 8.125 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.884e-05/0.133, allocations: 109 kB / 0.6914 GB, free: 8.012 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.332e-05/0.133, allocations: 180.2 kB / 0.6916 GB, free: 7.828 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.215e-05/0.1331, allocations: 180.3 kB / 0.6918 GB, free: 7.645 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.389e-05/0.1331, allocations: 184.2 kB / 0.6919 GB, free: 7.457 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.437e-05/0.1332, allocations: 184.2 kB / 0.6921 GB, free: 7.27 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.919e-05/0.1333, allocations: 316.2 kB / 0.6924 GB, free: 6.938 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.772e-05/0.1334, allocations: 190 kB / 0.6926 GB, free: 6.727 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.661e-05/0.1334, allocations: 176.5 kB / 0.6928 GB, free: 6.547 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.431e-05/0.1335, allocations: 120.8 kB / 0.6929 GB, free: 6.422 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.661e-05/0.1335, allocations: 180.3 kB / 0.6931 GB, free: 6.238 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.727e-05/0.1336, allocations: 104.9 kB / 0.6932 GB, free: 6.129 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.878e-05/0.1336, allocations: 117.5 kB / 0.6933 GB, free: 6.016 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1336, allocations: 4 kB / 0.6933 GB, free: 6.012 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002701/0.1339, allocations: 28 kB / 0.6933 GB, free: 5.984 MB / 494.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.0003285/0.1343, allocations: 0.8242 MB / 0.6941 GB, free: 5.133 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001142/0.1344, allocations: 79.97 kB / 0.6942 GB, free: 5.055 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1344, allocations: 0 / 0.6942 GB, free: 5.055 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.735e-06/0.1344, allocations: 4.094 kB / 0.6942 GB, free: 5.051 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003104/0.1347, allocations: 0.5333 MB / 0.6947 GB, free: 4.516 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003841/0.1351, allocations: 292.1 kB / 0.695 GB, free: 4.191 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001902/0.1353, allocations: 0.6971 MB / 0.6957 GB, free: 3.469 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001609/0.1355, allocations: 52.59 kB / 0.6957 GB, free: 3.418 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.457e-05/0.1355, allocations: 23.42 kB / 0.6957 GB, free: 3.395 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1355, allocations: 0 / 0.6957 GB, free: 3.395 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.817/2.952, allocations: 2.827 MB / 0.6985 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002406/2.953, allocations: 219.8 kB / 0.6987 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.486/4.439, allocations: 0 / 0.6987 GB, free: 0.4922 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_IsMonotonic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_IsMonotonic.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)