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.00103/0.001031, allocations: 108.8 kB / 16.37 MB, free: 6.465 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.001119/0.001119, allocations: 193.1 kB / 17.31 MB, free: 5.816 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.23/1.23, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00209/0.00209, allocations: 282.9 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9084/0.9084, allocations: 169.3 MB / 0.4989 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001698/0.001698, allocations: 99.41 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1521, allocations: 86.98 MB / 0.6816 GB, free: 7.469 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001714/0.1539, allocations: 0.5992 MB / 0.6822 GB, free: 6.867 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003115/0.1542, allocations: 67.92 kB / 0.6823 GB, free: 6.801 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.274e-05/0.1542, allocations: 0 / 0.6823 GB, free: 6.801 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.316e-05/0.1543, allocations: 7.922 kB / 0.6823 GB, free: 6.793 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.709e-05/0.1543, allocations: 4 kB / 0.6823 GB, free: 6.789 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003015/0.1547, allocations: 51.88 kB / 0.6823 GB, free: 6.738 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.587e-05/0.1547, allocations: 23.97 kB / 0.6823 GB, free: 6.715 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.919e-05/0.1548, allocations: 8 kB / 0.6824 GB, free: 6.707 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.483e-05/0.1548, allocations: 11.98 kB / 0.6824 GB, free: 6.695 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001816/0.155, allocations: 59.89 kB / 0.6824 GB, free: 6.637 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.478e-05/0.155, allocations: 4 kB / 0.6824 GB, free: 6.633 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001027/0.1551, allocations: 39.95 kB / 0.6825 GB, free: 6.594 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.821e-05/0.1552, allocations: 19.91 kB / 0.6825 GB, free: 6.574 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.197e-05/0.1552, allocations: 19.88 kB / 0.6825 GB, free: 6.555 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001199/0.1553, allocations: 63.8 kB / 0.6826 GB, free: 6.492 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.1553, allocations: 0 / 0.6826 GB, free: 6.492 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1554, allocations: 7.938 kB / 0.6826 GB, free: 6.484 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.1554, allocations: 0 / 0.6826 GB, free: 6.484 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.0003374/0.1557, allocations: 359.5 kB / 0.6829 GB, free: 6.082 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.1557, allocations: 12.03 kB / 0.6829 GB, free: 6.07 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.908e-05/0.1558, allocations: 12.84 kB / 0.6829 GB, free: 6.059 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.15e-05/0.1559, allocations: 164.3 kB / 0.6831 GB, free: 5.859 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.1559, allocations: 384 / 0.6831 GB, free: 5.859 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.544e-06/0.1559, allocations: 4.375 kB / 0.6831 GB, free: 5.855 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002284/0.1561, allocations: 188.5 kB / 0.6833 GB, free: 5.648 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.1562, allocations: 0 / 0.6833 GB, free: 5.648 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.1562, allocations: 4 kB / 0.6833 GB, free: 5.645 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-05/0.1562, allocations: 27.91 kB / 0.6833 GB, free: 5.617 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.948e-05/0.1563, allocations: 39.91 kB / 0.6834 GB, free: 5.578 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006356/0.1569, allocations: 0.9061 MB / 0.6842 GB, free: 4.602 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.371e-05/0.157, allocations: 173.1 kB / 0.6844 GB, free: 4.422 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.7e-05/0.1571, allocations: 80.14 kB / 0.6845 GB, free: 4.34 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.42e-05/0.1571, allocations: 75.28 kB / 0.6845 GB, free: 4.266 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.36e-05/0.1571, allocations: 109.8 kB / 0.6847 GB, free: 4.148 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.1572, allocations: 0 / 0.6847 GB, free: 4.148 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 7.434e-05/0.1572, allocations: 45.53 kB / 0.6847 GB, free: 4.098 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001694/0.1574, allocations: 391.7 kB / 0.6851 GB, free: 3.641 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001324/0.1575, allocations: 159.8 kB / 0.6852 GB, free: 3.477 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.1576, allocations: 29.64 kB / 0.6853 GB, free: 3.441 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.707e-05/0.1576, allocations: 155 kB / 0.6854 GB, free: 3.285 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.056e-06/0.1577, allocations: 0 / 0.6854 GB, free: 3.285 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.798e-05/0.1577, allocations: 61.55 kB / 0.6855 GB, free: 3.219 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.1578, allocations: 326.8 kB / 0.6858 GB, free: 2.891 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.758e-05/0.1579, allocations: 23.98 kB / 0.6858 GB, free: 2.867 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001675/0.1581, allocations: 218.5 kB / 0.686 GB, free: 2.559 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001694/0.1582, allocations: 205.7 kB / 0.6862 GB, free: 2.293 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.1582, allocations: 0 / 0.6862 GB, free: 2.293 MB / 494.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002632/0.1585, allocations: 189.3 kB / 0.6864 GB, free: 2.102 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.1585, allocations: 8 kB / 0.6864 GB, free: 2.094 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.1585, allocations: 4 kB / 0.6864 GB, free: 2.09 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.1586, allocations: 7.938 kB / 0.6864 GB, free: 2.082 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.1587, allocations: 39.92 kB / 0.6864 GB, free: 2.043 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.1587, allocations: 8.562 kB / 0.6864 GB, free: 2.035 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.384e-05/0.1588, allocations: 27.69 kB / 0.6865 GB, free: 2.008 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.1588, allocations: 16 kB / 0.6865 GB, free: 1.992 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.0001131/0.1589, allocations: 213 kB / 0.6867 GB, free: 1.773 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.381e-05/0.159, allocations: 120.8 kB / 0.6868 GB, free: 1.648 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.52e-05/0.159, allocations: 116.8 kB / 0.6869 GB, free: 1.523 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.724e-05/0.1591, allocations: 184.1 kB / 0.6871 GB, free: 1.336 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-05/0.1592, allocations: 180.3 kB / 0.6873 GB, free: 1.152 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.932e-05/0.1592, allocations: 180.3 kB / 0.6874 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000211/0.1594, allocations: 421.1 kB / 0.6878 GB, free: 0.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.744e-05/0.1595, allocations: 105 kB / 0.6879 GB, free: 400 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.073e-05/0.1595, allocations: 104.9 kB / 0.688 GB, free: 288 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.467e-05/0.1596, allocations: 176.3 kB / 0.6882 GB, free: 104 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.2519/0.4115, allocations: 180.3 kB / 0.6884 GB, free: 18.08 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.741e-05/0.4116, allocations: 189 kB / 0.6886 GB, free: 17.9 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.311e-05/0.4116, allocations: 182.1 kB / 0.6887 GB, free: 17.72 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001315/0.4118, allocations: 308.2 kB / 0.689 GB, free: 17.41 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.14e-05/0.4119, allocations: 192.8 kB / 0.6892 GB, free: 17.21 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.472e-05/0.4119, allocations: 184.7 kB / 0.6894 GB, free: 17.04 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.412, allocations: 111.3 kB / 0.6895 GB, free: 16.93 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.479e-05/0.4121, allocations: 183.2 kB / 0.6897 GB, free: 16.75 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.834e-05/0.4121, allocations: 105.7 kB / 0.6898 GB, free: 16.64 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001371/0.4123, allocations: 118.9 kB / 0.6899 GB, free: 16.57 MB / 494.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4123, allocations: 0.5 kB / 0.6899 GB, free: 16.57 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005322/0.4128, allocations: 28.67 kB / 0.6899 GB, free: 16.57 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.0002314/0.4131, allocations: 183.8 kB / 0.6901 GB, free: 16.41 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002333/0.4133, allocations: 76.25 kB / 0.6902 GB, free: 16.41 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.4133, allocations: 0.9375 kB / 0.6902 GB, free: 16.41 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.294e-06/0.4133, allocations: 4.5 kB / 0.6902 GB, free: 16.41 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000386/0.4137, allocations: 473.3 kB / 0.6906 GB, free: 15.96 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000358/0.4141, allocations: 226.5 kB / 0.6908 GB, free: 15.78 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001487/0.4143, allocations: 0.691 MB / 0.6915 GB, free: 15.08 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003048/0.4146, allocations: 52.73 kB / 0.6916 GB, free: 15.08 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.134e-05/0.4146, allocations: 17.56 kB / 0.6916 GB, free: 15.07 MB / 494.1 MB Notification: Performance of SimCode: time 6.72e-07/0.4146, allocations: 1.75 kB / 0.6916 GB, free: 15.07 MB / 494.1 MB Notification: Performance of Templates: time 0.005559/0.4202, allocations: 1.669 MB / 0.6932 GB, free: 15 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 gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)