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.0008353/0.0008353, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.004734/0.004734, allocations: 169.7 kB / 16.27 MB, free: 6.652 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.701/1.701, allocations: 205.4 MB / 222.4 MB, free: 5.789 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.662/1.662, allocations: 292.7 MB / 0.5502 GB, free: 14.47 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.0005294/0.0005294, allocations: 18.34 kB / 0.6744 GB, free: 26.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2635/0.264, allocations: 116.3 MB / 0.788 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.0007329/0.2648, allocations: 351.5 kB / 0.7883 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003202/0.2651, allocations: 67.84 kB / 0.7884 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.924e-05/0.2651, allocations: 0 / 0.7884 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.662e-05/0.2652, allocations: 4 kB / 0.7884 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.96e-05/0.2652, allocations: 4 kB / 0.7884 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002363/0.2655, allocations: 35.95 kB / 0.7884 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.857e-05/0.2655, allocations: 31.89 kB / 0.7885 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.991e-05/0.2656, allocations: 4 kB / 0.7885 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.726e-05/0.2656, allocations: 19.92 kB / 0.7885 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001752/0.2658, allocations: 59.94 kB / 0.7886 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.355e-05/0.2658, allocations: 4 kB / 0.7886 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.599e-05/0.2659, allocations: 35.95 kB / 0.7886 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.004e-05/0.266, allocations: 23.91 kB / 0.7886 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.086e-05/0.266, allocations: 49.58 kB / 0.7887 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001062/0.2661, allocations: 63.8 kB / 0.7887 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.2661, allocations: 0 / 0.7887 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.734e-06/0.2661, allocations: 0 / 0.7887 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.2662, allocations: 0 / 0.7887 GB, free: 10.72 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.0002846/0.2664, allocations: 351.7 kB / 0.7891 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.2665, allocations: 8.031 kB / 0.7891 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.914e-05/0.2665, allocations: 42.73 kB / 0.7891 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.918e-05/0.2666, allocations: 12.83 kB / 0.7891 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.73e-05/0.2667, allocations: 168.3 kB / 0.7893 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.335e-06/0.2667, allocations: 4.375 kB / 0.7893 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.492e-06/0.2667, allocations: 384 / 0.7893 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002138/0.2669, allocations: 187.1 kB / 0.7895 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.2669, allocations: 4 kB / 0.7895 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.2669, allocations: 4 kB / 0.7895 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.08e-05/0.267, allocations: 31.92 kB / 0.7895 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.079e-05/0.2671, allocations: 35.91 kB / 0.7895 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006142/0.2677, allocations: 0.8984 MB / 0.7904 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.095e-05/0.2678, allocations: 173.1 kB / 0.7906 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.563e-05/0.2678, allocations: 80.14 kB / 0.7907 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.733e-05/0.2678, allocations: 79.28 kB / 0.7907 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.067e-05/0.2679, allocations: 117.8 kB / 0.7908 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.2679, allocations: 0 / 0.7908 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 7.039e-05/0.268, allocations: 41.55 kB / 0.7909 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001578/0.2681, allocations: 383.7 kB / 0.7913 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.2683, allocations: 173 kB / 0.7914 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.2683, allocations: 29.7 kB / 0.7914 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.227e-05/0.2684, allocations: 143.2 kB / 0.7916 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.839e-06/0.2684, allocations: 3.984 kB / 0.7916 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.921e-05/0.2684, allocations: 25.72 kB / 0.7916 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.2685, allocations: 322.8 kB / 0.7919 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.638e-05/0.2686, allocations: 23.98 kB / 0.7919 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001647/0.2687, allocations: 218.5 kB / 0.7921 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001766/0.2689, allocations: 209.7 kB / 0.7923 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.2689, allocations: 0 / 0.7923 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000273/0.2692, allocations: 185.1 kB / 0.7925 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.2692, allocations: 8 kB / 0.7925 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.014e-06/0.2692, allocations: 4 kB / 0.7925 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.2693, allocations: 12.58 kB / 0.7925 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.2694, allocations: 43.92 kB / 0.7926 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.2694, allocations: 12 kB / 0.7926 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.307e-05/0.2695, allocations: 27.69 kB / 0.7926 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.2695, allocations: 12 kB / 0.7926 GB, free: 6.215 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.0001135/0.2696, allocations: 213 kB / 0.7928 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.837e-05/0.2697, allocations: 116.8 kB / 0.793 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.339e-05/0.2698, allocations: 112.8 kB / 0.7931 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.31e-05/0.2698, allocations: 192.1 kB / 0.7932 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.523e-05/0.2699, allocations: 180.3 kB / 0.7934 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.634e-05/0.2699, allocations: 184.3 kB / 0.7936 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000223/0.2702, allocations: 421.1 kB / 0.794 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.913e-05/0.2702, allocations: 105 kB / 0.7941 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.253e-05/0.2703, allocations: 104.9 kB / 0.7942 GB, free: 4.5 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.363e-05/0.2703, allocations: 181.4 kB / 0.7944 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.869e-05/0.2704, allocations: 184.2 kB / 0.7945 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.507e-05/0.2704, allocations: 184.1 kB / 0.7947 GB, free: 3.941 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-05/0.2705, allocations: 180.2 kB / 0.7949 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001334/0.2706, allocations: 315.7 kB / 0.7952 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.48e-05/0.2707, allocations: 190 kB / 0.7954 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.793e-05/0.2708, allocations: 180.2 kB / 0.7955 GB, free: 3.031 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.345e-05/0.2709, allocations: 113.2 kB / 0.7957 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.498e-05/0.271, allocations: 180.2 kB / 0.7958 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.968e-05/0.271, allocations: 109 kB / 0.7959 GB, free: 2.617 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.203e-05/0.2711, allocations: 115.2 kB / 0.796 GB, free: 2.504 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2711, allocations: 0 / 0.796 GB, free: 2.504 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002894/0.2714, allocations: 31.98 kB / 0.7961 GB, free: 2.473 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.000408/0.2718, allocations: 0.8242 MB / 0.7969 GB, free: 1.621 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001332/0.2719, allocations: 75.78 kB / 0.7969 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.272, allocations: 4 kB / 0.797 GB, free: 1.543 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.272, allocations: 0 / 0.797 GB, free: 1.543 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003616/0.2723, allocations: 0.5423 MB / 0.7975 GB, free: 1 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004958/0.2728, allocations: 292.1 kB / 0.7978 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002939/0.2731, allocations: 0.697 MB / 0.7984 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001898/0.2733, allocations: 60.38 kB / 0.7985 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.751e-05/0.2734, allocations: 15.44 kB / 0.7985 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of SimCode: time 3e-07/0.2734, allocations: 0 / 0.7985 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01195/0.2853, allocations: 2.819 MB / 0.8013 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001879/0.2856, allocations: 201.4 kB / 0.8015 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.685/1.971, allocations: 64 / 0.8015 GB, free: 12.96 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)