Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.IsMonotonic") translateModel(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.IsMonotonic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5303/0.5303, allocations: 94.78 MB / 102.3 MB, free: 10.16 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001132/0.001132, allocations: 179 kB / 125.6 MB, free: 11.88 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.597/1.597, allocations: 170.6 MB / 319.4 MB, free: 9.328 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001577/0.001577, allocations: 102.3 kB / 381.3 MB, free: 18.32 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.446e-05/2.448e-05, allocations: 4 kB / 449.1 MB, free: 1.734 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1613/0.1613, allocations: 61.52 MB / 0.4987 GB, free: 4.125 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4589/0.6203, allocations: 92.81 MB / 0.5893 GB, free: 9.137 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002628/0.6206, allocations: 77.03 kB / 0.5894 GB, free: 9.062 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003128/0.6238, allocations: 1.161 MB / 0.5905 GB, free: 7.926 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.6238, allocations: 0.7188 kB / 0.5905 GB, free: 7.926 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.694e-06/0.6238, allocations: 0 / 0.5905 GB, free: 7.926 MB / 410.7 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.000379/0.6242, allocations: 333.7 kB / 0.5908 GB, free: 7.559 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.541e-05/0.6243, allocations: 8.688 kB / 0.5908 GB, free: 7.551 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.338e-05/0.6243, allocations: 5.875 kB / 0.5908 GB, free: 7.547 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.6245, allocations: 171.6 kB / 0.591 GB, free: 7.34 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.6245, allocations: 1.125 kB / 0.591 GB, free: 7.34 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.786e-05/0.6245, allocations: 7.547 kB / 0.591 GB, free: 7.336 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000137/0.6247, allocations: 38.34 kB / 0.5911 GB, free: 7.297 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002674/0.625, allocations: 149.3 kB / 0.5912 GB, free: 7.129 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.625, allocations: 4.656 kB / 0.5912 GB, free: 7.125 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.086e-05/0.625, allocations: 4 kB / 0.5912 GB, free: 7.121 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-05/0.6251, allocations: 25.39 kB / 0.5912 GB, free: 7.098 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001037/0.6261, allocations: 0.8652 MB / 0.5921 GB, free: 6.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/0.6263, allocations: 167 kB / 0.5922 GB, free: 6.008 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.461e-05/0.6263, allocations: 80.14 kB / 0.5923 GB, free: 5.926 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.671e-05/0.6264, allocations: 75.91 kB / 0.5924 GB, free: 5.852 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001057/0.6265, allocations: 115 kB / 0.5925 GB, free: 5.73 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.6265, allocations: 1.406 kB / 0.5925 GB, free: 5.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001123/0.6266, allocations: 44.06 kB / 0.5925 GB, free: 5.684 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002543/0.6269, allocations: 316.4 kB / 0.5928 GB, free: 5.301 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002261/0.6271, allocations: 155.7 kB / 0.593 GB, free: 5.148 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.538e-05/0.6272, allocations: 29.7 kB / 0.593 GB, free: 5.113 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/0.6273, allocations: 147.3 kB / 0.5932 GB, free: 4.965 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.449e-06/0.6273, allocations: 0 / 0.5932 GB, free: 4.965 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.18e-06/0.6273, allocations: 0 / 0.5932 GB, free: 4.965 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001792/0.6275, allocations: 318.8 kB / 0.5935 GB, free: 4.645 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.679e-05/0.6276, allocations: 24.36 kB / 0.5935 GB, free: 4.621 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000239/0.6278, allocations: 211.6 kB / 0.5937 GB, free: 4.324 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.534e-05/0.6279, allocations: 59.89 kB / 0.5937 GB, free: 4.266 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.6279, allocations: 0 / 0.5937 GB, free: 4.266 MB / 410.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003372/0.6283, allocations: 163 kB / 0.5939 GB, free: 4.102 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.668e-05/0.6283, allocations: 8 kB / 0.5939 GB, free: 4.094 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.515e-05/0.6283, allocations: 4 kB / 0.5939 GB, free: 4.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.977e-05/0.6284, allocations: 8.656 kB / 0.5939 GB, free: 4.082 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/0.6285, allocations: 47.88 kB / 0.594 GB, free: 4.035 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.633e-05/0.6286, allocations: 11.98 kB / 0.594 GB, free: 4.023 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000104/0.6287, allocations: 16.84 kB / 0.594 GB, free: 4.008 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.185e-05/0.6287, allocations: 15.94 kB / 0.594 GB, free: 3.992 MB / 410.7 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 () * 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.0001691/0.6289, allocations: 188.1 kB / 0.5942 GB, free: 3.801 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/0.629, allocations: 112.9 kB / 0.5943 GB, free: 3.684 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001146/0.6291, allocations: 117.5 kB / 0.5944 GB, free: 3.562 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001227/0.6292, allocations: 184.2 kB / 0.5946 GB, free: 3.375 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001005/0.6293, allocations: 180.5 kB / 0.5947 GB, free: 3.191 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001131/0.6295, allocations: 180.3 kB / 0.5949 GB, free: 3.008 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003546/0.6298, allocations: 401.7 kB / 0.5953 GB, free: 2.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.799e-05/0.6299, allocations: 107.2 kB / 0.5954 GB, free: 2.461 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.913e-05/0.63, allocations: 101 kB / 0.5955 GB, free: 2.355 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.158e-05/0.6301, allocations: 187.4 kB / 0.5957 GB, free: 2.168 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.904e-05/0.6301, allocations: 180.3 kB / 0.5959 GB, free: 1.984 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.739e-05/0.6302, allocations: 177.2 kB / 0.596 GB, free: 1.805 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.265e-05/0.6303, allocations: 184.2 kB / 0.5962 GB, free: 1.617 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001693/0.6305, allocations: 316.7 kB / 0.5965 GB, free: 1.285 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.524e-05/0.6306, allocations: 192 kB / 0.5967 GB, free: 1.074 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001011/0.6307, allocations: 180.2 kB / 0.5969 GB, free: 0.8906 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.818e-05/0.6308, allocations: 105 kB / 0.597 GB, free: 0.7812 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.185e-05/0.6309, allocations: 180.2 kB / 0.5971 GB, free: 0.5977 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.208e-05/0.631, allocations: 106.4 kB / 0.5972 GB, free: 500 kB / 410.7 MB Notification: Performance of sorting global known variables: time 7.157e-05/0.631, allocations: 113.1 kB / 0.5973 GB, free: 388 kB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.631, allocations: 0 / 0.5973 GB, free: 388 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004214/0.6315, allocations: 32.75 kB / 0.5974 GB, free: 356 kB / 410.7 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 () * 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.0002184/0.6317, allocations: 182.5 kB / 0.5975 GB, free: 164 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001356/0.6318, allocations: 61.23 kB / 0.5976 GB, free: 104 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/0.6319, allocations: 8.188 kB / 0.5976 GB, free: 96 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.593e-06/0.6319, allocations: 0 / 0.5976 GB, free: 96 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003739/0.6322, allocations: 0.5302 MB / 0.5981 GB, free: 15.56 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002567/0.6325, allocations: 177.8 kB / 0.5983 GB, free: 15.37 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003436/0.6329, allocations: 0.6968 MB / 0.599 GB, free: 14.65 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001999/0.6331, allocations: 56.41 kB / 0.599 GB, free: 14.6 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.001e-05/0.6331, allocations: 15.44 kB / 0.599 GB, free: 14.59 MB / 426.7 MB Notification: Performance of SimCode: time 2.144e-06/0.6331, allocations: 0 / 0.599 GB, free: 14.59 MB / 426.7 MB Notification: Performance of Templates: time 0.004188/0.6373, allocations: 1.693 MB / 0.6007 GB, free: 12.97 MB / 426.7 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)