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: 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/BuildingSystems 2.0.0-master/package.mo): time 0.9112/0.9112, allocations: 143.4 MB / 159.2 MB, free: 4.863 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.001216/0.001216, allocations: 183.3 kB / 191.9 MB, free: 5.727 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.416/1.416, allocations: 222.9 MB / 447.3 MB, free: 5.859 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.001081/0.001081, allocations: 103.8 kB / 0.517 GB, free: 3.719 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001897/0.001897, allocations: 274.6 kB / 0.5973 GB, free: 49.37 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 80.12 kB / 0.6885 GB, free: 3.824 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3541/0.3555, allocations: 81.29 MB / 0.7679 GB, free: 27.65 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001739/0.3573, allocations: 0.6667 MB / 0.7686 GB, free: 26.99 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002889/0.3576, allocations: 71.09 kB / 0.7687 GB, free: 26.92 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.693e-05/0.3577, allocations: 0 / 0.7687 GB, free: 26.92 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 3.122e-05/0.3577, allocations: 3.984 kB / 0.7687 GB, free: 26.92 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 3.857e-05/0.3578, allocations: 8 kB / 0.7687 GB, free: 26.91 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002072/0.358, allocations: 39.89 kB / 0.7687 GB, free: 26.87 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 5.052e-05/0.358, allocations: 23.97 kB / 0.7687 GB, free: 26.85 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.753e-05/0.3581, allocations: 7.984 kB / 0.7687 GB, free: 26.84 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.963e-05/0.3581, allocations: 8 kB / 0.7687 GB, free: 26.83 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001759/0.3583, allocations: 71.86 kB / 0.7688 GB, free: 26.76 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/0.3583, allocations: 0 / 0.7688 GB, free: 26.76 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.568e-05/0.3584, allocations: 31.97 kB / 0.7688 GB, free: 26.73 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 3.675e-05/0.3584, allocations: 31.91 kB / 0.7689 GB, free: 26.7 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 2.902e-05/0.3585, allocations: 19.86 kB / 0.7689 GB, free: 26.68 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001191/0.3586, allocations: 71.73 kB / 0.769 GB, free: 26.61 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3586, allocations: 0 / 0.769 GB, free: 26.61 MB / 458.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.3586, allocations: 0 / 0.769 GB, free: 26.61 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.978e-06/0.3586, allocations: 0 / 0.769 GB, free: 26.61 MB / 458.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.0003001/0.3589, allocations: 368.2 kB / 0.7693 GB, free: 26.2 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.359, allocations: 8.031 kB / 0.7693 GB, free: 26.2 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.779e-05/0.359, allocations: 4.938 kB / 0.7693 GB, free: 26.19 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.697e-05/0.3591, allocations: 164.3 kB / 0.7695 GB, free: 25.99 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.448e-06/0.3591, allocations: 8.375 kB / 0.7695 GB, free: 25.98 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.442e-05/0.3591, allocations: 384 / 0.7695 GB, free: 25.98 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002028/0.3593, allocations: 183.4 kB / 0.7697 GB, free: 25.78 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.3593, allocations: 0 / 0.7697 GB, free: 25.78 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.3594, allocations: 4 kB / 0.7697 GB, free: 25.78 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-05/0.3594, allocations: 27.92 kB / 0.7697 GB, free: 25.75 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.754e-05/0.3595, allocations: 39.91 kB / 0.7697 GB, free: 25.71 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000434/0.3599, allocations: 0.91 MB / 0.7706 GB, free: 24.73 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.999e-05/0.3599, allocations: 165.1 kB / 0.7708 GB, free: 24.56 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.53e-05/0.36, allocations: 84.14 kB / 0.7709 GB, free: 24.47 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.266e-05/0.36, allocations: 75.28 kB / 0.7709 GB, free: 24.4 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/0.36, allocations: 117.8 kB / 0.771 GB, free: 24.27 MB / 458.7 MB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.36, allocations: 0 / 0.771 GB, free: 24.27 MB / 458.7 MB Notification: Performance of matching and sorting (n=0): time 7.1e-05/0.3601, allocations: 37.55 kB / 0.7711 GB, free: 24.23 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.33e-05/0.3602, allocations: 395.7 kB / 0.7715 GB, free: 23.77 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.556e-05/0.3603, allocations: 163 kB / 0.7716 GB, free: 23.6 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 9.708e-06/0.3603, allocations: 25.7 kB / 0.7716 GB, free: 23.57 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.915e-05/0.3604, allocations: 155.1 kB / 0.7718 GB, free: 23.41 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.737e-06/0.3604, allocations: 0 / 0.7718 GB, free: 23.41 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.959e-05/0.3604, allocations: 61.61 kB / 0.7718 GB, free: 23.35 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 4.258e-05/0.3605, allocations: 318.8 kB / 0.7721 GB, free: 23.03 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.121e-05/0.3605, allocations: 23.98 kB / 0.7722 GB, free: 23 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.789e-05/0.3606, allocations: 229.3 kB / 0.7724 GB, free: 22.69 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001148/0.3607, allocations: 205.7 kB / 0.7726 GB, free: 22.42 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.3607, allocations: 3.984 kB / 0.7726 GB, free: 22.42 MB / 458.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002198/0.361, allocations: 189.1 kB / 0.7728 GB, free: 22.23 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.361, allocations: 8 kB / 0.7728 GB, free: 22.22 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.361, allocations: 4 kB / 0.7728 GB, free: 22.21 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.361, allocations: 16.58 kB / 0.7728 GB, free: 22.2 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/0.3612, allocations: 35.92 kB / 0.7728 GB, free: 22.16 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.3612, allocations: 12 kB / 0.7728 GB, free: 22.15 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.397e-05/0.3612, allocations: 19.84 kB / 0.7729 GB, free: 22.13 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.798e-06/0.3613, allocations: 12 kB / 0.7729 GB, free: 22.12 MB / 458.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 () * 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 7.257e-05/0.3613, allocations: 217 kB / 0.7731 GB, free: 21.9 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.897e-05/0.3614, allocations: 112.8 kB / 0.7732 GB, free: 21.78 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.252e-05/0.3614, allocations: 112.8 kB / 0.7733 GB, free: 21.66 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.026e-05/0.3614, allocations: 192.1 kB / 0.7735 GB, free: 21.47 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.496e-05/0.3615, allocations: 184.2 kB / 0.7737 GB, free: 21.28 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.199e-05/0.3615, allocations: 176.3 kB / 0.7738 GB, free: 21.1 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001253/0.3616, allocations: 425.1 kB / 0.7742 GB, free: 20.63 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.327e-05/0.3617, allocations: 101 kB / 0.7743 GB, free: 20.52 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.592e-05/0.3617, allocations: 104.9 kB / 0.7744 GB, free: 20.41 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.302e-05/0.3617, allocations: 180.3 kB / 0.7746 GB, free: 20.23 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.525e-05/0.3617, allocations: 180.3 kB / 0.7748 GB, free: 20.05 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.011e-05/0.3618, allocations: 188.1 kB / 0.7749 GB, free: 19.86 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.095e-05/0.3618, allocations: 184.2 kB / 0.7751 GB, free: 19.67 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001702/0.362, allocations: 0.8607 MB / 0.776 GB, free: 18.74 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.383e-05/0.362, allocations: 186 kB / 0.7761 GB, free: 18.54 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.764e-05/0.362, allocations: 184.2 kB / 0.7763 GB, free: 18.35 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.897e-05/0.3621, allocations: 105 kB / 0.7764 GB, free: 18.24 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.474e-05/0.3621, allocations: 184.2 kB / 0.7766 GB, free: 18.05 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.344e-05/0.3622, allocations: 108.9 kB / 0.7767 GB, free: 17.94 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.793e-05/0.3622, allocations: 111.3 kB / 0.7768 GB, free: 17.83 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3622, allocations: 7.875 kB / 0.7768 GB, free: 17.82 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003699/0.3626, allocations: 28 kB / 0.7768 GB, free: 17.79 MB / 458.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 () * 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.0001421/0.3627, allocations: 186.5 kB / 0.777 GB, free: 17.6 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001115/0.3629, allocations: 80.02 kB / 0.7771 GB, free: 17.52 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3629, allocations: 4 kB / 0.7771 GB, free: 17.52 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.423e-06/0.3629, allocations: 352 / 0.7771 GB, free: 17.52 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002699/0.3631, allocations: 0.5351 MB / 0.7776 GB, free: 16.98 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002208/0.3634, allocations: 242.6 kB / 0.7778 GB, free: 16.71 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001138/0.3635, allocations: 0.6932 MB / 0.7785 GB, free: 16 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002017/0.3637, allocations: 60.36 kB / 0.7786 GB, free: 15.94 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.068e-05/0.3637, allocations: 15.44 kB / 0.7786 GB, free: 15.92 MB / 458.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3637, allocations: 0 / 0.7786 GB, free: 15.92 MB / 458.7 MB Notification: Performance of Templates: time 0.003238/0.367, allocations: 1.771 MB / 0.7803 GB, free: 14.19 MB / 458.7 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)