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.0009453/0.0009453, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007414/0.007414, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.333/1.333, allocations: 223.3 MB / 240.3 MB, free: 5.332 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.991/0.991, allocations: 143.2 MB / 434.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003404/0.0003404, allocations: 8 kB / 0.5165 GB, free: 11.01 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.186/0.1864, allocations: 83.43 MB / 0.598 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.IsMonotonic): time 0.0007483/0.1872, allocations: 331.1 kB / 0.5983 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003464/0.1875, allocations: 71.84 kB / 0.5984 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.816e-05/0.1875, allocations: 0 / 0.5984 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.795e-05/0.1876, allocations: 3.938 kB / 0.5984 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.004e-05/0.1876, allocations: 7.938 kB / 0.5984 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002439/0.1879, allocations: 31.95 kB / 0.5984 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.618e-05/0.188, allocations: 39.89 kB / 0.5985 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.179e-05/0.188, allocations: 0 / 0.5985 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.656e-05/0.188, allocations: 15.94 kB / 0.5985 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001944/0.1882, allocations: 63.92 kB / 0.5985 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.1883, allocations: 7.984 kB / 0.5985 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001008/0.1884, allocations: 35.95 kB / 0.5986 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.866e-05/0.1884, allocations: 15.94 kB / 0.5986 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.869e-05/0.1885, allocations: 49.56 kB / 0.5986 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001151/0.1886, allocations: 63.8 kB / 0.5987 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1886, allocations: 0 / 0.5987 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.354e-06/0.1886, allocations: 0 / 0.5987 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.607e-06/0.1886, allocations: 4 kB / 0.5987 GB, free: 6.801 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.0003139/0.1889, allocations: 347.7 kB / 0.599 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.189, allocations: 8.031 kB / 0.599 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.401e-05/0.189, allocations: 42.73 kB / 0.5991 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.766e-05/0.1891, allocations: 8.844 kB / 0.5991 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.599e-05/0.1892, allocations: 176.2 kB / 0.5993 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.317e-06/0.1892, allocations: 384 / 0.5993 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.03e-05/0.1892, allocations: 4.375 kB / 0.5993 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002467/0.1895, allocations: 182 kB / 0.5994 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.1895, allocations: 4 kB / 0.5994 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.1895, allocations: 3.938 kB / 0.5994 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-05/0.1895, allocations: 27.97 kB / 0.5995 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.823e-05/0.1896, allocations: 39.84 kB / 0.5995 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006126/0.1902, allocations: 0.8946 MB / 0.6004 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.608e-05/0.1903, allocations: 185.1 kB / 0.6006 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.292e-05/0.1904, allocations: 84.14 kB / 0.6006 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.965e-05/0.1904, allocations: 75.28 kB / 0.6007 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.1e-05/0.1905, allocations: 109.8 kB / 0.6008 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 8.21e-07/0.1905, allocations: 0 / 0.6008 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 7.65e-05/0.1905, allocations: 37.61 kB / 0.6008 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001619/0.1907, allocations: 395.7 kB / 0.6012 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001449/0.1909, allocations: 169.6 kB / 0.6014 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.1909, allocations: 25.7 kB / 0.6014 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.418e-05/0.191, allocations: 143.2 kB / 0.6015 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.803e-06/0.191, allocations: 7.984 kB / 0.6016 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.835e-05/0.191, allocations: 17.72 kB / 0.6016 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.1911, allocations: 326.8 kB / 0.6019 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.809e-05/0.1912, allocations: 23.98 kB / 0.6019 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001703/0.1914, allocations: 224.7 kB / 0.6021 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001898/0.1916, allocations: 205.8 kB / 0.6023 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.1916, allocations: 0 / 0.6023 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000284/0.1918, allocations: 189.5 kB / 0.6025 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.1919, allocations: 8 kB / 0.6025 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.353e-06/0.1919, allocations: 4 kB / 0.6025 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.1919, allocations: 15.92 kB / 0.6025 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.192, allocations: 35.92 kB / 0.6026 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.1921, allocations: 11.94 kB / 0.6026 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.66e-05/0.1921, allocations: 31.69 kB / 0.6026 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.268e-05/0.1922, allocations: 8 kB / 0.6026 GB, free: 2.301 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.0001315/0.1923, allocations: 221.3 kB / 0.6028 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.87e-05/0.1924, allocations: 108.9 kB / 0.6029 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.036e-05/0.1924, allocations: 112.8 kB / 0.603 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.264e-05/0.1925, allocations: 180.2 kB / 0.6032 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-05/0.1926, allocations: 188.2 kB / 0.6034 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.578e-05/0.1926, allocations: 188.3 kB / 0.6036 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002231/0.1929, allocations: 425.2 kB / 0.604 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.716e-05/0.1929, allocations: 108.9 kB / 0.6041 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.26e-05/0.1929, allocations: 101 kB / 0.6042 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.742e-05/0.193, allocations: 180.2 kB / 0.6043 GB, free: 412 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.928e-05/0.1931, allocations: 180.3 kB / 0.6045 GB, free: 224 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.199e-05/0.1931, allocations: 188.1 kB / 0.6047 GB, free: 28 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.2966/0.4897, allocations: 177.5 kB / 0.6049 GB, free: 40.31 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001097/0.4899, allocations: 311 kB / 0.6052 GB, free: 40 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.718e-05/0.4899, allocations: 187.2 kB / 0.6053 GB, free: 39.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.079e-05/0.49, allocations: 189.7 kB / 0.6055 GB, free: 39.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.772e-05/0.4901, allocations: 108.2 kB / 0.6056 GB, free: 39.52 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.767e-05/0.4901, allocations: 184.2 kB / 0.6058 GB, free: 39.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.33e-05/0.4901, allocations: 102.4 kB / 0.6059 GB, free: 39.23 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.394e-05/0.4902, allocations: 114.7 kB / 0.606 GB, free: 39.16 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4902, allocations: 1.781 kB / 0.606 GB, free: 39.16 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004112/0.4906, allocations: 27.75 kB / 0.606 GB, free: 39.16 MB / 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.000309/0.491, allocations: 0.8315 MB / 0.6068 GB, free: 38.36 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001429/0.4911, allocations: 76.14 kB / 0.6069 GB, free: 38.36 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.4911, allocations: 1.312 kB / 0.6069 GB, free: 38.36 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.424e-06/0.4911, allocations: 0.5 kB / 0.6069 GB, free: 38.36 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003004/0.4914, allocations: 0.5301 MB / 0.6074 GB, free: 37.84 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004266/0.4919, allocations: 292.5 kB / 0.6077 GB, free: 37.59 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001192/0.492, allocations: 0.6928 MB / 0.6084 GB, free: 36.89 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001791/0.4922, allocations: 56.19 kB / 0.6084 GB, free: 36.89 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.824e-05/0.4922, allocations: 23.72 kB / 0.6085 GB, free: 36.89 MB / 0.4981 GB Notification: Performance of SimCode: time 3.7e-07/0.4922, allocations: 2.406 kB / 0.6085 GB, free: 36.89 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01169/0.5039, allocations: 2.87 MB / 0.6113 GB, free: 36.72 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001287/0.5041, allocations: 213.8 kB / 0.6115 GB, free: 36.47 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.752/2.256, allocations: 0 / 0.6115 GB, free: 36.47 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)