Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.292/1.292, allocations: 251.5 MB / 266.7 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00101/0.00101, allocations: 166.8 kB / 325.8 MB, free: 2.73 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.773/1.773, allocations: 205 MB / 0.576 GB, free: 21.01 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008113/0.0008113, allocations: 98.83 kB / 0.6797 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003678/0.0003679, allocations: 8.469 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2018/0.2022, allocations: 105.4 MB / 0.8962 GB, free: 68.14 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.0007354/0.203, allocations: 358.9 kB / 0.8966 GB, free: 67.79 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003337/0.2033, allocations: 67.84 kB / 0.8966 GB, free: 67.73 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.269e-05/0.2033, allocations: 0 / 0.8966 GB, free: 67.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.393e-05/0.2034, allocations: 4 kB / 0.8966 GB, free: 67.72 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.708e-05/0.2034, allocations: 11.92 kB / 0.8966 GB, free: 67.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002496/0.2037, allocations: 31.95 kB / 0.8967 GB, free: 67.68 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.599e-05/0.2038, allocations: 31.92 kB / 0.8967 GB, free: 67.65 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.729e-05/0.2038, allocations: 3.938 kB / 0.8967 GB, free: 67.64 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.756e-05/0.2039, allocations: 15.97 kB / 0.8967 GB, free: 67.63 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001925/0.2041, allocations: 71.81 kB / 0.8968 GB, free: 67.56 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.56e-05/0.2041, allocations: 0 / 0.8968 GB, free: 67.56 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001116/0.2042, allocations: 39.95 kB / 0.8968 GB, free: 67.52 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.881e-05/0.2043, allocations: 23.97 kB / 0.8968 GB, free: 67.5 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.441e-05/0.2043, allocations: 15.81 kB / 0.8969 GB, free: 67.48 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001164/0.2044, allocations: 67.84 kB / 0.8969 GB, free: 67.41 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.2044, allocations: 0 / 0.8969 GB, free: 67.41 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.903e-06/0.2045, allocations: 0 / 0.8969 GB, free: 67.41 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.2045, allocations: 4 kB / 0.8969 GB, free: 67.41 MB / 0.6042 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.0002652/0.2047, allocations: 343.8 kB / 0.8973 GB, free: 67.02 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.2048, allocations: 12.03 kB / 0.8973 GB, free: 67.01 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.624e-05/0.2048, allocations: 42.73 kB / 0.8973 GB, free: 66.96 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.245e-05/0.2049, allocations: 8.844 kB / 0.8973 GB, free: 66.95 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.929e-05/0.2049, allocations: 168.3 kB / 0.8975 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.2049, allocations: 8.359 kB / 0.8975 GB, free: 66.74 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.939e-06/0.205, allocations: 384 / 0.8975 GB, free: 66.74 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001951/0.2052, allocations: 187.2 kB / 0.8977 GB, free: 66.54 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.2052, allocations: 0 / 0.8977 GB, free: 66.54 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.2052, allocations: 4 kB / 0.8977 GB, free: 66.53 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.417e-05/0.2052, allocations: 15.98 kB / 0.8977 GB, free: 66.52 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.553e-05/0.2053, allocations: 43.89 kB / 0.8977 GB, free: 66.47 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004846/0.2058, allocations: 0.91 MB / 0.8986 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.467e-05/0.2058, allocations: 173.9 kB / 0.8988 GB, free: 65.31 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.879e-05/0.2059, allocations: 80.14 kB / 0.8989 GB, free: 65.23 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.545e-05/0.2059, allocations: 75.28 kB / 0.8989 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.2059, allocations: 113.8 kB / 0.899 GB, free: 65.04 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.2059, allocations: 0 / 0.899 GB, free: 65.04 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 7.308e-05/0.206, allocations: 33.61 kB / 0.8991 GB, free: 65 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001066/0.2061, allocations: 391.7 kB / 0.8994 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.2062, allocations: 158.5 kB / 0.8996 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.191e-05/0.2063, allocations: 29.64 kB / 0.8996 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.423e-05/0.2063, allocations: 163 kB / 0.8998 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.198e-06/0.2063, allocations: 0 / 0.8998 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.718e-05/0.2064, allocations: 21.72 kB / 0.8998 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.041e-05/0.2064, allocations: 326.8 kB / 0.9001 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.07e-05/0.2065, allocations: 23.98 kB / 0.9001 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001097/0.2066, allocations: 229.9 kB / 0.9003 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00013/0.2067, allocations: 197.8 kB / 0.9005 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.2067, allocations: 4.094 kB / 0.9005 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002427/0.207, allocations: 193.5 kB / 0.9007 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.207, allocations: 4 kB / 0.9007 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.207, allocations: 8 kB / 0.9007 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.207, allocations: 7.938 kB / 0.9007 GB, free: 63 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.2072, allocations: 39.92 kB / 0.9008 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/0.2072, allocations: 7.938 kB / 0.9008 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.208e-05/0.2073, allocations: 31.69 kB / 0.9008 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.272e-05/0.2073, allocations: 12 kB / 0.9008 GB, free: 62.91 MB / 0.6042 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 8.648e-05/0.2074, allocations: 217.3 kB / 0.901 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.667e-05/0.2074, allocations: 112.9 kB / 0.9011 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.39e-05/0.2075, allocations: 120.8 kB / 0.9013 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.189e-05/0.2075, allocations: 180.2 kB / 0.9014 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.448e-05/0.2076, allocations: 184.2 kB / 0.9016 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.215e-05/0.2076, allocations: 180.3 kB / 0.9018 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000156/0.2078, allocations: 421.2 kB / 0.9022 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.9e-05/0.2078, allocations: 104.9 kB / 0.9023 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.968e-05/0.2078, allocations: 105 kB / 0.9024 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.58e-05/0.2078, allocations: 184.2 kB / 0.9026 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.437e-05/0.2079, allocations: 180.3 kB / 0.9027 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.252e-05/0.2079, allocations: 188.2 kB / 0.9029 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.297e-05/0.208, allocations: 184.2 kB / 0.9031 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.387e-05/0.208, allocations: 312.5 kB / 0.9034 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.277e-05/0.2081, allocations: 186 kB / 0.9036 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.344e-05/0.2082, allocations: 184.3 kB / 0.9037 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.48e-05/0.2083, allocations: 112.9 kB / 0.9038 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.576e-05/0.2083, allocations: 176.3 kB / 0.904 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.876e-05/0.2083, allocations: 108.9 kB / 0.9041 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.254e-05/0.2084, allocations: 119.2 kB / 0.9042 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9e-08/0.2084, allocations: 0 / 0.9042 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002576/0.2087, allocations: 24 kB / 0.9043 GB, free: 59.18 MB / 0.6042 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.000324/0.209, allocations: 0.8285 MB / 0.9051 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000123/0.2091, allocations: 84.64 kB / 0.9051 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.2091, allocations: 0 / 0.9051 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.333e-06/0.2091, allocations: 16 / 0.9051 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002721/0.2094, allocations: 0.534 MB / 0.9057 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003939/0.2098, allocations: 296.8 kB / 0.9059 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001196/0.2099, allocations: 0.6893 MB / 0.9066 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001819/0.2101, allocations: 60.58 kB / 0.9067 GB, free: 56.6 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.783e-05/0.2102, allocations: 23.44 kB / 0.9067 GB, free: 56.58 MB / 0.6042 GB Notification: Performance of SimCode: time 2.1e-07/0.2102, allocations: 3.938 kB / 0.9067 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0113/0.2215, allocations: 2.814 MB / 0.9095 GB, free: 53.94 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001207/0.2216, allocations: 218.4 kB / 0.9097 GB, free: 53.68 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.565/1.786, allocations: 4 kB / 0.9097 GB, free: 53.68 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_IsMonotonic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_IsMonotonic.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)