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: translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.IsMonotonic") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.IsMonotonic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009622/0.0009622, allocations: 99.86 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.00106/0.00106, allocations: 177.3 kB / 15.94 MB, free: 228 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.308/1.308, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.011/1.011, allocations: 143.3 MB / 434.3 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003081/0.0003083, allocations: 8 kB / 0.5158 GB, free: 11.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1513, allocations: 83.41 MB / 0.5973 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.IsMonotonic): time 0.0006388/0.152, allocations: 323 kB / 0.5976 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002536/0.1522, allocations: 75.88 kB / 0.5977 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.794e-05/0.1523, allocations: 0 / 0.5977 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.907e-05/0.1523, allocations: 3.938 kB / 0.5977 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.994e-05/0.1523, allocations: 11.97 kB / 0.5977 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002213/0.1526, allocations: 27.97 kB / 0.5977 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.852e-05/0.1526, allocations: 23.97 kB / 0.5977 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.757e-05/0.1527, allocations: 0 / 0.5977 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.989e-05/0.1527, allocations: 27.91 kB / 0.5978 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001957/0.1529, allocations: 71.88 kB / 0.5978 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.197e-05/0.1529, allocations: 0 / 0.5978 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.705e-05/0.153, allocations: 39.89 kB / 0.5979 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.179e-05/0.1531, allocations: 19.92 kB / 0.5979 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.627e-05/0.1531, allocations: 33.69 kB / 0.5979 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 7.755e-05/0.1532, allocations: 35.95 kB / 0.5979 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.1532, allocations: 4 kB / 0.598 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1532, allocations: 0 / 0.598 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.187e-06/0.1532, allocations: 0 / 0.598 GB, free: 7.145 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.0002849/0.1535, allocations: 347.5 kB / 0.5983 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.1535, allocations: 16.03 kB / 0.5983 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.958e-05/0.1536, allocations: 7.906 kB / 0.5983 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.101e-05/0.1537, allocations: 171 kB / 0.5985 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.1537, allocations: 0 / 0.5985 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.806e-06/0.1537, allocations: 4 kB / 0.5985 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002226/0.1539, allocations: 167.3 kB / 0.5986 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.154, allocations: 8 kB / 0.5986 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/0.154, allocations: 4 kB / 0.5986 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.863e-05/0.154, allocations: 23.97 kB / 0.5987 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.57e-05/0.1541, allocations: 43.83 kB / 0.5987 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006266/0.1547, allocations: 0.8985 MB / 0.5996 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.836e-05/0.1548, allocations: 173.1 kB / 0.5998 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.113e-05/0.1548, allocations: 75.31 kB / 0.5998 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.236e-05/0.1549, allocations: 117.8 kB / 0.5999 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 9.61e-07/0.1549, allocations: 0 / 0.5999 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 7.294e-05/0.155, allocations: 37.61 kB / 0.6 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00016/0.1551, allocations: 387.7 kB / 0.6003 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.1553, allocations: 167.7 kB / 0.6005 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.1553, allocations: 29.64 kB / 0.6005 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.523e-05/0.1554, allocations: 151.3 kB / 0.6007 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.068e-06/0.1554, allocations: 7.984 kB / 0.6007 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.21e-06/0.1554, allocations: 4 kB / 0.6007 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.1555, allocations: 322.8 kB / 0.601 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.23e-05/0.1556, allocations: 28.34 kB / 0.601 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000158/0.1557, allocations: 222 kB / 0.6012 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.41e-05/0.1558, allocations: 59.91 kB / 0.6013 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.1559, allocations: 0 / 0.6013 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002804/0.1561, allocations: 189.1 kB / 0.6015 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.1562, allocations: 9.906 kB / 0.6015 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.1562, allocations: 4.094 kB / 0.6015 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.1562, allocations: 19.92 kB / 0.6015 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/0.1563, allocations: 39.92 kB / 0.6015 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.1563, allocations: 11.94 kB / 0.6016 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.326e-05/0.1564, allocations: 27.69 kB / 0.6016 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/0.1565, allocations: 12 kB / 0.6016 GB, free: 3.008 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.0001187/0.1566, allocations: 213 kB / 0.6018 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.699e-05/0.1567, allocations: 113 kB / 0.6019 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.201e-05/0.1567, allocations: 120.8 kB / 0.602 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.135e-05/0.1568, allocations: 176.3 kB / 0.6022 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.913e-05/0.1568, allocations: 180.3 kB / 0.6024 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.444e-05/0.1569, allocations: 184.2 kB / 0.6025 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002211/0.1571, allocations: 421.2 kB / 0.6029 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-05/0.1572, allocations: 108.9 kB / 0.603 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.693e-05/0.1572, allocations: 109 kB / 0.6031 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.75e-05/0.1573, allocations: 184.2 kB / 0.6033 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.411e-05/0.1573, allocations: 180.3 kB / 0.6035 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.426e-05/0.1574, allocations: 176.3 kB / 0.6037 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-05/0.1575, allocations: 184.2 kB / 0.6038 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00013/0.1576, allocations: 319.6 kB / 0.6041 GB, free: 232 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.504e-05/0.1577, allocations: 186 kB / 0.6043 GB, free: 20 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.2709/0.4285, allocations: 178.5 kB / 0.6045 GB, free: 41.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.817e-05/0.4287, allocations: 109.6 kB / 0.6046 GB, free: 40.97 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.19e-05/0.4287, allocations: 180.2 kB / 0.6048 GB, free: 40.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.596e-05/0.4287, allocations: 106 kB / 0.6049 GB, free: 40.68 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.449e-05/0.4288, allocations: 115.9 kB / 0.605 GB, free: 40.61 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2e-07/0.4288, allocations: 0 / 0.605 GB, free: 40.61 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004172/0.4293, allocations: 28.66 kB / 0.605 GB, free: 40.61 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.0001912/0.4295, allocations: 187.4 kB / 0.6052 GB, free: 40.44 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000192/0.4297, allocations: 75.34 kB / 0.6052 GB, free: 40.44 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.4297, allocations: 4 kB / 0.6053 GB, free: 40.44 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.036e-06/0.4297, allocations: 2.719 kB / 0.6053 GB, free: 40.44 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002038/0.4299, allocations: 0.5312 MB / 0.6058 GB, free: 39.92 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002833/0.4302, allocations: 230.5 kB / 0.606 GB, free: 39.72 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000127/0.4303, allocations: 0.6975 MB / 0.6067 GB, free: 39.03 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001974/0.4305, allocations: 55.52 kB / 0.6067 GB, free: 39.03 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.836e-05/0.4306, allocations: 13.38 kB / 0.6067 GB, free: 39.02 MB / 0.4981 GB Notification: Performance of SimCode: time 4.61e-07/0.4306, allocations: 4.844 kB / 0.6067 GB, free: 39.02 MB / 0.4981 GB Notification: Performance of Templates: time 0.003983/0.4346, allocations: 1.73 MB / 0.6084 GB, free: 38.94 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.makefile Environment - environmentSimulation: (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 & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) Environment - environmentSimulation: