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.385/1.385, allocations: 252 MB / 267.3 MB, free: 10.85 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.001014/0.001014, allocations: 176.7 kB / 327 MB, free: 2.098 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.592/1.592, allocations: 205.4 MB / 0.578 GB, free: 20.45 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.0007325/0.0007325, allocations: 88.31 kB / 0.6826 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002979/0.000298, allocations: 9.906 kB / 0.7971 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1714/0.1717, allocations: 106.3 MB / 0.9009 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.0007202/0.1725, allocations: 346 kB / 0.9013 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003475/0.1729, allocations: 81.09 kB / 0.9013 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.269e-05/0.1729, allocations: 0 / 0.9013 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.416e-05/0.1729, allocations: 3.938 kB / 0.9013 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.077e-05/0.173, allocations: 7.938 kB / 0.9013 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002746/0.1733, allocations: 35.95 kB / 0.9014 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.113e-05/0.1733, allocations: 35.89 kB / 0.9014 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.207e-05/0.1734, allocations: 0 / 0.9014 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.258e-05/0.1734, allocations: 8 kB / 0.9014 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002023/0.1736, allocations: 75.84 kB / 0.9015 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.515e-05/0.1737, allocations: 4 kB / 0.9015 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.882e-05/0.1738, allocations: 39.95 kB / 0.9015 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.684e-05/0.1738, allocations: 12 kB / 0.9015 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.692e-05/0.1739, allocations: 49.5 kB / 0.9016 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001327/0.174, allocations: 63.8 kB / 0.9017 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.174, allocations: 4 kB / 0.9017 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.112e-06/0.174, allocations: 0 / 0.9017 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.127e-06/0.174, allocations: 0 / 0.9017 GB, free: 62.98 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.0002421/0.1743, allocations: 343.9 kB / 0.902 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.1743, allocations: 12.03 kB / 0.902 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.903e-05/0.1744, allocations: 42.75 kB / 0.902 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.361e-05/0.1744, allocations: 8.844 kB / 0.902 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.927e-05/0.1745, allocations: 172.2 kB / 0.9022 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-06/0.1745, allocations: 384 / 0.9022 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.267e-05/0.1745, allocations: 4.375 kB / 0.9022 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002213/0.1747, allocations: 182.8 kB / 0.9024 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.1747, allocations: 4 kB / 0.9024 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.1748, allocations: 0 / 0.9024 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-05/0.1748, allocations: 23.97 kB / 0.9024 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.385e-05/0.1749, allocations: 43.83 kB / 0.9025 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005044/0.1754, allocations: 0.9023 MB / 0.9033 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.235e-05/0.1755, allocations: 177.1 kB / 0.9035 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.983e-05/0.1755, allocations: 84.12 kB / 0.9036 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.689e-05/0.1755, allocations: 79.28 kB / 0.9037 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.1755, allocations: 105.8 kB / 0.9038 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 1.192e-06/0.1755, allocations: 0 / 0.9038 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 8.3e-05/0.1756, allocations: 49.58 kB / 0.9038 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.809e-05/0.1757, allocations: 383.7 kB / 0.9042 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.1758, allocations: 165.7 kB / 0.9043 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.262e-05/0.1759, allocations: 25.7 kB / 0.9044 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.294e-05/0.1759, allocations: 151.1 kB / 0.9045 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.527e-06/0.1759, allocations: 7.984 kB / 0.9045 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.479e-06/0.1759, allocations: 4 kB / 0.9045 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.299e-05/0.176, allocations: 322.8 kB / 0.9048 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.136e-05/0.176, allocations: 27.97 kB / 0.9048 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001023/0.1761, allocations: 222.5 kB / 0.9051 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001343/0.1763, allocations: 193.8 kB / 0.9052 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.1763, allocations: 3.938 kB / 0.9052 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002442/0.1765, allocations: 189.2 kB / 0.9054 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.1766, allocations: 8.656 kB / 0.9054 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.1766, allocations: 8 kB / 0.9054 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.1766, allocations: 11.94 kB / 0.9055 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.1767, allocations: 39.92 kB / 0.9055 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.318e-06/0.1767, allocations: 11.94 kB / 0.9055 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.211e-05/0.1768, allocations: 23.75 kB / 0.9055 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.1768, allocations: 12 kB / 0.9055 GB, free: 58.51 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.284e-05/0.1769, allocations: 213 kB / 0.9057 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.618e-05/0.177, allocations: 112.8 kB / 0.9059 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.849e-05/0.177, allocations: 120.8 kB / 0.906 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.276e-05/0.177, allocations: 180.2 kB / 0.9061 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.901e-05/0.1771, allocations: 184.2 kB / 0.9063 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-05/0.1771, allocations: 176.3 kB / 0.9065 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001411/0.1772, allocations: 425.1 kB / 0.9069 GB, free: 57.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.415e-05/0.1773, allocations: 109 kB / 0.907 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.319e-05/0.1773, allocations: 101 kB / 0.9071 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.356e-05/0.1773, allocations: 184.2 kB / 0.9073 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.659e-05/0.1773, allocations: 184.2 kB / 0.9074 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.972e-05/0.1774, allocations: 188.1 kB / 0.9076 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.373e-05/0.1774, allocations: 176.3 kB / 0.9078 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.513e-05/0.1775, allocations: 319.7 kB / 0.9081 GB, free: 55.72 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.827e-05/0.1775, allocations: 186 kB / 0.9083 GB, free: 55.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.961e-05/0.1776, allocations: 184.2 kB / 0.9084 GB, free: 55.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.251e-05/0.1777, allocations: 104.9 kB / 0.9085 GB, free: 55.21 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.049e-05/0.1777, allocations: 192.5 kB / 0.9087 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.407e-05/0.1777, allocations: 105 kB / 0.9088 GB, free: 54.91 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.155e-05/0.1778, allocations: 114.6 kB / 0.9089 GB, free: 54.8 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1778, allocations: 0 / 0.9089 GB, free: 54.8 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002991/0.1781, allocations: 32 kB / 0.909 GB, free: 54.77 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.0003111/0.1784, allocations: 0.8359 MB / 0.9098 GB, free: 53.91 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001298/0.1785, allocations: 73.03 kB / 0.9099 GB, free: 53.84 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1785, allocations: 0 / 0.9099 GB, free: 53.84 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.515e-06/0.1785, allocations: 0 / 0.9099 GB, free: 53.84 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002605/0.1788, allocations: 0.5401 MB / 0.9104 GB, free: 53.29 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004003/0.1792, allocations: 288.6 kB / 0.9107 GB, free: 52.97 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001075/0.1793, allocations: 0.6931 MB / 0.9113 GB, free: 52.25 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001844/0.1795, allocations: 56.58 kB / 0.9114 GB, free: 52.2 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.797e-05/0.1796, allocations: 31.42 kB / 0.9114 GB, free: 52.16 MB / 0.6042 GB Notification: Performance of SimCode: time 3.1e-07/0.1796, allocations: 0 / 0.9114 GB, free: 52.16 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0118/0.1914, allocations: 2.822 MB / 0.9142 GB, free: 49.52 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001825/0.1916, allocations: 226.9 kB / 0.9144 GB, free: 49.26 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.619/1.81, allocations: 0 / 0.9144 GB, free: 49.26 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)