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.001004/0.001004, allocations: 108 kB / 15.6 MB, free: 132 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.001045/0.001045, allocations: 193 kB / 16.53 MB, free: 6.391 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.207/1.207, allocations: 205.1 MB / 222.4 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.512/1.512, allocations: 292.3 MB / 0.5489 GB, free: 12.86 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.001589/0.001589, allocations: 69.91 kB / 0.6716 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2099/0.2115, allocations: 114.5 MB / 0.7835 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001686/0.2132, allocations: 0.6096 MB / 0.7841 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003268/0.2135, allocations: 71.84 kB / 0.7841 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.515e-05/0.2136, allocations: 0 / 0.7841 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.04e-05/0.2136, allocations: 3.938 kB / 0.7841 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.38e-05/0.2137, allocations: 11.98 kB / 0.7842 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002558/0.2139, allocations: 43.89 kB / 0.7842 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.322e-05/0.214, allocations: 23.97 kB / 0.7842 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.126e-05/0.2141, allocations: 4 kB / 0.7842 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.289e-05/0.2141, allocations: 19.86 kB / 0.7842 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001615/0.2142, allocations: 59.94 kB / 0.7843 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.261e-05/0.2143, allocations: 4 kB / 0.7843 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.215e-05/0.2144, allocations: 35.91 kB / 0.7843 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.995e-05/0.2144, allocations: 23.91 kB / 0.7844 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.826e-05/0.2145, allocations: 19.88 kB / 0.7844 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001164/0.2146, allocations: 67.8 kB / 0.7844 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.2146, allocations: 3.984 kB / 0.7844 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.293e-06/0.2146, allocations: 4 kB / 0.7845 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.219e-06/0.2146, allocations: 0 / 0.7845 GB, free: 12.39 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.0003549/0.215, allocations: 359.7 kB / 0.7848 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.215, allocations: 12.03 kB / 0.7848 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.524e-05/0.2151, allocations: 42.73 kB / 0.7848 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.488e-05/0.2151, allocations: 8.844 kB / 0.7849 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.787e-05/0.2152, allocations: 168.3 kB / 0.785 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.2152, allocations: 8.375 kB / 0.785 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.913e-06/0.2152, allocations: 384 / 0.785 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002292/0.2155, allocations: 181.7 kB / 0.7852 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.2155, allocations: 3.938 kB / 0.7852 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.2155, allocations: 4 kB / 0.7852 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.945e-05/0.2156, allocations: 23.98 kB / 0.7852 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.204e-05/0.2156, allocations: 43.89 kB / 0.7853 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006154/0.2162, allocations: 0.9023 MB / 0.7862 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.898e-05/0.2163, allocations: 165.1 kB / 0.7863 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.905e-05/0.2164, allocations: 80.14 kB / 0.7864 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.318e-05/0.2164, allocations: 79.28 kB / 0.7865 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.16e-05/0.2164, allocations: 121.7 kB / 0.7866 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.2164, allocations: 0 / 0.7866 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 7.382e-05/0.2165, allocations: 37.59 kB / 0.7866 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001397/0.2167, allocations: 391.7 kB / 0.787 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.2168, allocations: 161.7 kB / 0.7871 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/0.2168, allocations: 25.7 kB / 0.7872 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.403e-05/0.2169, allocations: 151.1 kB / 0.7873 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.916e-06/0.2169, allocations: 0 / 0.7873 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.575e-05/0.217, allocations: 53.61 kB / 0.7874 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.366e-05/0.217, allocations: 326.8 kB / 0.7877 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.445e-05/0.2171, allocations: 23.98 kB / 0.7877 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001463/0.2173, allocations: 221.7 kB / 0.7879 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001578/0.2174, allocations: 209.7 kB / 0.7881 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.093e-06/0.2174, allocations: 0 / 0.7881 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000268/0.2177, allocations: 189.2 kB / 0.7883 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.2177, allocations: 16.86 kB / 0.7883 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.2177, allocations: 4 kB / 0.7883 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.2178, allocations: 7.938 kB / 0.7883 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.2179, allocations: 40.58 kB / 0.7884 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/0.2179, allocations: 15.94 kB / 0.7884 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.291e-05/0.218, allocations: 27.69 kB / 0.7884 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/0.218, allocations: 12 kB / 0.7884 GB, free: 7.844 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.0001665/0.2182, allocations: 213 kB / 0.7886 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.744e-05/0.2182, allocations: 109 kB / 0.7887 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.106e-05/0.2183, allocations: 116.8 kB / 0.7888 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.143e-05/0.2183, allocations: 188.2 kB / 0.789 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-05/0.2184, allocations: 184.3 kB / 0.7892 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.765e-05/0.2184, allocations: 184.2 kB / 0.7894 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002077/0.2187, allocations: 417.2 kB / 0.7898 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.418e-05/0.2187, allocations: 105 kB / 0.7899 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.958e-05/0.2187, allocations: 104.9 kB / 0.79 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.468e-05/0.2188, allocations: 180.3 kB / 0.7901 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.621e-05/0.2189, allocations: 185.2 kB / 0.7903 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.348e-05/0.2189, allocations: 184.2 kB / 0.7905 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.173e-05/0.219, allocations: 180.2 kB / 0.7906 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001328/0.2191, allocations: 311.7 kB / 0.7909 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.083e-05/0.2192, allocations: 197.9 kB / 0.7911 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.099e-05/0.2193, allocations: 184.2 kB / 0.7913 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.111e-05/0.2194, allocations: 108.9 kB / 0.7914 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.854e-05/0.2194, allocations: 176.6 kB / 0.7916 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.666e-05/0.2195, allocations: 109 kB / 0.7917 GB, free: 4.254 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.229e-05/0.2195, allocations: 119.2 kB / 0.7918 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2195, allocations: 3.938 kB / 0.7918 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002847/0.2198, allocations: 28 kB / 0.7918 GB, free: 4.105 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.000438/0.2203, allocations: 0.8243 MB / 0.7926 GB, free: 3.254 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001329/0.2204, allocations: 79.77 kB / 0.7927 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 9.047e-06/0.2204, allocations: 4 kB / 0.7927 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.775e-06/0.2204, allocations: 3.938 kB / 0.7927 GB, free: 3.168 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003579/0.2208, allocations: 473 kB / 0.7932 GB, free: 2.703 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005037/0.2213, allocations: 270.4 kB / 0.7934 GB, free: 2.395 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002607/0.2216, allocations: 0.6929 MB / 0.7941 GB, free: 1.676 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002101/0.2218, allocations: 64.36 kB / 0.7942 GB, free: 1.613 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.93e-05/0.2218, allocations: 15.44 kB / 0.7942 GB, free: 1.598 MB / 0.6075 GB Notification: Performance of SimCode: time 2.11e-07/0.2219, allocations: 0 / 0.7942 GB, free: 1.598 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.752/0.9738, allocations: 2.893 MB / 0.797 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/12.2, allocations: 16.38 kB / 0.797 GB, free: 14.8 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)