Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 195.1 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.943/0.943, allocations: 143.1 MB / 433.4 MB, free: 11.4 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001453, allocations: 63.91 kB / 0.5143 GB, free: 11.58 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.176/0.1775, allocations: 82.05 MB / 0.5944 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001912/0.1794, allocations: 0.5896 MB / 0.595 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003116/0.1798, allocations: 67.84 kB / 0.595 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.188e-05/0.1798, allocations: 0 / 0.595 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.051e-05/0.1799, allocations: 3.938 kB / 0.5951 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.633e-05/0.1799, allocations: 7.984 kB / 0.5951 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002772/0.1802, allocations: 47.88 kB / 0.5951 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.017e-05/0.1803, allocations: 23.97 kB / 0.5951 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.332e-05/0.1803, allocations: 0 / 0.5951 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.431e-05/0.1804, allocations: 23.92 kB / 0.5952 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001775/0.1805, allocations: 55.95 kB / 0.5952 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.424e-05/0.1806, allocations: 0 / 0.5952 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.1807, allocations: 43.95 kB / 0.5952 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.67e-05/0.1807, allocations: 19.92 kB / 0.5953 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.4e-05/0.1808, allocations: 15.86 kB / 0.5953 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001245/0.1809, allocations: 71.73 kB / 0.5954 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.1809, allocations: 0 / 0.5954 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.252e-06/0.1809, allocations: 0 / 0.5954 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.1809, allocations: 0 / 0.5954 GB, free: 8.535 MB / 0.4981 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.000351/0.1813, allocations: 375.7 kB / 0.5957 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.1813, allocations: 8.031 kB / 0.5957 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.285e-05/0.1814, allocations: 38.75 kB / 0.5958 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.349e-05/0.1814, allocations: 12.78 kB / 0.5958 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.819e-05/0.1815, allocations: 176.3 kB / 0.5959 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.1815, allocations: 384 / 0.5959 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.072e-05/0.1815, allocations: 12.23 kB / 0.5959 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002219/0.1818, allocations: 178.1 kB / 0.5961 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.575e-06/0.1818, allocations: 0 / 0.5961 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.1818, allocations: 7.984 kB / 0.5961 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.337e-05/0.1818, allocations: 27.91 kB / 0.5961 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.427e-05/0.1819, allocations: 35.91 kB / 0.5962 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000719/0.1826, allocations: 0.8985 MB / 0.5971 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001044/0.1828, allocations: 169.1 kB / 0.5972 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.225e-05/0.1828, allocations: 84.14 kB / 0.5973 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.923e-05/0.1828, allocations: 79.28 kB / 0.5974 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.559e-05/0.1829, allocations: 113.8 kB / 0.5975 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.1829, allocations: 0 / 0.5975 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 0.0001061/0.183, allocations: 37.61 kB / 0.5975 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002055/0.1832, allocations: 383.7 kB / 0.5979 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001756/0.1834, allocations: 169.6 kB / 0.5981 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.455e-05/0.1835, allocations: 29.7 kB / 0.5981 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.1836, allocations: 147.1 kB / 0.5982 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.255e-06/0.1836, allocations: 7.984 kB / 0.5982 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.885e-05/0.1837, allocations: 53.61 kB / 0.5983 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.1838, allocations: 322.8 kB / 0.5986 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.502e-05/0.1838, allocations: 27.97 kB / 0.5986 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001859/0.184, allocations: 220.8 kB / 0.5988 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002241/0.1843, allocations: 201.7 kB / 0.599 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.1843, allocations: 4 kB / 0.599 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003478/0.1846, allocations: 189.6 kB / 0.5992 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.1846, allocations: 8 kB / 0.5992 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.1847, allocations: 4 kB / 0.5992 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.329e-05/0.1847, allocations: 11.94 kB / 0.5992 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/0.1848, allocations: 39.92 kB / 0.5993 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.1849, allocations: 8 kB / 0.5993 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000133/0.185, allocations: 23.78 kB / 0.5993 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.099e-05/0.185, allocations: 12 kB / 0.5993 GB, free: 3.992 MB / 0.4981 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 0.0001456/0.1852, allocations: 221.1 kB / 0.5995 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.439e-05/0.1852, allocations: 112.9 kB / 0.5996 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.947e-05/0.1853, allocations: 116.8 kB / 0.5997 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.002e-05/0.1854, allocations: 188.2 kB / 0.5999 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.557e-05/0.1854, allocations: 180.2 kB / 0.6001 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.832e-05/0.1855, allocations: 184.3 kB / 0.6003 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002116/0.1857, allocations: 425.2 kB / 0.6007 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-05/0.1857, allocations: 101.1 kB / 0.6008 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.085e-05/0.1858, allocations: 112.9 kB / 0.6009 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.75e-05/0.1858, allocations: 188.2 kB / 0.601 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.526e-05/0.1859, allocations: 184.1 kB / 0.6012 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.145e-05/0.186, allocations: 180.3 kB / 0.6014 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.757e-05/0.186, allocations: 176.3 kB / 0.6016 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001281/0.1861, allocations: 315.7 kB / 0.6019 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.036e-05/0.1862, allocations: 189.9 kB / 0.602 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.726e-05/0.1863, allocations: 184.2 kB / 0.6022 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.358e-05/0.1864, allocations: 109 kB / 0.6023 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.805e-05/0.1864, allocations: 188.2 kB / 0.6025 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.859e-05/0.1865, allocations: 105 kB / 0.6026 GB, free: 392 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.046e-05/0.1866, allocations: 111.2 kB / 0.6027 GB, free: 280 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1866, allocations: 4 kB / 0.6027 GB, free: 276 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003123/0.1869, allocations: 28 kB / 0.6027 GB, free: 248 kB / 0.4981 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.2489/0.4358, allocations: 0.8297 MB / 0.6036 GB, free: 43.78 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002185/0.4361, allocations: 70.31 kB / 0.6036 GB, free: 43.78 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.4361, allocations: 2.969 kB / 0.6036 GB, free: 43.78 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.004e-06/0.4361, allocations: 0.5625 kB / 0.6036 GB, free: 43.78 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004016/0.4365, allocations: 468.6 kB / 0.6041 GB, free: 43.34 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006079/0.4371, allocations: 272.6 kB / 0.6043 GB, free: 43.12 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001116/0.4372, allocations: 0.6992 MB / 0.605 GB, free: 42.42 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000303/0.4376, allocations: 55.55 kB / 0.6051 GB, free: 42.42 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.98e-05/0.4376, allocations: 19.66 kB / 0.6051 GB, free: 42.41 MB / 0.4981 GB Notification: Performance of SimCode: time 3.5e-07/0.4376, allocations: 3.344 kB / 0.6051 GB, free: 42.41 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03805/0.4757, allocations: 2.936 MB / 0.608 GB, free: 42.07 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.488/7.964, allocations: 6.5 kB / 0.608 GB, free: 42.07 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_IsMonotonic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_IsMonotonic.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)