Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.736/2.736, allocations: 287.3 MB / 302.3 MB, free: 8.363 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00157/0.00157, allocations: 181.8 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.355/2.355, allocations: 205.4 MB / 0.6295 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001992/0.001991, allocations: 101.4 kB / 0.7428 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005051/0.0005054, allocations: 12.84 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2156/0.2161, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.0008133/0.217, allocations: 341.8 kB / 0.9786 GB, free: 27.95 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0003049/0.2174, allocations: 69.58 kB / 0.9787 GB, free: 27.88 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.182e-05/0.2174, allocations: 0 / 0.9787 GB, free: 27.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.419e-05/0.2175, allocations: 0 / 0.9787 GB, free: 27.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.654e-05/0.2175, allocations: 4 kB / 0.9787 GB, free: 27.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002632/0.2178, allocations: 39.89 kB / 0.9787 GB, free: 27.84 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.643e-05/0.2179, allocations: 19.97 kB / 0.9787 GB, free: 27.82 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.317e-05/0.2179, allocations: 3.984 kB / 0.9788 GB, free: 27.82 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.02e-05/0.218, allocations: 20 kB / 0.9788 GB, free: 27.8 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002407/0.2182, allocations: 71.86 kB / 0.9788 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.508e-05/0.2183, allocations: 0 / 0.9788 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001118/0.2184, allocations: 39.94 kB / 0.9789 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.623e-05/0.2184, allocations: 12 kB / 0.9789 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.786e-05/0.2185, allocations: 33.64 kB / 0.9789 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001027/0.2186, allocations: 47.92 kB / 0.979 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.2186, allocations: 0 / 0.979 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.114e-06/0.2186, allocations: 3.938 kB / 0.979 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.2186, allocations: 0 / 0.979 GB, free: 27.59 MB / 0.6198 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.000293/0.2189, allocations: 355.5 kB / 0.9793 GB, free: 27.19 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.219, allocations: 12.02 kB / 0.9793 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.628e-05/0.219, allocations: 38.55 kB / 0.9794 GB, free: 27.13 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.902e-05/0.2191, allocations: 7.906 kB / 0.9794 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.234e-05/0.2192, allocations: 174.9 kB / 0.9795 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.2192, allocations: 4 kB / 0.9795 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.161e-05/0.2192, allocations: 3.984 kB / 0.9795 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002671/0.2195, allocations: 175.3 kB / 0.9797 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.679e-06/0.2195, allocations: 0 / 0.9797 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.828e-05/0.2195, allocations: 7.984 kB / 0.9797 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.463e-05/0.2196, allocations: 19.98 kB / 0.9797 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.057e-05/0.2197, allocations: 35.91 kB / 0.9798 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006441/0.2203, allocations: 0.8985 MB / 0.9806 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.875e-05/0.2204, allocations: 173.1 kB / 0.9808 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.774e-05/0.2205, allocations: 83.22 kB / 0.9809 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.964e-05/0.2205, allocations: 105.8 kB / 0.981 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 2.024e-06/0.2206, allocations: 0 / 0.981 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 9.256e-05/0.2207, allocations: 37.61 kB / 0.981 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/0.2208, allocations: 387.7 kB / 0.9814 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001604/0.2209, allocations: 169.2 kB / 0.9816 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/0.221, allocations: 29.7 kB / 0.9816 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.814e-05/0.2211, allocations: 151.3 kB / 0.9817 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.961e-06/0.2211, allocations: 3.984 kB / 0.9817 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.675e-06/0.2211, allocations: 8 kB / 0.9817 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.373e-05/0.2212, allocations: 318.8 kB / 0.982 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.775e-05/0.2212, allocations: 28.34 kB / 0.9821 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001693/0.2214, allocations: 223.3 kB / 0.9823 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001224/0.2215, allocations: 59.84 kB / 0.9823 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.2216, allocations: 8 kB / 0.9824 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003774/0.2219, allocations: 185.7 kB / 0.9825 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.222, allocations: 12.03 kB / 0.9825 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.222, allocations: 4 kB / 0.9825 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.428e-05/0.222, allocations: 8 kB / 0.9826 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002134/0.2223, allocations: 39.92 kB / 0.9826 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.281e-05/0.2223, allocations: 7.938 kB / 0.9826 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001277/0.2224, allocations: 35.62 kB / 0.9826 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.676e-05/0.2224, allocations: 12 kB / 0.9826 GB, free: 23.4 MB / 0.6198 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.0001282/0.2226, allocations: 216.9 kB / 0.9828 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.437e-05/0.2227, allocations: 113 kB / 0.983 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.143e-05/0.2227, allocations: 125.8 kB / 0.9831 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.489e-05/0.2228, allocations: 184.2 kB / 0.9833 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-05/0.2228, allocations: 176.3 kB / 0.9834 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-05/0.2228, allocations: 180.2 kB / 0.9836 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002061/0.2231, allocations: 429.2 kB / 0.984 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.096e-05/0.2231, allocations: 101 kB / 0.9841 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.953e-05/0.2231, allocations: 104.9 kB / 0.9842 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.423e-05/0.2232, allocations: 180.3 kB / 0.9844 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.151e-05/0.2232, allocations: 188.4 kB / 0.9845 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.661e-05/0.2233, allocations: 180.3 kB / 0.9847 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-05/0.2233, allocations: 188.2 kB / 0.9849 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001064/0.2234, allocations: 311.8 kB / 0.9852 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.544e-05/0.2235, allocations: 189.9 kB / 0.9854 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.942e-05/0.2236, allocations: 180.3 kB / 0.9856 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.966e-05/0.2237, allocations: 112.9 kB / 0.9857 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.395e-05/0.2237, allocations: 184.2 kB / 0.9858 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.107e-05/0.2238, allocations: 101 kB / 0.9859 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001099/0.2239, allocations: 119 kB / 0.986 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.31e-07/0.2239, allocations: 3.938 kB / 0.986 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004287/0.2243, allocations: 28 kB / 0.9861 GB, free: 19.67 MB / 0.6198 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.0003972/0.2247, allocations: 0.8321 MB / 0.9869 GB, free: 18.81 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002164/0.225, allocations: 68.72 kB / 0.987 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.225, allocations: 384 / 0.987 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.741e-06/0.225, allocations: 11.94 kB / 0.987 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002694/0.2253, allocations: 0.5263 MB / 0.9875 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005759/0.2259, allocations: 284.1 kB / 0.9877 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001558/0.226, allocations: 0.6971 MB / 0.9884 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003024/0.2264, allocations: 56.59 kB / 0.9885 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.895e-05/0.2264, allocations: 23.44 kB / 0.9885 GB, free: 17.08 MB / 0.6198 GB Notification: Performance of SimCode: time 1.202e-06/0.2264, allocations: 0 / 0.9885 GB, free: 17.08 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02231/0.2487, allocations: 2.758 MB / 0.9912 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001664/0.249, allocations: 181.7 kB / 0.9914 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.577/2.826, allocations: 0 / 0.9914 GB, free: 14.25 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_IsMonotonic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_IsMonotonic.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)