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.395/1.395, allocations: 252 MB / 267 MB, free: 10.95 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.001099/0.001099, allocations: 177 kB / 326.6 MB, free: 2.203 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.707/1.707, allocations: 205.4 MB / 0.5776 GB, free: 20.22 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.0007764/0.0007763, allocations: 87.73 kB / 0.6822 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003251/0.0003252, allocations: 16.77 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.217/0.2173, allocations: 106.3 MB / 0.9003 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.0007325/0.2181, allocations: 346 kB / 0.9006 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003219/0.2185, allocations: 73.11 kB / 0.9007 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.392e-05/0.2185, allocations: 4 kB / 0.9007 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.888e-05/0.2186, allocations: 0 / 0.9007 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.804e-05/0.2186, allocations: 7.938 kB / 0.9007 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000285/0.2189, allocations: 35.95 kB / 0.9008 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.867e-05/0.219, allocations: 19.98 kB / 0.9008 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.466e-05/0.219, allocations: 3.984 kB / 0.9008 GB, free: 63.28 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.828e-05/0.2191, allocations: 15.94 kB / 0.9008 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000221/0.2193, allocations: 75.91 kB / 0.9009 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.249e-05/0.2194, allocations: 4 kB / 0.9009 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001256/0.2195, allocations: 35.97 kB / 0.9009 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.922e-05/0.2195, allocations: 19.92 kB / 0.9009 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.036e-05/0.2196, allocations: 29.7 kB / 0.901 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001213/0.2197, allocations: 39.94 kB / 0.901 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 8.716e-06/0.2197, allocations: 7.938 kB / 0.901 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.597e-06/0.2197, allocations: 3.938 kB / 0.901 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.356e-06/0.2198, allocations: 0 / 0.901 GB, free: 63.05 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.0003499/0.2201, allocations: 339.7 kB / 0.9013 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/0.2202, allocations: 12.03 kB / 0.9013 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.332e-05/0.2202, allocations: 42.56 kB / 0.9014 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.836e-05/0.2203, allocations: 11.91 kB / 0.9014 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.084e-05/0.2204, allocations: 171 kB / 0.9016 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.2204, allocations: 3.984 kB / 0.9016 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.015e-05/0.2204, allocations: 4 kB / 0.9016 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002962/0.2207, allocations: 174.1 kB / 0.9017 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.2207, allocations: 4 kB / 0.9017 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.999e-05/0.2208, allocations: 4 kB / 0.9017 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.362e-05/0.2208, allocations: 27.91 kB / 0.9018 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.824e-05/0.2209, allocations: 39.89 kB / 0.9018 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006911/0.2216, allocations: 0.9022 MB / 0.9027 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 6.511e-05/0.2217, allocations: 173.1 kB / 0.9028 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.395e-05/0.2217, allocations: 80.14 kB / 0.9029 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.2218, allocations: 79.28 kB / 0.903 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.094e-05/0.2218, allocations: 109.8 kB / 0.9031 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 1.333e-06/0.2218, allocations: 7.875 kB / 0.9031 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 0.0001003/0.2219, allocations: 41.64 kB / 0.9031 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001187/0.222, allocations: 387.7 kB / 0.9035 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002232/0.2223, allocations: 162.3 kB / 0.9037 GB, free: 60 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.309e-05/0.2223, allocations: 29.7 kB / 0.9037 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.423e-05/0.2224, allocations: 155.2 kB / 0.9039 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.324e-06/0.2224, allocations: 0 / 0.9039 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.262e-06/0.2224, allocations: 8 kB / 0.9039 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.129e-05/0.2225, allocations: 322.8 kB / 0.9042 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.284e-05/0.2226, allocations: 28.34 kB / 0.9042 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001311/0.2227, allocations: 226.7 kB / 0.9044 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.55e-05/0.2228, allocations: 55.86 kB / 0.9045 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.2228, allocations: 0 / 0.9045 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002965/0.2231, allocations: 189.8 kB / 0.9046 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.2231, allocations: 4 kB / 0.9046 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.2232, allocations: 8.031 kB / 0.9047 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.432e-05/0.2232, allocations: 8 kB / 0.9047 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001362/0.2233, allocations: 43.92 kB / 0.9047 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.406e-05/0.2233, allocations: 7.984 kB / 0.9047 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001223/0.2235, allocations: 23.75 kB / 0.9047 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.657e-05/0.2235, allocations: 16 kB / 0.9047 GB, free: 58.79 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001241/0.2236, allocations: 213 kB / 0.905 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.139e-05/0.2237, allocations: 120.8 kB / 0.9051 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.468e-05/0.2238, allocations: 116.9 kB / 0.9052 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.245e-05/0.2238, allocations: 184.2 kB / 0.9054 GB, free: 58.13 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.285e-05/0.2238, allocations: 176.3 kB / 0.9055 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.044e-05/0.2239, allocations: 176.3 kB / 0.9057 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001863/0.2241, allocations: 425.1 kB / 0.9061 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.3e-05/0.2241, allocations: 109 kB / 0.9062 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.352e-05/0.2242, allocations: 108.9 kB / 0.9063 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.46e-05/0.2242, allocations: 184.3 kB / 0.9065 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.018e-05/0.2242, allocations: 176.3 kB / 0.9066 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.999e-05/0.2243, allocations: 184.4 kB / 0.9068 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.253e-05/0.2243, allocations: 188.3 kB / 0.907 GB, free: 56.32 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001132/0.2245, allocations: 319.6 kB / 0.9073 GB, free: 55.99 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.235e-05/0.2245, allocations: 185.9 kB / 0.9075 GB, free: 55.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.174e-05/0.2246, allocations: 192.2 kB / 0.9077 GB, free: 55.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.635e-05/0.2247, allocations: 109 kB / 0.9078 GB, free: 55.47 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.077e-05/0.2247, allocations: 184.2 kB / 0.9079 GB, free: 55.29 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-05/0.2248, allocations: 101 kB / 0.908 GB, free: 55.18 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.985e-05/0.2248, allocations: 115.8 kB / 0.9082 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.11e-07/0.2248, allocations: 0 / 0.9082 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000352/0.2252, allocations: 24 kB / 0.9082 GB, free: 55.04 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 (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.0003434/0.2255, allocations: 0.832 MB / 0.909 GB, free: 54.18 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001414/0.2257, allocations: 73.03 kB / 0.9091 GB, free: 54.11 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.2257, allocations: 0 / 0.9091 GB, free: 54.11 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.713e-06/0.2257, allocations: 0 / 0.9091 GB, free: 54.11 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002811/0.226, allocations: 0.5474 MB / 0.9096 GB, free: 53.56 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005255/0.2265, allocations: 284.1 kB / 0.9099 GB, free: 53.25 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001264/0.2267, allocations: 0.6932 MB / 0.9105 GB, free: 52.52 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001958/0.2269, allocations: 56.58 kB / 0.9106 GB, free: 52.47 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.974e-05/0.2269, allocations: 19.44 kB / 0.9106 GB, free: 52.45 MB / 0.6042 GB Notification: Performance of SimCode: time 4.21e-07/0.2269, allocations: 0 / 0.9106 GB, free: 52.45 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01306/0.24, allocations: 2.781 MB / 0.9133 GB, free: 49.85 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001577/0.2402, allocations: 200.1 kB / 0.9135 GB, free: 49.62 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.507/1.747, allocations: 4.062 kB / 0.9135 GB, free: 49.61 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)