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.509/1.509, allocations: 249.5 MB / 257 MB, free: 6.879 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00112/0.00112, allocations: 172.8 kB / 316.3 MB, free: 3.246 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.765/1.765, allocations: 205.3 MB / 0.5671 GB, free: 15.82 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.0009414/0.0009414, allocations: 81.8 kB / 0.6714 GB, free: 4.949 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.288e-05/2.291e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2403/0.2403, allocations: 106.3 MB / 0.8853 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7832/1.024, allocations: 131.7 MB / 1.014 GB, free: 5.68 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002465/1.024, allocations: 73.08 kB / 1.014 GB, free: 5.637 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003006/1.027, allocations: 1.177 MB / 1.015 GB, free: 4.547 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.664e-06/1.027, allocations: 0 / 1.015 GB, free: 4.547 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.989e-06/1.027, allocations: 0.75 kB / 1.015 GB, free: 4.547 MB / 0.6355 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.0002976/1.027, allocations: 344.9 kB / 1.015 GB, free: 4.172 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/1.027, allocations: 8.031 kB / 1.015 GB, free: 4.164 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.079e-05/1.027, allocations: 11.89 kB / 1.015 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/1.027, allocations: 174.9 kB / 1.016 GB, free: 3.941 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/1.027, allocations: 0 / 1.016 GB, free: 3.941 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.374e-06/1.027, allocations: 4 kB / 1.016 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.877e-05/1.028, allocations: 35.55 kB / 1.016 GB, free: 3.902 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001921/1.028, allocations: 157 kB / 1.016 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/1.028, allocations: 0 / 1.016 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.79e-05/1.028, allocations: 4 kB / 1.016 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-05/1.028, allocations: 19.98 kB / 1.016 GB, free: 3.723 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006327/1.029, allocations: 0.8768 MB / 1.017 GB, free: 2.82 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.424e-05/1.029, allocations: 169.1 kB / 1.017 GB, free: 2.645 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.373e-05/1.029, allocations: 80.14 kB / 1.017 GB, free: 2.562 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.281e-05/1.029, allocations: 75.28 kB / 1.017 GB, free: 2.488 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.227e-05/1.029, allocations: 113.1 kB / 1.017 GB, free: 2.371 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 1.182e-06/1.029, allocations: 0 / 1.017 GB, free: 2.371 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 8.155e-05/1.029, allocations: 40.27 kB / 1.017 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000145/1.029, allocations: 315.9 kB / 1.017 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/1.029, allocations: 149.5 kB / 1.018 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/1.029, allocations: 25.7 kB / 1.018 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.325e-05/1.029, allocations: 154.2 kB / 1.018 GB, free: 1.633 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.555e-06/1.029, allocations: 0 / 1.018 GB, free: 1.633 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.047e-06/1.029, allocations: 0 / 1.018 GB, free: 1.633 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001091/1.029, allocations: 318.2 kB / 1.018 GB, free: 1.316 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.312e-05/1.029, allocations: 31.3 kB / 1.018 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001454/1.03, allocations: 201.4 kB / 1.018 GB, free: 1.012 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.963e-05/1.03, allocations: 65.77 kB / 1.018 GB, free: 0.9531 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/1.03, allocations: 3.953 kB / 1.018 GB, free: 0.9492 MB / 0.6355 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002519/1.03, allocations: 160.1 kB / 1.019 GB, free: 0.7969 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/1.03, allocations: 4 kB / 1.019 GB, free: 0.793 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/1.03, allocations: 8 kB / 1.019 GB, free: 0.7852 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/1.03, allocations: 7.938 kB / 1.019 GB, free: 0.7773 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/1.03, allocations: 43.48 kB / 1.019 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.261e-05/1.03, allocations: 8.578 kB / 1.019 GB, free: 0.7305 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.081e-05/1.03, allocations: 23.84 kB / 1.019 GB, free: 0.707 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.378e-05/1.03, allocations: 11.94 kB / 1.019 GB, free: 0.6953 MB / 0.6355 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 () * 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.000115/1.03, allocations: 192.1 kB / 1.019 GB, free: 0.5 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.394e-05/1.03, allocations: 149.8 kB / 1.019 GB, free: 352 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.163e-05/1.031, allocations: 108.9 kB / 1.019 GB, free: 236 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.024e-05/1.031, allocations: 113.2 kB / 1.019 GB, free: 112 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.379e-05/1.031, allocations: 184.2 kB / 1.019 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.435e-05/1.031, allocations: 187.7 kB / 1.02 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.363e-05/1.031, allocations: 176.3 kB / 1.02 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002139/1.031, allocations: 404.4 kB / 1.02 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-05/1.031, allocations: 105 kB / 1.02 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.762e-05/1.031, allocations: 101 kB / 1.02 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.009e-05/1.031, allocations: 184.3 kB / 1.02 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.554e-05/1.031, allocations: 185.1 kB / 1.021 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-05/1.031, allocations: 185.2 kB / 1.021 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.49e-05/1.031, allocations: 176.3 kB / 1.021 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001267/1.031, allocations: 315 kB / 1.021 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.58e-05/1.032, allocations: 189.9 kB / 1.021 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.625e-05/1.032, allocations: 180.3 kB / 1.022 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.716e-05/1.032, allocations: 104.9 kB / 1.022 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.171e-05/1.032, allocations: 183.6 kB / 1.022 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-05/1.032, allocations: 104.9 kB / 1.022 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 7.072e-05/1.032, allocations: 117.5 kB / 1.022 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.61e-07/1.032, allocations: 0 / 1.022 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002947/1.032, allocations: 20 kB / 1.022 GB, free: 12.92 MB / 0.6511 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 () * 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.0004464/1.033, allocations: 0.836 MB / 1.023 GB, free: 12.06 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001318/1.033, allocations: 65.86 kB / 1.023 GB, free: 12 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/1.033, allocations: 0 / 1.023 GB, free: 12 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.242e-06/1.033, allocations: 0 / 1.023 GB, free: 12 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002836/1.033, allocations: 0.5345 MB / 1.024 GB, free: 11.47 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004264/1.034, allocations: 225.2 kB / 1.024 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002505/1.034, allocations: 0.6968 MB / 1.024 GB, free: 10.49 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001615/1.034, allocations: 48.72 kB / 1.024 GB, free: 10.44 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.369e-05/1.034, allocations: 28.8 kB / 1.024 GB, free: 10.42 MB / 0.6511 GB Notification: Performance of SimCode: time 2.41e-07/1.034, allocations: 0 / 1.024 GB, free: 10.42 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01925/1.053, allocations: 2.493 MB / 1.027 GB, free: 7.973 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001948/1.054, allocations: 156.5 kB / 1.027 GB, free: 7.781 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.395/2.448, allocations: 0 / 1.027 GB, free: 7.781 MB / 0.6511 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)