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.001215/0.001215, allocations: 111.2 kB / 16.37 MB, free: 6.344 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.001251/0.001251, allocations: 187.5 kB / 17.3 MB, free: 5.898 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.232/1.232, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002053/0.002053, allocations: 292.6 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.873/0.873, allocations: 169.3 MB / 0.4989 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001692/0.001692, allocations: 99.84 kB / 0.6821 GB, free: 6.965 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3826/0.3844, allocations: 86.99 MB / 0.767 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001565/0.386, allocations: 0.6058 MB / 0.7676 GB, free: 3.332 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002936/0.3863, allocations: 59.84 kB / 0.7677 GB, free: 3.273 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.079e-05/0.3863, allocations: 0 / 0.7677 GB, free: 3.273 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.628e-05/0.3863, allocations: 0 / 0.7677 GB, free: 3.273 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.693e-05/0.3864, allocations: 7.938 kB / 0.7677 GB, free: 3.266 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002645/0.3866, allocations: 47.94 kB / 0.7677 GB, free: 3.219 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.57e-05/0.3867, allocations: 23.92 kB / 0.7678 GB, free: 3.195 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.893e-05/0.3868, allocations: 4 kB / 0.7678 GB, free: 3.191 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.598e-05/0.3868, allocations: 19.91 kB / 0.7678 GB, free: 3.172 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001823/0.387, allocations: 59.95 kB / 0.7678 GB, free: 3.113 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.321e-05/0.387, allocations: 0 / 0.7678 GB, free: 3.113 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.706e-05/0.3871, allocations: 39.95 kB / 0.7679 GB, free: 3.074 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.982e-05/0.3871, allocations: 19.92 kB / 0.7679 GB, free: 3.055 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.299e-05/0.3872, allocations: 23.86 kB / 0.7679 GB, free: 3.031 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001213/0.3873, allocations: 63.8 kB / 0.768 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.3873, allocations: 0 / 0.768 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.813e-06/0.3873, allocations: 0 / 0.768 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.3873, allocations: 0 / 0.768 GB, free: 2.969 MB / 0.5294 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.000331/0.3877, allocations: 367.1 kB / 0.7683 GB, free: 2.562 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.3877, allocations: 8.031 kB / 0.7683 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.008e-05/0.3878, allocations: 16.78 kB / 0.7684 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.332e-05/0.3878, allocations: 174.9 kB / 0.7685 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.3879, allocations: 4.359 kB / 0.7685 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.13e-05/0.3879, allocations: 4.375 kB / 0.7685 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002155/0.3881, allocations: 176 kB / 0.7687 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.3881, allocations: 4 kB / 0.7687 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.3881, allocations: 7.938 kB / 0.7687 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.808e-05/0.3882, allocations: 23.97 kB / 0.7687 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.191e-05/0.3882, allocations: 39.84 kB / 0.7688 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005846/0.3888, allocations: 0.8984 MB / 0.7696 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 6.992e-05/0.3889, allocations: 173.1 kB / 0.7698 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.537e-05/0.3889, allocations: 88.14 kB / 0.7699 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.389, allocations: 75.28 kB / 0.77 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.33e-05/0.389, allocations: 109.8 kB / 0.7701 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.389, allocations: 0 / 0.7701 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 6.88e-05/0.3891, allocations: 41.55 kB / 0.7701 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001328/0.3892, allocations: 387.7 kB / 0.7705 GB, free: 128 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001446/0.3894, allocations: 171.7 kB / 0.7706 GB, free: 15.95 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.3894, allocations: 29.7 kB / 0.7707 GB, free: 15.91 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.535e-05/0.3895, allocations: 147.1 kB / 0.7708 GB, free: 15.77 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.528e-06/0.3895, allocations: 4 kB / 0.7708 GB, free: 15.76 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.707e-05/0.3896, allocations: 53.61 kB / 0.7709 GB, free: 15.7 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.3897, allocations: 326.8 kB / 0.7712 GB, free: 15.38 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.86e-05/0.3898, allocations: 27.97 kB / 0.7712 GB, free: 15.35 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001706/0.39, allocations: 220.8 kB / 0.7714 GB, free: 15.04 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002198/0.3902, allocations: 201.8 kB / 0.7716 GB, free: 14.78 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.3902, allocations: 4 kB / 0.7716 GB, free: 14.77 MB / 0.545 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002715/0.3905, allocations: 189.7 kB / 0.7718 GB, free: 14.58 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.3905, allocations: 11.94 kB / 0.7718 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.862e-06/0.3905, allocations: 4 kB / 0.7718 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.3905, allocations: 11.94 kB / 0.7718 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.3906, allocations: 39.92 kB / 0.7719 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.3907, allocations: 4 kB / 0.7719 GB, free: 14.51 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.284e-05/0.3907, allocations: 23.84 kB / 0.7719 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.3908, allocations: 8 kB / 0.7719 GB, free: 14.48 MB / 0.545 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 0.0001285/0.3909, allocations: 223.5 kB / 0.7721 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.131e-05/0.391, allocations: 112.8 kB / 0.7722 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.616e-05/0.391, allocations: 120.8 kB / 0.7723 GB, free: 14.01 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.259e-05/0.3911, allocations: 180.2 kB / 0.7725 GB, free: 13.83 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.385e-05/0.3912, allocations: 180.2 kB / 0.7727 GB, free: 13.64 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.625e-05/0.3912, allocations: 180.2 kB / 0.7728 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002286/0.3915, allocations: 429.1 kB / 0.7733 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.789e-05/0.3915, allocations: 106.7 kB / 0.7734 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.139e-05/0.3915, allocations: 105 kB / 0.7735 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.887e-05/0.3916, allocations: 184.2 kB / 0.7736 GB, free: 12.58 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.623e-05/0.3917, allocations: 180.2 kB / 0.7738 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.265e-05/0.3917, allocations: 196.1 kB / 0.774 GB, free: 12.2 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.111e-05/0.3918, allocations: 176.3 kB / 0.7742 GB, free: 12.02 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001322/0.3919, allocations: 311.7 kB / 0.7745 GB, free: 11.69 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.538e-05/0.392, allocations: 190 kB / 0.7746 GB, free: 11.48 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.735e-05/0.3921, allocations: 184.3 kB / 0.7748 GB, free: 11.29 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.93e-05/0.3922, allocations: 116.9 kB / 0.7749 GB, free: 11.17 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.462e-05/0.3922, allocations: 180.2 kB / 0.7751 GB, free: 10.98 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.503e-05/0.3923, allocations: 105 kB / 0.7752 GB, free: 10.88 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.413e-05/0.3923, allocations: 122 kB / 0.7753 GB, free: 10.76 MB / 0.545 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3924, allocations: 0 / 0.7753 GB, free: 10.76 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000341/0.3927, allocations: 24 kB / 0.7753 GB, free: 10.73 MB / 0.545 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.000175/0.3929, allocations: 186.5 kB / 0.7755 GB, free: 10.54 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001383/0.393, allocations: 71.78 kB / 0.7756 GB, free: 10.47 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.393, allocations: 0 / 0.7756 GB, free: 10.47 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.016e-06/0.393, allocations: 5.578 kB / 0.7756 GB, free: 10.47 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000362/0.3934, allocations: 471.7 kB / 0.776 GB, free: 10 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002592/0.3937, allocations: 250.6 kB / 0.7763 GB, free: 9.727 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002302/0.3939, allocations: 0.7006 MB / 0.777 GB, free: 9 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.643e-05/0.3939, allocations: 15.44 kB / 0.777 GB, free: 8.984 MB / 0.545 GB Notification: Performance of SimCode: time 2.21e-07/0.3939, allocations: 0 / 0.777 GB, free: 8.984 MB / 0.545 GB Notification: Performance of Templates: time 0.003013/0.397, allocations: 1.707 MB / 0.7786 GB, free: 7.297 MB / 0.545 GB 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)