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: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 108.5 kB / 16.37 MB, free: 6.48 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.0009919/0.000992, allocations: 193.1 kB / 17.31 MB, free: 5.82 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.257/1.257, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002054/0.002054, allocations: 274.9 kB / 291.4 MB, free: 14.51 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8944/0.8944, allocations: 169.3 MB / 0.4989 GB, free: 4.477 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001671/0.001671, allocations: 88.98 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1466, allocations: 86.97 MB / 0.6816 GB, free: 7.461 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001612/0.1483, allocations: 0.5914 MB / 0.6822 GB, free: 6.867 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002759/0.1486, allocations: 79.91 kB / 0.6823 GB, free: 6.789 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.996e-05/0.1486, allocations: 0 / 0.6823 GB, free: 6.789 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.227e-05/0.1486, allocations: 3.938 kB / 0.6823 GB, free: 6.785 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.73e-05/0.1487, allocations: 4 kB / 0.6823 GB, free: 6.781 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002408/0.1489, allocations: 43.88 kB / 0.6823 GB, free: 6.738 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.552e-05/0.149, allocations: 27.97 kB / 0.6823 GB, free: 6.711 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.731e-05/0.149, allocations: 8 kB / 0.6824 GB, free: 6.703 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.229e-05/0.149, allocations: 15.98 kB / 0.6824 GB, free: 6.688 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001669/0.1492, allocations: 63.88 kB / 0.6824 GB, free: 6.625 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.102e-05/0.1492, allocations: 4 kB / 0.6824 GB, free: 6.621 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.305e-05/0.1493, allocations: 39.89 kB / 0.6825 GB, free: 6.582 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.102e-05/0.1494, allocations: 19.92 kB / 0.6825 GB, free: 6.562 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.751e-05/0.1494, allocations: 19.88 kB / 0.6825 GB, free: 6.543 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001052/0.1495, allocations: 63.8 kB / 0.6826 GB, free: 6.48 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.1495, allocations: 0 / 0.6826 GB, free: 6.48 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1495, allocations: 0 / 0.6826 GB, free: 6.48 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.1495, allocations: 4 kB / 0.6826 GB, free: 6.477 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.0003/0.1498, allocations: 363.5 kB / 0.6829 GB, free: 6.07 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.89e-05/0.1499, allocations: 8.031 kB / 0.6829 GB, free: 6.062 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.48e-05/0.1499, allocations: 8.844 kB / 0.6829 GB, free: 6.055 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.259e-05/0.15, allocations: 168.3 kB / 0.6831 GB, free: 5.852 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.15, allocations: 8.312 kB / 0.6831 GB, free: 5.844 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.626e-06/0.15, allocations: 4.359 kB / 0.6831 GB, free: 5.84 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000202/0.1502, allocations: 179.5 kB / 0.6833 GB, free: 5.641 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.1503, allocations: 0 / 0.6833 GB, free: 5.641 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.1503, allocations: 7.938 kB / 0.6833 GB, free: 5.633 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.342e-05/0.1503, allocations: 23.97 kB / 0.6833 GB, free: 5.609 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.919e-05/0.1504, allocations: 39.91 kB / 0.6833 GB, free: 5.57 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005711/0.151, allocations: 0.9023 MB / 0.6842 GB, free: 4.598 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.929e-05/0.151, allocations: 169.1 kB / 0.6844 GB, free: 4.422 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.556e-05/0.1511, allocations: 80.14 kB / 0.6845 GB, free: 4.34 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.135e-05/0.1511, allocations: 75.28 kB / 0.6845 GB, free: 4.266 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.08e-05/0.1512, allocations: 121.8 kB / 0.6847 GB, free: 4.137 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 9.61e-07/0.1512, allocations: 0 / 0.6847 GB, free: 4.137 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 6.539e-05/0.1512, allocations: 33.61 kB / 0.6847 GB, free: 4.098 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001429/0.1514, allocations: 391.7 kB / 0.6851 GB, free: 3.641 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/0.1515, allocations: 168.5 kB / 0.6852 GB, free: 3.469 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.1515, allocations: 29.7 kB / 0.6853 GB, free: 3.434 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.907e-05/0.1516, allocations: 147.1 kB / 0.6854 GB, free: 3.285 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.158e-06/0.1516, allocations: 4 kB / 0.6854 GB, free: 3.281 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.425e-05/0.1517, allocations: 57.55 kB / 0.6854 GB, free: 3.219 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.693e-05/0.1518, allocations: 322.8 kB / 0.6858 GB, free: 2.895 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.525e-05/0.1518, allocations: 27.97 kB / 0.6858 GB, free: 2.867 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001475/0.152, allocations: 219.3 kB / 0.686 GB, free: 2.559 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001737/0.1522, allocations: 209.7 kB / 0.6862 GB, free: 2.289 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.1522, allocations: 0 / 0.6862 GB, free: 2.289 MB / 494.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002612/0.1524, allocations: 189.6 kB / 0.6864 GB, free: 2.098 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.1525, allocations: 8 kB / 0.6864 GB, free: 2.09 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.1525, allocations: 4 kB / 0.6864 GB, free: 2.086 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.276e-05/0.1525, allocations: 11.94 kB / 0.6864 GB, free: 2.074 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.1526, allocations: 35.92 kB / 0.6864 GB, free: 2.039 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.1526, allocations: 8 kB / 0.6864 GB, free: 2.031 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.593e-05/0.1527, allocations: 31.62 kB / 0.6865 GB, free: 2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.1527, allocations: 12 kB / 0.6865 GB, free: 1.988 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 0.0001139/0.1528, allocations: 221.3 kB / 0.6867 GB, free: 1.762 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.835e-05/0.1529, allocations: 112.9 kB / 0.6868 GB, free: 1.645 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.862e-05/0.153, allocations: 112.8 kB / 0.6869 GB, free: 1.523 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.08e-05/0.153, allocations: 184.1 kB / 0.6871 GB, free: 1.336 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.867e-05/0.1531, allocations: 184.3 kB / 0.6873 GB, free: 1.148 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.464e-05/0.1531, allocations: 184.2 kB / 0.6874 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002112/0.1534, allocations: 421.2 kB / 0.6878 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-05/0.1534, allocations: 101 kB / 0.6879 GB, free: 396 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.908e-05/0.1534, allocations: 104.9 kB / 0.688 GB, free: 284 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-05/0.1535, allocations: 176.3 kB / 0.6882 GB, free: 100 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.2586/0.4121, allocations: 181 kB / 0.6884 GB, free: 18.68 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-05/0.4121, allocations: 187 kB / 0.6886 GB, free: 18.5 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.369e-05/0.4122, allocations: 181 kB / 0.6887 GB, free: 18.32 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001188/0.4123, allocations: 313.3 kB / 0.689 GB, free: 18.02 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.83e-05/0.4124, allocations: 189 kB / 0.6892 GB, free: 17.82 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.573e-05/0.4124, allocations: 188 kB / 0.6894 GB, free: 17.64 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.586e-05/0.4125, allocations: 111.8 kB / 0.6895 GB, free: 17.53 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.801e-05/0.4125, allocations: 182.6 kB / 0.6897 GB, free: 17.35 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.434e-05/0.4125, allocations: 105.8 kB / 0.6898 GB, free: 17.25 MB / 494.1 MB Notification: Performance of sorting global known variables: time 9.374e-05/0.4126, allocations: 118.5 kB / 0.6899 GB, free: 17.17 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4126, allocations: 0 / 0.6899 GB, free: 17.17 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003687/0.413, allocations: 26.47 kB / 0.6899 GB, free: 17.17 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.0001696/0.4132, allocations: 189.7 kB / 0.6901 GB, free: 17.01 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001762/0.4134, allocations: 76.5 kB / 0.6902 GB, free: 17.01 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.4134, allocations: 2.875 kB / 0.6902 GB, free: 17.01 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.563e-06/0.4134, allocations: 0 / 0.6902 GB, free: 17.01 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002845/0.4137, allocations: 473.8 kB / 0.6906 GB, free: 16.56 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002617/0.414, allocations: 229.8 kB / 0.6908 GB, free: 16.38 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001215/0.4141, allocations: 0.6938 MB / 0.6915 GB, free: 15.68 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000201/0.4143, allocations: 56.67 kB / 0.6916 GB, free: 15.68 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.637e-05/0.4143, allocations: 13.78 kB / 0.6916 GB, free: 15.67 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4143, allocations: 2.688 kB / 0.6916 GB, free: 15.67 MB / 494.1 MB Notification: Performance of Templates: time 0.004154/0.4185, allocations: 1.665 MB / 0.6932 GB, free: 15.59 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.makefile (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 & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)