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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/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.001261/0.001261, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001711/0.001711, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.007/1.007, allocations: 143.3 MB / 434.3 MB, free: 13.76 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004696/0.0004697, allocations: 12 kB / 0.5159 GB, free: 11.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1769/0.1774, allocations: 83.41 MB / 0.5974 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.IsMonotonic): time 0.0007135/0.1782, allocations: 335 kB / 0.5977 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002682/0.1785, allocations: 59.89 kB / 0.5977 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.491e-05/0.1785, allocations: 4 kB / 0.5977 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.933e-05/0.1786, allocations: 3.984 kB / 0.5977 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.477e-05/0.1786, allocations: 12 kB / 0.5978 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002637/0.1789, allocations: 35.89 kB / 0.5978 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.911e-05/0.179, allocations: 23.91 kB / 0.5978 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.615e-05/0.179, allocations: 4 kB / 0.5978 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.644e-05/0.1791, allocations: 11.98 kB / 0.5978 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002161/0.1793, allocations: 75.91 kB / 0.5979 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.365e-05/0.1793, allocations: 4 kB / 0.5979 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.064e-05/0.1794, allocations: 27.97 kB / 0.5979 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.137e-05/0.1795, allocations: 15.92 kB / 0.5979 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.729e-05/0.1795, allocations: 37.64 kB / 0.598 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.764e-05/0.1796, allocations: 43.94 kB / 0.598 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.1796, allocations: 0 / 0.598 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1796, allocations: 0 / 0.598 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.1796, allocations: 0 / 0.598 GB, free: 7.012 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.000371/0.18, allocations: 351.5 kB / 0.5984 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.18, allocations: 8.031 kB / 0.5984 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.551e-05/0.1801, allocations: 38.56 kB / 0.5984 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.07e-05/0.1801, allocations: 7.906 kB / 0.5984 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.689e-05/0.1802, allocations: 175 kB / 0.5986 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.1802, allocations: 4 kB / 0.5986 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.111e-05/0.1803, allocations: 7.922 kB / 0.5986 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002391/0.1805, allocations: 167.4 kB / 0.5988 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.812e-06/0.1805, allocations: 0 / 0.5988 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.768e-05/0.1805, allocations: 11.97 kB / 0.5988 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.634e-05/0.1806, allocations: 31.91 kB / 0.5988 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.445e-05/0.1807, allocations: 39.91 kB / 0.5988 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007112/0.1814, allocations: 0.8946 MB / 0.5997 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.002e-05/0.1815, allocations: 169.1 kB / 0.5999 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.452e-05/0.1815, allocations: 79.27 kB / 0.5999 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.474e-05/0.1816, allocations: 113.8 kB / 0.6001 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.1816, allocations: 0 / 0.6001 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 7.641e-05/0.1817, allocations: 41.55 kB / 0.6001 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000173/0.1819, allocations: 391.7 kB / 0.6005 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001398/0.182, allocations: 174.6 kB / 0.6006 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.614e-05/0.1821, allocations: 29.7 kB / 0.6007 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.075e-05/0.1822, allocations: 147.3 kB / 0.6008 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.043e-06/0.1822, allocations: 7.984 kB / 0.6008 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.299e-06/0.1822, allocations: 4 kB / 0.6008 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001758/0.1824, allocations: 318.8 kB / 0.6011 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.978e-05/0.1824, allocations: 28.34 kB / 0.6011 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001624/0.1826, allocations: 219.3 kB / 0.6014 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.947e-05/0.1827, allocations: 67.81 kB / 0.6014 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.1827, allocations: 0 / 0.6014 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003055/0.183, allocations: 193.2 kB / 0.6016 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.1831, allocations: 5.25 kB / 0.6016 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.1831, allocations: 4 kB / 0.6016 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.1831, allocations: 11.98 kB / 0.6016 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.1832, allocations: 39.92 kB / 0.6017 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.1832, allocations: 4.531 kB / 0.6017 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.1833, allocations: 31.69 kB / 0.6017 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.474e-05/0.1834, allocations: 16 kB / 0.6017 GB, free: 2.824 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001299/0.1835, allocations: 216.9 kB / 0.6019 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.33e-05/0.1836, allocations: 112.9 kB / 0.602 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.377e-05/0.1836, allocations: 116.8 kB / 0.6021 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.095e-05/0.1837, allocations: 180.2 kB / 0.6023 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-05/0.1838, allocations: 180.3 kB / 0.6025 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-05/0.1838, allocations: 176.3 kB / 0.6026 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002321/0.1841, allocations: 429.1 kB / 0.6031 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.649e-05/0.1841, allocations: 105 kB / 0.6032 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.245e-05/0.1842, allocations: 113 kB / 0.6033 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.567e-05/0.1842, allocations: 176.3 kB / 0.6034 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.718e-05/0.1843, allocations: 180.3 kB / 0.6036 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.747e-05/0.1844, allocations: 184.2 kB / 0.6038 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.356e-05/0.1844, allocations: 184.2 kB / 0.604 GB, free: 384 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001379/0.1846, allocations: 311.6 kB / 0.6043 GB, free: 48 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.3083/0.4929, allocations: 189 kB / 0.6044 GB, free: 40.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.346e-05/0.493, allocations: 180.9 kB / 0.6046 GB, free: 40.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.4931, allocations: 110.8 kB / 0.6047 GB, free: 40.57 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.813e-05/0.4932, allocations: 179 kB / 0.6049 GB, free: 40.39 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.552e-05/0.4932, allocations: 104.2 kB / 0.605 GB, free: 40.29 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.662e-05/0.4933, allocations: 115.2 kB / 0.6051 GB, free: 40.21 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4933, allocations: 2.125 kB / 0.6051 GB, free: 40.21 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005863/0.4939, allocations: 26.28 kB / 0.6051 GB, free: 40.21 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 (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.0004389/0.4944, allocations: 0.8302 MB / 0.6059 GB, free: 39.4 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002064/0.4946, allocations: 77.73 kB / 0.606 GB, free: 39.4 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.4946, allocations: 0 / 0.606 GB, free: 39.4 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.477e-06/0.4946, allocations: 4.812 kB / 0.606 GB, free: 39.4 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001906/0.4948, allocations: 0.5319 MB / 0.6065 GB, free: 38.88 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004654/0.4953, allocations: 278.6 kB / 0.6068 GB, free: 38.64 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001185/0.4954, allocations: 0.7005 MB / 0.6075 GB, free: 37.95 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001823/0.4956, allocations: 56.36 kB / 0.6075 GB, free: 37.95 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.114e-05/0.4956, allocations: 26.84 kB / 0.6076 GB, free: 37.94 MB / 0.4981 GB Notification: Performance of SimCode: time 3e-07/0.4956, allocations: 0 / 0.6076 GB, free: 37.94 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01123/0.5069, allocations: 2.815 MB / 0.6103 GB, free: 37.77 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001226/0.507, allocations: 187.1 kB / 0.6105 GB, free: 37.54 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.674/2.181, allocations: 0 / 0.6105 GB, free: 37.54 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/linux/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) Environment - environmentSimulation: