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.001044/0.001044, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001453/0.001452, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.747/1.747, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.746/1.746, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0005404/0.0005406, allocations: 18.72 kB / 0.6738 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2494/0.2499, allocations: 116.3 MB / 0.7874 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.0008201/0.2508, allocations: 339.5 kB / 0.7877 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003105/0.2512, allocations: 71.81 kB / 0.7878 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.617e-05/0.2512, allocations: 0 / 0.7878 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.66e-05/0.2512, allocations: 3.984 kB / 0.7878 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.739e-05/0.2513, allocations: 8 kB / 0.7878 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002595/0.2516, allocations: 39.89 kB / 0.7879 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.292e-05/0.2516, allocations: 19.98 kB / 0.7879 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.188e-05/0.2517, allocations: 3.984 kB / 0.7879 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.723e-05/0.2517, allocations: 19.94 kB / 0.7879 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002217/0.252, allocations: 75.91 kB / 0.788 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.761e-05/0.252, allocations: 0 / 0.788 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.447e-05/0.2521, allocations: 31.97 kB / 0.788 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.048e-05/0.2521, allocations: 23.92 kB / 0.788 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.945e-05/0.2522, allocations: 33.7 kB / 0.7881 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001051/0.2523, allocations: 35.94 kB / 0.7881 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.2523, allocations: 0 / 0.7881 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.102e-06/0.2523, allocations: 0 / 0.7881 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.2523, allocations: 0 / 0.7881 GB, free: 11.14 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.0003146/0.2526, allocations: 355.5 kB / 0.7884 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.2527, allocations: 8.031 kB / 0.7884 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.095e-05/0.2527, allocations: 38.56 kB / 0.7885 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.032e-05/0.2528, allocations: 7.906 kB / 0.7885 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.2529, allocations: 175 kB / 0.7886 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.2529, allocations: 7.984 kB / 0.7887 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.569e-05/0.2529, allocations: 4 kB / 0.7887 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003068/0.2532, allocations: 173.7 kB / 0.7888 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.2533, allocations: 4 kB / 0.7888 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/0.2533, allocations: 3.938 kB / 0.7888 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.937e-05/0.2534, allocations: 35.91 kB / 0.7889 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.463e-05/0.2535, allocations: 35.91 kB / 0.7889 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007679/0.2542, allocations: 0.8946 MB / 0.7898 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.611e-05/0.2543, allocations: 173.1 kB / 0.7899 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.32e-05/0.2544, allocations: 84.14 kB / 0.79 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.015e-05/0.2545, allocations: 75.28 kB / 0.7901 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.648e-05/0.2545, allocations: 113.8 kB / 0.7902 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.2545, allocations: 3.938 kB / 0.7902 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 9.075e-05/0.2546, allocations: 41.53 kB / 0.7902 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001783/0.2548, allocations: 391.7 kB / 0.7906 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001558/0.255, allocations: 169.2 kB / 0.7908 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/0.255, allocations: 25.7 kB / 0.7908 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.957e-05/0.2551, allocations: 151.3 kB / 0.7909 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.487e-06/0.2551, allocations: 0 / 0.7909 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.544e-06/0.2551, allocations: 8 kB / 0.791 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.2553, allocations: 326.8 kB / 0.7913 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.251e-05/0.2553, allocations: 24.36 kB / 0.7913 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002089/0.2555, allocations: 215.3 kB / 0.7915 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.918e-05/0.2557, allocations: 63.84 kB / 0.7916 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.2557, allocations: 4 kB / 0.7916 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003059/0.256, allocations: 189.1 kB / 0.7917 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.256, allocations: 8 kB / 0.7917 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.256, allocations: 4.656 kB / 0.7918 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.256, allocations: 8 kB / 0.7918 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.2562, allocations: 39.92 kB / 0.7918 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.2562, allocations: 11.98 kB / 0.7918 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.2563, allocations: 31.69 kB / 0.7918 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.533e-05/0.2563, allocations: 12 kB / 0.7919 GB, free: 6.867 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001502/0.2565, allocations: 216.9 kB / 0.7921 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.396e-05/0.2566, allocations: 113.9 kB / 0.7922 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.404e-05/0.2567, allocations: 112.9 kB / 0.7923 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.647e-05/0.2567, allocations: 192.2 kB / 0.7925 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.364e-05/0.2568, allocations: 180.3 kB / 0.7926 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.121e-05/0.2569, allocations: 176.3 kB / 0.7928 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002812/0.2572, allocations: 425.1 kB / 0.7932 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.214e-05/0.2572, allocations: 109 kB / 0.7933 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.239e-05/0.2573, allocations: 108.9 kB / 0.7934 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-05/0.2574, allocations: 180.4 kB / 0.7936 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.763e-05/0.2575, allocations: 180.3 kB / 0.7938 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.563e-05/0.2576, allocations: 184.2 kB / 0.7939 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.526e-05/0.2577, allocations: 176.4 kB / 0.7941 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001577/0.2578, allocations: 319.7 kB / 0.7944 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.882e-05/0.2579, allocations: 190 kB / 0.7946 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.483e-05/0.258, allocations: 188.1 kB / 0.7948 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.2581, allocations: 109 kB / 0.7949 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.004e-05/0.2582, allocations: 184.2 kB / 0.795 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.382e-05/0.2583, allocations: 105 kB / 0.7951 GB, free: 3.266 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.243e-05/0.2584, allocations: 111.8 kB / 0.7953 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2584, allocations: 0 / 0.7953 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003515/0.2587, allocations: 28 kB / 0.7953 GB, free: 3.129 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005762/0.2593, allocations: 0.832 MB / 0.7961 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001681/0.2595, allocations: 67.78 kB / 0.7962 GB, free: 2.203 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.2595, allocations: 4 kB / 0.7962 GB, free: 2.199 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.154e-06/0.2595, allocations: 1.312 kB / 0.7962 GB, free: 2.199 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004132/0.2599, allocations: 0.5407 MB / 0.7967 GB, free: 1.656 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005743/0.2605, allocations: 279.2 kB / 0.797 GB, free: 1.344 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003169/0.2608, allocations: 0.6971 MB / 0.7976 GB, free: 0.6211 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002343/0.2611, allocations: 64.36 kB / 0.7977 GB, free: 0.5586 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.534e-05/0.2611, allocations: 19.44 kB / 0.7977 GB, free: 0.5391 MB / 0.6075 GB Notification: Performance of SimCode: time 4.51e-07/0.2611, allocations: 4 kB / 0.7977 GB, free: 0.5352 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01416/0.2753, allocations: 2.769 MB / 0.8004 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001763/0.2755, allocations: 187.6 kB / 0.8006 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.931/2.207, allocations: 0 / 0.8006 GB, free: 13.69 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/linux/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) Environment - environmentSimulation: