Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic") translateModel(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.335/1.335, allocations: 251.5 MB / 267.4 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009471/0.0009472, allocations: 176.7 kB / 326.5 MB, free: 2.688 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.014/2.014, allocations: 205 MB / 0.5766 GB, free: 21.03 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007728/0.0007728, allocations: 94.58 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003381/0.0003382, allocations: 9.406 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2524/0.2527, allocations: 105.4 MB / 0.8967 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.0007815/0.2535, allocations: 351.1 kB / 0.8971 GB, free: 67.84 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00033/0.2539, allocations: 71.84 kB / 0.8972 GB, free: 67.77 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.961e-05/0.2539, allocations: 0 / 0.8972 GB, free: 67.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.438e-05/0.254, allocations: 7.984 kB / 0.8972 GB, free: 67.76 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.244e-05/0.254, allocations: 7.938 kB / 0.8972 GB, free: 67.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002413/0.2543, allocations: 35.95 kB / 0.8972 GB, free: 67.71 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.287e-05/0.2543, allocations: 35.91 kB / 0.8972 GB, free: 67.68 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.161e-05/0.2544, allocations: 3.984 kB / 0.8972 GB, free: 67.68 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.218e-05/0.2544, allocations: 8 kB / 0.8972 GB, free: 67.67 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000184/0.2546, allocations: 75.84 kB / 0.8973 GB, free: 67.59 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/0.2546, allocations: 0 / 0.8973 GB, free: 67.59 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.734e-05/0.2547, allocations: 39.91 kB / 0.8974 GB, free: 67.55 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.627e-05/0.2548, allocations: 19.98 kB / 0.8974 GB, free: 67.54 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.474e-05/0.2548, allocations: 19.81 kB / 0.8974 GB, free: 67.52 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.478e-05/0.2549, allocations: 43.92 kB / 0.8974 GB, free: 67.47 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.2549, allocations: 0 / 0.8974 GB, free: 67.47 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2549, allocations: 0 / 0.8974 GB, free: 67.47 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.2549, allocations: 0 / 0.8974 GB, free: 67.47 MB / 0.6042 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.000259/0.2552, allocations: 347.7 kB / 0.8978 GB, free: 67.08 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.2552, allocations: 12.03 kB / 0.8978 GB, free: 67.07 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.324e-05/0.2553, allocations: 8.844 kB / 0.8978 GB, free: 67.06 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.934e-05/0.2553, allocations: 172.3 kB / 0.898 GB, free: 66.86 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.948e-06/0.2554, allocations: 4.359 kB / 0.898 GB, free: 66.85 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.232e-05/0.2554, allocations: 8.312 kB / 0.898 GB, free: 66.84 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001971/0.2556, allocations: 175.5 kB / 0.8981 GB, free: 66.65 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.2556, allocations: 0 / 0.8981 GB, free: 66.65 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.301e-05/0.2556, allocations: 3.984 kB / 0.8981 GB, free: 66.64 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.634e-05/0.2556, allocations: 31.91 kB / 0.8982 GB, free: 66.61 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.523e-05/0.2557, allocations: 35.91 kB / 0.8982 GB, free: 66.58 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004656/0.2562, allocations: 0.91 MB / 0.8991 GB, free: 65.6 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.68e-05/0.2562, allocations: 165.1 kB / 0.8992 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.823e-05/0.2563, allocations: 80.92 kB / 0.8993 GB, free: 65.34 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.586e-05/0.2563, allocations: 75.28 kB / 0.8994 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/0.2563, allocations: 121.8 kB / 0.8995 GB, free: 65.14 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.2563, allocations: 0 / 0.8995 GB, free: 65.14 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 6.744e-05/0.2564, allocations: 33.7 kB / 0.8995 GB, free: 65.1 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.97e-05/0.2565, allocations: 387.7 kB / 0.8999 GB, free: 64.65 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.2566, allocations: 166.2 kB / 0.9001 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.2566, allocations: 29.64 kB / 0.9001 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.43e-05/0.2567, allocations: 155 kB / 0.9002 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.426e-06/0.2567, allocations: 4 kB / 0.9003 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.549e-05/0.2567, allocations: 29.7 kB / 0.9003 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.396e-05/0.2568, allocations: 326.8 kB / 0.9006 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.098e-05/0.2568, allocations: 23.98 kB / 0.9006 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001064/0.2569, allocations: 218.5 kB / 0.9008 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001377/0.2571, allocations: 201.7 kB / 0.901 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.2571, allocations: 7.938 kB / 0.901 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002805/0.2574, allocations: 185.2 kB / 0.9012 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.2574, allocations: 8 kB / 0.9012 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.2574, allocations: 4 kB / 0.9012 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.2574, allocations: 8.656 kB / 0.9012 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.2575, allocations: 47.86 kB / 0.9013 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.2576, allocations: 7.984 kB / 0.9013 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.666e-05/0.2576, allocations: 27.75 kB / 0.9013 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.2577, allocations: 8 kB / 0.9013 GB, free: 63.02 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.312e-05/0.2578, allocations: 220.9 kB / 0.9015 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.535e-05/0.2578, allocations: 108.9 kB / 0.9016 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.055e-05/0.2578, allocations: 116.9 kB / 0.9017 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.691e-05/0.2579, allocations: 188.1 kB / 0.9019 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-05/0.2579, allocations: 180.2 kB / 0.9021 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.733e-05/0.2579, allocations: 180.2 kB / 0.9023 GB, free: 62 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001334/0.2581, allocations: 417.2 kB / 0.9027 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-05/0.2581, allocations: 105 kB / 0.9028 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.599e-05/0.2581, allocations: 108.9 kB / 0.9029 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.753e-05/0.2582, allocations: 184.3 kB / 0.903 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.859e-05/0.2582, allocations: 180.2 kB / 0.9032 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.672e-05/0.2582, allocations: 184.2 kB / 0.9034 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.773e-05/0.2583, allocations: 180.3 kB / 0.9036 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.477e-05/0.2583, allocations: 320.5 kB / 0.9039 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.75e-05/0.2584, allocations: 189.9 kB / 0.904 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.528e-05/0.2584, allocations: 180.3 kB / 0.9042 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.177e-05/0.2585, allocations: 112.9 kB / 0.9043 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.655e-05/0.2585, allocations: 180.2 kB / 0.9045 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-05/0.2586, allocations: 109 kB / 0.9046 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.18e-05/0.2586, allocations: 118.8 kB / 0.9047 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.2586, allocations: 0 / 0.9047 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002679/0.2589, allocations: 24 kB / 0.9047 GB, free: 59.29 MB / 0.6042 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 (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.0001734/0.2591, allocations: 186.5 kB / 0.9049 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001278/0.2592, allocations: 80.86 kB / 0.905 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.2592, allocations: 96 / 0.905 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.214e-06/0.2592, allocations: 3.938 kB / 0.905 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002765/0.2595, allocations: 0.534 MB / 0.9055 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002542/0.2598, allocations: 270.6 kB / 0.9058 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001475/0.2599, allocations: 0.6932 MB / 0.9064 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.503e-05/0.26, allocations: 15.44 kB / 0.9065 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.26, allocations: 0 / 0.9065 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of Templates: time 0.002856/0.2628, allocations: 1.688 MB / 0.9081 GB, free: 55.77 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)