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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009931/0.000993, allocations: 197.2 kB / 16.64 MB, free: 6.453 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.381/1.381, allocations: 205.1 MB / 222.5 MB, free: 4.574 MB / 174.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.742/1.742, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001509/0.001509, allocations: 73.89 kB / 0.6718 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2683/0.2698, allocations: 114.5 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001915/0.2718, allocations: 0.6054 MB / 0.7842 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003522/0.2722, allocations: 75.78 kB / 0.7843 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.439e-05/0.2722, allocations: 0 / 0.7843 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.309e-05/0.2723, allocations: 0 / 0.7843 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.625e-05/0.2723, allocations: 11.94 kB / 0.7843 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003364/0.2727, allocations: 39.94 kB / 0.7844 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.283e-05/0.2727, allocations: 23.98 kB / 0.7844 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.699e-05/0.2728, allocations: 7.922 kB / 0.7844 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.709e-05/0.2728, allocations: 15.98 kB / 0.7844 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001957/0.273, allocations: 67.88 kB / 0.7845 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.254e-05/0.2731, allocations: 0 / 0.7845 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.839e-05/0.2732, allocations: 31.97 kB / 0.7845 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.332e-05/0.2732, allocations: 31.91 kB / 0.7845 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.979e-05/0.2732, allocations: 15.88 kB / 0.7845 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001362/0.2734, allocations: 71.73 kB / 0.7846 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.2734, allocations: 0 / 0.7846 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.545e-06/0.2734, allocations: 0 / 0.7846 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.113e-06/0.2734, allocations: 0 / 0.7846 GB, free: 12.25 MB / 0.6075 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.000396/0.2738, allocations: 367.7 kB / 0.785 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.2739, allocations: 8.031 kB / 0.785 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.368e-05/0.2739, allocations: 42.73 kB / 0.785 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.65e-05/0.274, allocations: 8.844 kB / 0.785 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.2741, allocations: 176.3 kB / 0.7852 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.2741, allocations: 4.312 kB / 0.7852 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.868e-06/0.2741, allocations: 384 / 0.7852 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002625/0.2744, allocations: 185.6 kB / 0.7854 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.2744, allocations: 0 / 0.7854 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.581e-05/0.2744, allocations: 4 kB / 0.7854 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-05/0.2745, allocations: 23.98 kB / 0.7854 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.422e-05/0.2746, allocations: 39.91 kB / 0.7854 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006894/0.2753, allocations: 0.9023 MB / 0.7863 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.96e-05/0.2754, allocations: 169.1 kB / 0.7865 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.374e-05/0.2754, allocations: 80.14 kB / 0.7865 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.518e-05/0.2755, allocations: 75.28 kB / 0.7866 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.323e-05/0.2755, allocations: 117.8 kB / 0.7867 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.2755, allocations: 0 / 0.7867 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 8.585e-05/0.2756, allocations: 33.61 kB / 0.7868 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002036/0.2758, allocations: 391.7 kB / 0.7871 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/0.276, allocations: 165 kB / 0.7873 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.276, allocations: 37.64 kB / 0.7873 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.046e-05/0.2761, allocations: 143.1 kB / 0.7875 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.51e-06/0.2761, allocations: 8 kB / 0.7875 GB, free: 9 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.195e-05/0.2762, allocations: 53.61 kB / 0.7875 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.2763, allocations: 326.8 kB / 0.7878 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.041e-05/0.2764, allocations: 23.98 kB / 0.7879 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001784/0.2766, allocations: 214.5 kB / 0.7881 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001977/0.2768, allocations: 201.8 kB / 0.7883 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/0.2768, allocations: 3.984 kB / 0.7883 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002908/0.2771, allocations: 185.1 kB / 0.7884 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.2771, allocations: 8 kB / 0.7884 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.2771, allocations: 4.656 kB / 0.7885 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.91e-05/0.2772, allocations: 15.92 kB / 0.7885 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001291/0.2773, allocations: 43.92 kB / 0.7885 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.382e-05/0.2773, allocations: 15.92 kB / 0.7885 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.182e-05/0.2774, allocations: 31.78 kB / 0.7886 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/0.2774, allocations: 11.94 kB / 0.7886 GB, free: 7.703 MB / 0.6075 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.0001378/0.2776, allocations: 213 kB / 0.7888 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.811e-05/0.2776, allocations: 109 kB / 0.7889 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.742e-05/0.2777, allocations: 124.5 kB / 0.789 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.57e-05/0.2778, allocations: 196.2 kB / 0.7892 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.11e-05/0.2779, allocations: 180.2 kB / 0.7893 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.896e-05/0.278, allocations: 180.3 kB / 0.7895 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002463/0.2782, allocations: 421.2 kB / 0.7899 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.094e-05/0.2783, allocations: 108.9 kB / 0.79 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.323e-05/0.2783, allocations: 105 kB / 0.7901 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.079e-05/0.2784, allocations: 184.2 kB / 0.7903 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.927e-05/0.2785, allocations: 181.3 kB / 0.7905 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.568e-05/0.2786, allocations: 176.3 kB / 0.7906 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-05/0.2786, allocations: 184.2 kB / 0.7908 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000154/0.2788, allocations: 315.7 kB / 0.7911 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.043e-05/0.2789, allocations: 186 kB / 0.7913 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.238e-05/0.279, allocations: 188.2 kB / 0.7915 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.008e-05/0.2791, allocations: 108.9 kB / 0.7916 GB, free: 4.398 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.456e-05/0.2791, allocations: 180.6 kB / 0.7918 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.726e-05/0.2792, allocations: 112.9 kB / 0.7919 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.99e-05/0.2792, allocations: 111.2 kB / 0.792 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2793, allocations: 0 / 0.792 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003115/0.2796, allocations: 28 kB / 0.792 GB, free: 3.961 MB / 0.6075 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.0004988/0.2801, allocations: 0.836 MB / 0.7928 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001552/0.2802, allocations: 75.72 kB / 0.7929 GB, free: 3.023 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.2803, allocations: 0 / 0.7929 GB, free: 3.023 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.822e-06/0.2803, allocations: 5.297 kB / 0.7929 GB, free: 3.02 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000393/0.2807, allocations: 471.7 kB / 0.7933 GB, free: 2.555 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004836/0.2812, allocations: 274.4 kB / 0.7936 GB, free: 2.242 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002725/0.2814, allocations: 0.689 MB / 0.7943 GB, free: 1.527 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000224/0.2817, allocations: 56.59 kB / 0.7943 GB, free: 1.473 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.381e-05/0.2817, allocations: 19.44 kB / 0.7943 GB, free: 1.453 MB / 0.6075 GB Notification: Performance of SimCode: time 2e-07/0.2817, allocations: 0 / 0.7943 GB, free: 1.453 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02022/0.3019, allocations: 2.904 MB / 0.7972 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.047/7.349, allocations: 12.14 kB / 0.7972 GB, free: 14.66 MB / 0.6231 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_IsMonotonic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_IsMonotonic.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)