Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.IsMonotonic") translateModel(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001446/0.001446, allocations: 114.5 kB / 16.37 MB, free: 6.004 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.001528/0.001528, allocations: 192 kB / 17.31 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.425/1.425, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.85/1.85, allocations: 292.3 MB / 0.5496 GB, free: 17.49 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 71.89 kB / 0.6729 GB, free: 5.895 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2581/0.2596, allocations: 114.6 MB / 0.7848 GB, free: 3.223 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001939/0.2616, allocations: 0.6119 MB / 0.7854 GB, free: 2.605 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0003347/0.2619, allocations: 71.78 kB / 0.7855 GB, free: 2.535 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.183e-05/0.262, allocations: 4 kB / 0.7855 GB, free: 2.531 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.844e-05/0.262, allocations: 0 / 0.7855 GB, free: 2.531 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.244e-05/0.2621, allocations: 7.984 kB / 0.7855 GB, free: 2.523 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003038/0.2624, allocations: 43.89 kB / 0.7855 GB, free: 2.48 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.708e-05/0.2625, allocations: 31.89 kB / 0.7856 GB, free: 2.449 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.399e-05/0.2625, allocations: 0 / 0.7856 GB, free: 2.449 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.639e-05/0.2625, allocations: 12 kB / 0.7856 GB, free: 2.438 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001996/0.2627, allocations: 67.94 kB / 0.7856 GB, free: 2.371 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.23e-05/0.2628, allocations: 4 kB / 0.7856 GB, free: 2.367 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 9.898e-05/0.2629, allocations: 39.89 kB / 0.7857 GB, free: 2.328 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.918e-05/0.2629, allocations: 23.92 kB / 0.7857 GB, free: 2.305 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.366e-05/0.263, allocations: 15.88 kB / 0.7857 GB, free: 2.289 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001337/0.2631, allocations: 71.78 kB / 0.7858 GB, free: 2.219 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.2631, allocations: 0 / 0.7858 GB, free: 2.219 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2631, allocations: 0 / 0.7858 GB, free: 2.219 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.2631, allocations: 0 / 0.7858 GB, free: 2.219 MB / 0.6544 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.0003636/0.2635, allocations: 363.4 kB / 0.7861 GB, free: 1.812 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.2635, allocations: 8.031 kB / 0.7861 GB, free: 1.805 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.416e-05/0.2636, allocations: 12.84 kB / 0.7861 GB, free: 1.793 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.621e-05/0.2637, allocations: 172.3 kB / 0.7863 GB, free: 1.586 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.2637, allocations: 4.312 kB / 0.7863 GB, free: 1.582 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.857e-06/0.2637, allocations: 384 / 0.7863 GB, free: 1.582 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002416/0.264, allocations: 179.5 kB / 0.7865 GB, free: 1.383 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.264, allocations: 7.938 kB / 0.7865 GB, free: 1.375 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.264, allocations: 7.984 kB / 0.7865 GB, free: 1.367 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.415e-05/0.264, allocations: 19.98 kB / 0.7865 GB, free: 1.348 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.514e-05/0.2641, allocations: 39.91 kB / 0.7866 GB, free: 1.309 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006746/0.2648, allocations: 0.9023 MB / 0.7874 GB, free: 344 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 9.337e-05/0.2649, allocations: 165.1 kB / 0.7876 GB, free: 168 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.697e-05/0.2649, allocations: 80.14 kB / 0.7877 GB, free: 84 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.202e-05/0.265, allocations: 79.28 kB / 0.7877 GB, free: 4 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.4396/0.7045, allocations: 115 kB / 0.7879 GB, free: 48.83 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 3.456e-06/0.7046, allocations: 0 / 0.7879 GB, free: 48.83 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 0.0001385/0.7047, allocations: 33.58 kB / 0.7879 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.773e-05/0.7048, allocations: 387.6 kB / 0.7883 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001626/0.705, allocations: 169.6 kB / 0.7884 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.705, allocations: 26.27 kB / 0.7884 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.915e-05/0.7051, allocations: 154.1 kB / 0.7886 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.59e-06/0.7051, allocations: 7 kB / 0.7886 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.28e-05/0.7052, allocations: 54.02 kB / 0.7886 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.402e-05/0.7052, allocations: 323.7 kB / 0.789 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.808e-05/0.7053, allocations: 29.53 kB / 0.789 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001251/0.7054, allocations: 217.7 kB / 0.7892 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001407/0.7056, allocations: 197.8 kB / 0.7894 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.319e-06/0.7056, allocations: 2.781 kB / 0.7894 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002781/0.7059, allocations: 189.9 kB / 0.7896 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.7059, allocations: 7.438 kB / 0.7896 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.7059, allocations: 2.625 kB / 0.7896 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.163e-05/0.7059, allocations: 9.375 kB / 0.7896 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/0.7061, allocations: 43.84 kB / 0.7896 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.25e-05/0.7061, allocations: 16.05 kB / 0.7896 GB, free: 47.33 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001007/0.7062, allocations: 24.69 kB / 0.7897 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.399e-05/0.7062, allocations: 15.22 kB / 0.7897 GB, free: 47.32 MB / 0.6544 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.044e-05/0.7063, allocations: 211.5 kB / 0.7899 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.146e-05/0.7064, allocations: 115 kB / 0.79 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.24e-05/0.7064, allocations: 122.5 kB / 0.7901 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.336e-05/0.7064, allocations: 178.9 kB / 0.7903 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.832e-05/0.7065, allocations: 185.7 kB / 0.7905 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.704e-05/0.7065, allocations: 179.7 kB / 0.7906 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001548/0.7067, allocations: 421.5 kB / 0.791 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-05/0.7067, allocations: 108.6 kB / 0.7911 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.549e-05/0.7067, allocations: 104.2 kB / 0.7912 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.518e-05/0.7067, allocations: 178.9 kB / 0.7914 GB, free: 45.54 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.922e-05/0.7068, allocations: 187.1 kB / 0.7916 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.377e-05/0.7068, allocations: 181.5 kB / 0.7918 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-05/0.7068, allocations: 181.7 kB / 0.7919 GB, free: 44.99 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.455e-05/0.7069, allocations: 315.3 kB / 0.7922 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.327e-05/0.707, allocations: 191.6 kB / 0.7924 GB, free: 44.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.265e-05/0.707, allocations: 185.9 kB / 0.7926 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.491e-05/0.7071, allocations: 108.5 kB / 0.7927 GB, free: 44.19 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.185e-05/0.7071, allocations: 186.8 kB / 0.7929 GB, free: 44.01 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.501e-05/0.7071, allocations: 103.2 kB / 0.793 GB, free: 43.9 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.363e-05/0.7072, allocations: 115.8 kB / 0.7931 GB, free: 43.83 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7072, allocations: 0 / 0.7931 GB, free: 43.83 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003101/0.7075, allocations: 32.81 kB / 0.7931 GB, free: 43.83 MB / 0.6544 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.0001628/0.7077, allocations: 183.8 kB / 0.7933 GB, free: 43.67 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001476/0.7078, allocations: 83.59 kB / 0.7934 GB, free: 43.67 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.7079, allocations: 0 / 0.7934 GB, free: 43.67 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 2.114e-06/0.7079, allocations: 0 / 0.7934 GB, free: 43.67 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002835/0.7082, allocations: 467 kB / 0.7938 GB, free: 43.22 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002529/0.7084, allocations: 250 kB / 0.794 GB, free: 43.01 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001293/0.7086, allocations: 0.7004 MB / 0.7947 GB, free: 42.31 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.826e-05/0.7086, allocations: 15.31 kB / 0.7947 GB, free: 42.3 MB / 0.6544 GB Notification: Performance of SimCode: time 2e-07/0.7086, allocations: 0.6562 kB / 0.7947 GB, free: 42.3 MB / 0.6544 GB Notification: Performance of Templates: time 0.003522/0.7121, allocations: 1.701 MB / 0.7964 GB, free: 42.22 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)