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/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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/BuildSysPro 3.5.0/package.mo): time 0.86/0.86, allocations: 128.7 MB / 144.5 MB, free: 1.398 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001755/0.001755, allocations: 186.5 kB / 174.2 MB, free: 5.941 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.581/1.581, allocations: 205 MB / 408.9 MB, free: 9.719 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001101/0.001101, allocations: 96.53 kB / 485.1 MB, free: 13.58 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001111/0.001112, allocations: 59.47 kB / 0.558 GB, free: 97.54 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.1577, allocations: 75.48 MB / 0.6317 GB, free: 33.02 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001869/0.1597, allocations: 0.6526 MB / 0.6323 GB, free: 32.36 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003009/0.16, allocations: 73.22 kB / 0.6324 GB, free: 32.29 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.879e-05/0.16, allocations: 3.938 kB / 0.6324 GB, free: 32.29 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.605e-05/0.1601, allocations: 4 kB / 0.6324 GB, free: 32.28 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 3.528e-05/0.1601, allocations: 7.984 kB / 0.6324 GB, free: 32.27 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000224/0.1604, allocations: 31.97 kB / 0.6324 GB, free: 32.24 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 6.316e-05/0.1604, allocations: 27.91 kB / 0.6325 GB, free: 32.21 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.376e-05/0.1605, allocations: 7.984 kB / 0.6325 GB, free: 32.21 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.236e-05/0.1605, allocations: 11.98 kB / 0.6325 GB, free: 32.2 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001656/0.1607, allocations: 67.88 kB / 0.6326 GB, free: 32.13 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/0.1607, allocations: 0 / 0.6326 GB, free: 32.13 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.948e-05/0.1608, allocations: 39.95 kB / 0.6326 GB, free: 32.09 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 3.365e-05/0.1608, allocations: 27.91 kB / 0.6326 GB, free: 32.06 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.622e-05/0.1609, allocations: 19.81 kB / 0.6326 GB, free: 32.04 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001062/0.161, allocations: 67.8 kB / 0.6327 GB, free: 31.98 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.161, allocations: 0 / 0.6327 GB, free: 31.98 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.161, allocations: 3.984 kB / 0.6327 GB, free: 31.97 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.161, allocations: 0 / 0.6327 GB, free: 31.97 MB / 442.7 MB 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.0002667/0.1613, allocations: 351.9 kB / 0.633 GB, free: 31.58 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.1613, allocations: 8.031 kB / 0.6331 GB, free: 31.57 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.318e-05/0.1614, allocations: 12.83 kB / 0.6331 GB, free: 31.56 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.519e-05/0.1614, allocations: 176.3 kB / 0.6332 GB, free: 31.35 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.1614, allocations: 4.375 kB / 0.6332 GB, free: 31.34 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.785e-06/0.1615, allocations: 384 / 0.6332 GB, free: 31.34 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.1616, allocations: 182.4 kB / 0.6334 GB, free: 31.14 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.1617, allocations: 3.984 kB / 0.6334 GB, free: 31.14 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.1617, allocations: 4 kB / 0.6334 GB, free: 31.14 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.378e-05/0.1617, allocations: 23.98 kB / 0.6334 GB, free: 31.11 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.375e-05/0.1618, allocations: 43.84 kB / 0.6335 GB, free: 31.07 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004675/0.1623, allocations: 0.9061 MB / 0.6344 GB, free: 30.09 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.237e-05/0.1623, allocations: 173.1 kB / 0.6345 GB, free: 29.91 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.902e-05/0.1623, allocations: 84.17 kB / 0.6346 GB, free: 29.83 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.341e-05/0.1624, allocations: 75.28 kB / 0.6347 GB, free: 29.75 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/0.1624, allocations: 113.8 kB / 0.6348 GB, free: 29.63 MB / 442.7 MB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.1624, allocations: 0 / 0.6348 GB, free: 29.63 MB / 442.7 MB Notification: Performance of matching and sorting (n=0): time 7.747e-05/0.1625, allocations: 37.55 kB / 0.6348 GB, free: 29.59 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.946e-05/0.1626, allocations: 391.7 kB / 0.6352 GB, free: 29.13 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.1627, allocations: 165.6 kB / 0.6354 GB, free: 28.96 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.123e-05/0.1627, allocations: 25.7 kB / 0.6354 GB, free: 28.93 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.135e-05/0.1628, allocations: 147.2 kB / 0.6355 GB, free: 28.78 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.619e-06/0.1628, allocations: 3.984 kB / 0.6355 GB, free: 28.78 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.256e-05/0.1628, allocations: 61.61 kB / 0.6356 GB, free: 28.71 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.49e-05/0.1629, allocations: 318.8 kB / 0.6359 GB, free: 28.39 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.134e-05/0.1629, allocations: 27.97 kB / 0.6359 GB, free: 28.36 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001071/0.163, allocations: 225.3 kB / 0.6361 GB, free: 28.05 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000134/0.1632, allocations: 197.8 kB / 0.6363 GB, free: 27.79 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1632, allocations: 0 / 0.6363 GB, free: 27.79 MB / 442.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002346/0.1634, allocations: 189.2 kB / 0.6365 GB, free: 27.6 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.1634, allocations: 8 kB / 0.6365 GB, free: 27.59 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.1634, allocations: 4.656 kB / 0.6365 GB, free: 27.59 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.1635, allocations: 11.94 kB / 0.6365 GB, free: 27.58 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.1636, allocations: 39.92 kB / 0.6366 GB, free: 27.54 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.1636, allocations: 12.03 kB / 0.6366 GB, free: 27.53 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.173e-05/0.1637, allocations: 31.67 kB / 0.6366 GB, free: 27.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.818e-06/0.1637, allocations: 12 kB / 0.6366 GB, free: 27.48 MB / 442.7 MB 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 7.386e-05/0.1638, allocations: 213 kB / 0.6368 GB, free: 27.27 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.362e-05/0.1638, allocations: 116.8 kB / 0.6369 GB, free: 27.14 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.52e-05/0.1639, allocations: 112.9 kB / 0.637 GB, free: 27.03 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-05/0.1639, allocations: 184.2 kB / 0.6372 GB, free: 26.84 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.992e-05/0.1639, allocations: 188.2 kB / 0.6374 GB, free: 26.65 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.311e-05/0.1639, allocations: 176.3 kB / 0.6376 GB, free: 26.47 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001382/0.1641, allocations: 425.2 kB / 0.638 GB, free: 26 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.547e-05/0.1641, allocations: 101 kB / 0.6381 GB, free: 25.89 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.711e-05/0.1641, allocations: 109 kB / 0.6382 GB, free: 25.78 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.609e-05/0.1642, allocations: 180.2 kB / 0.6383 GB, free: 25.6 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.685e-05/0.1642, allocations: 180.3 kB / 0.6385 GB, free: 25.41 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.77e-05/0.1642, allocations: 188.1 kB / 0.6387 GB, free: 25.22 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.38e-05/0.1643, allocations: 180.3 kB / 0.6389 GB, free: 25.04 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001927/0.1645, allocations: 0.8614 MB / 0.6397 GB, free: 24.11 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.829e-05/0.1645, allocations: 190 kB / 0.6399 GB, free: 23.9 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.888e-05/0.1646, allocations: 180.5 kB / 0.6401 GB, free: 23.72 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.256e-05/0.1646, allocations: 108.9 kB / 0.6402 GB, free: 23.61 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.498e-05/0.1647, allocations: 184.3 kB / 0.6403 GB, free: 23.42 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.9e-05/0.1647, allocations: 108.9 kB / 0.6404 GB, free: 23.3 MB / 442.7 MB Notification: Performance of sorting global known variables: time 5.153e-05/0.1647, allocations: 115.2 kB / 0.6406 GB, free: 23.19 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1647, allocations: 0 / 0.6406 GB, free: 23.19 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000386/0.1651, allocations: 28 kB / 0.6406 GB, free: 23.16 MB / 442.7 MB 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.0001588/0.1653, allocations: 182.5 kB / 0.6408 GB, free: 22.97 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001259/0.1654, allocations: 83.72 kB / 0.6408 GB, free: 22.89 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.1654, allocations: 7.938 kB / 0.6408 GB, free: 22.88 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.964e-06/0.1655, allocations: 0 / 0.6408 GB, free: 22.88 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002669/0.1657, allocations: 0.5396 MB / 0.6414 GB, free: 22.34 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002712/0.166, allocations: 242.7 kB / 0.6416 GB, free: 22.08 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000127/0.1661, allocations: 0.6893 MB / 0.6423 GB, free: 21.36 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001969/0.1663, allocations: 60.52 kB / 0.6423 GB, free: 21.3 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.397e-05/0.1664, allocations: 15.44 kB / 0.6423 GB, free: 21.29 MB / 442.7 MB Notification: Performance of SimCode: time 2.1e-07/0.1664, allocations: 0 / 0.6423 GB, free: 21.29 MB / 442.7 MB Notification: Performance of Templates: time 0.003667/0.17, allocations: 1.799 MB / 0.6441 GB, free: 19.52 MB / 442.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.makefile (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)