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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.7926/0.7926, allocations: 143.4 MB / 158.3 MB, free: 5.785 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 183 kB / 191.5 MB, free: 5.762 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 223.2 MB / 447.7 MB, free: 4.777 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008247/0.0008247, allocations: 88.33 kB / 0.5187 GB, free: 1.137 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001713/0.001713, allocations: 273 kB / 0.6005 GB, free: 48.73 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004617/0.0004616, allocations: 15.69 kB / 0.6929 GB, free: 59.75 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1767/0.1772, allocations: 82.79 MB / 0.7738 GB, free: 13.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1599/0.3371, allocations: 108.4 MB / 0.8796 GB, free: 1.211 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002358/0.3374, allocations: 79.89 kB / 0.8797 GB, free: 1.133 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.3887/0.7261, allocations: 1.18 MB / 0.8809 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.955e-06/0.7262, allocations: 0 / 0.8809 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.432e-05/0.7262, allocations: 1.062 kB / 0.8809 GB, free: 109.1 MB / 0.5417 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.0004684/0.7267, allocations: 346.3 kB / 0.8812 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.13e-05/0.7268, allocations: 12.84 kB / 0.8812 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.176e-05/0.7268, allocations: 41.64 kB / 0.8812 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.646e-05/0.7269, allocations: 4.812 kB / 0.8812 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.917e-05/0.7269, allocations: 167.7 kB / 0.8814 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.727, allocations: 6.484 kB / 0.8814 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.4e-05/0.727, allocations: 3.344 kB / 0.8814 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002887/0.7273, allocations: 157.6 kB / 0.8816 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.7273, allocations: 1.688 kB / 0.8816 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.159e-05/0.7273, allocations: 3.875 kB / 0.8816 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-05/0.7274, allocations: 25.66 kB / 0.8816 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.72e-05/0.7275, allocations: 41.33 kB / 0.8816 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005585/0.728, allocations: 0.8944 MB / 0.8825 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 5.548e-05/0.7281, allocations: 171.9 kB / 0.8827 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.422e-05/0.7281, allocations: 77.8 kB / 0.8827 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/0.7282, allocations: 112.1 kB / 0.8829 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.7282, allocations: 0 / 0.8829 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of matching and sorting (n=0): time 7.731e-05/0.7283, allocations: 43.33 kB / 0.8829 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.145e-05/0.7283, allocations: 385.5 kB / 0.8833 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.7285, allocations: 156.8 kB / 0.8834 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.7285, allocations: 28.39 kB / 0.8834 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.134e-05/0.7286, allocations: 147.3 kB / 0.8836 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.589e-06/0.7286, allocations: 2.969 kB / 0.8836 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.719e-06/0.7286, allocations: 3.75 kB / 0.8836 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 6.91e-05/0.7287, allocations: 324.8 kB / 0.8839 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.965e-05/0.7287, allocations: 24.25 kB / 0.8839 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001295/0.7288, allocations: 224.7 kB / 0.8841 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.323e-05/0.7289, allocations: 70.62 kB / 0.8842 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.7289, allocations: 0 / 0.8842 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002925/0.7292, allocations: 196.4 kB / 0.8844 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.7293, allocations: 6.438 kB / 0.8844 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.7293, allocations: 5.281 kB / 0.8844 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.22e-05/0.7293, allocations: 6.719 kB / 0.8844 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.7295, allocations: 41.67 kB / 0.8844 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.335e-05/0.7295, allocations: 10.53 kB / 0.8845 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.103e-05/0.7296, allocations: 29.62 kB / 0.8845 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.625e-05/0.7296, allocations: 11.14 kB / 0.8845 GB, free: 105.8 MB / 0.5417 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.0001154/0.7297, allocations: 214.7 kB / 0.8847 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.452e-05/0.7298, allocations: 122.8 kB / 0.8848 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.051e-05/0.7298, allocations: 111.3 kB / 0.8849 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-05/0.7299, allocations: 187.3 kB / 0.8851 GB, free: 105.2 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-05/0.7299, allocations: 179.1 kB / 0.8853 GB, free: 105 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.277e-05/0.7299, allocations: 176.3 kB / 0.8854 GB, free: 104.8 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001585/0.7301, allocations: 424.5 kB / 0.8858 GB, free: 104.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.206e-05/0.7301, allocations: 103.7 kB / 0.8859 GB, free: 104.2 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.916e-05/0.7301, allocations: 107.7 kB / 0.886 GB, free: 104.1 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-05/0.7302, allocations: 188.8 kB / 0.8862 GB, free: 104 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.715e-05/0.7302, allocations: 179.3 kB / 0.8864 GB, free: 103.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.661e-05/0.7303, allocations: 180.2 kB / 0.8866 GB, free: 103.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.302e-05/0.7303, allocations: 178.6 kB / 0.8867 GB, free: 103.4 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.034e-05/0.7304, allocations: 319.2 kB / 0.887 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.734e-05/0.7305, allocations: 184.9 kB / 0.8872 GB, free: 102.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.89e-05/0.7305, allocations: 186.8 kB / 0.8874 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.888e-05/0.7306, allocations: 110.5 kB / 0.8875 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.347e-05/0.7307, allocations: 180.2 kB / 0.8877 GB, free: 102.4 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.951e-05/0.7307, allocations: 101 kB / 0.8878 GB, free: 102.3 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 5.582e-05/0.7308, allocations: 121.3 kB / 0.8879 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7308, allocations: 2.625 kB / 0.8879 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000323/0.7311, allocations: 27.91 kB / 0.8879 GB, free: 102.2 MB / 0.5417 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.0003591/0.7315, allocations: 0.834 MB / 0.8887 GB, free: 101.4 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001313/0.7316, allocations: 70.39 kB / 0.8888 GB, free: 101.4 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.7316, allocations: 3.938 kB / 0.8888 GB, free: 101.4 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.483e-06/0.7316, allocations: 1.312 kB / 0.8888 GB, free: 101.4 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002184/0.7318, allocations: 0.5436 MB / 0.8893 GB, free: 100.9 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004615/0.7323, allocations: 283.8 kB / 0.8896 GB, free: 100.6 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001634/0.7325, allocations: 0.6967 MB / 0.8903 GB, free: 99.92 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001736/0.7327, allocations: 59.92 kB / 0.8903 GB, free: 99.91 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.684e-05/0.7327, allocations: 22.47 kB / 0.8904 GB, free: 99.9 MB / 0.5417 GB Notification: Performance of SimCode: time 3.2e-07/0.7327, allocations: 0 / 0.8904 GB, free: 99.9 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01446/0.7472, allocations: 2.773 MB / 0.8931 GB, free: 99.65 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001517/0.7474, allocations: 205.5 kB / 0.8933 GB, free: 99.4 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.607/2.355, allocations: 0 / 0.8933 GB, free: 99.4 MB / 0.5417 GB (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/linux/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)