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.000761/0.000761, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.0007827/0.0007827, allocations: 168.7 kB / 15.95 MB, free: 200 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.337/1.337, allocations: 223.2 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9751/0.9751, allocations: 143.4 MB / 434.4 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003219/0.000322, allocations: 16 kB / 0.5161 GB, free: 11.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.1711, allocations: 83.42 MB / 0.5976 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.IsMonotonic): time 0.0007466/0.1719, allocations: 327 kB / 0.5979 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002999/0.1722, allocations: 71.81 kB / 0.5979 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.189e-05/0.1722, allocations: 4 kB / 0.5979 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.875e-05/0.1722, allocations: 0 / 0.5979 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.819e-05/0.1723, allocations: 7.984 kB / 0.598 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002516/0.1726, allocations: 31.95 kB / 0.598 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.568e-05/0.1726, allocations: 27.91 kB / 0.598 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.755e-05/0.1727, allocations: 4 kB / 0.598 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.932e-05/0.1727, allocations: 11.98 kB / 0.598 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002083/0.1729, allocations: 79.88 kB / 0.5981 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.417e-05/0.173, allocations: 7.984 kB / 0.5981 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.442e-05/0.1731, allocations: 31.95 kB / 0.5981 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.52e-05/0.1731, allocations: 15.94 kB / 0.5982 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.031e-05/0.1731, allocations: 33.7 kB / 0.5982 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.637e-05/0.1732, allocations: 43.92 kB / 0.5982 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.1733, allocations: 4 kB / 0.5982 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.064e-06/0.1733, allocations: 0 / 0.5982 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.1733, allocations: 0 / 0.5982 GB, free: 7.008 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.0003297/0.1736, allocations: 347.5 kB / 0.5986 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.1737, allocations: 8.031 kB / 0.5986 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.07e-05/0.1737, allocations: 46.55 kB / 0.5986 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.145e-05/0.1738, allocations: 7.906 kB / 0.5986 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001067/0.1739, allocations: 170.9 kB / 0.5988 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.1739, allocations: 7.984 kB / 0.5988 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.848e-06/0.1739, allocations: 3.984 kB / 0.5988 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002509/0.1742, allocations: 175.3 kB / 0.599 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.1742, allocations: 4 kB / 0.599 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.1742, allocations: 4 kB / 0.599 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.129e-05/0.1742, allocations: 15.98 kB / 0.599 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.555e-05/0.1743, allocations: 47.78 kB / 0.599 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007263/0.1751, allocations: 0.8985 MB / 0.5999 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.078e-05/0.1751, allocations: 177.1 kB / 0.6001 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.117e-05/0.1752, allocations: 80.14 kB / 0.6002 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.622e-05/0.1752, allocations: 79.28 kB / 0.6002 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.469e-05/0.1753, allocations: 109.8 kB / 0.6003 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.1753, allocations: 0 / 0.6003 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 7.257e-05/0.1754, allocations: 37.61 kB / 0.6004 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001776/0.1755, allocations: 391.6 kB / 0.6007 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.1757, allocations: 168.1 kB / 0.6009 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.1757, allocations: 29.7 kB / 0.6009 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.006e-05/0.1758, allocations: 147.3 kB / 0.6011 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.681e-06/0.1758, allocations: 8 kB / 0.6011 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.868e-06/0.1758, allocations: 0 / 0.6011 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.1759, allocations: 322.8 kB / 0.6014 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.309e-05/0.176, allocations: 24.36 kB / 0.6014 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001791/0.1761, allocations: 225.9 kB / 0.6016 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.448e-05/0.1762, allocations: 63.94 kB / 0.6017 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.1763, allocations: 4 kB / 0.6017 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002957/0.1766, allocations: 189.7 kB / 0.6019 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.1766, allocations: 8.094 kB / 0.6019 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.1766, allocations: 8 kB / 0.6019 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.1766, allocations: 4 kB / 0.6019 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.1767, allocations: 39.92 kB / 0.6019 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/0.1768, allocations: 7.938 kB / 0.6019 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.543e-05/0.1769, allocations: 31.69 kB / 0.602 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.1769, allocations: 15.98 kB / 0.602 GB, free: 2.738 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.0001622/0.1771, allocations: 213 kB / 0.6022 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.208e-05/0.1772, allocations: 117 kB / 0.6023 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.977e-05/0.1772, allocations: 112.9 kB / 0.6024 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.577e-05/0.1773, allocations: 184.2 kB / 0.6026 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.919e-05/0.1774, allocations: 180.2 kB / 0.6028 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.606e-05/0.1774, allocations: 184.2 kB / 0.6029 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000229/0.1777, allocations: 429.1 kB / 0.6033 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-05/0.1777, allocations: 113 kB / 0.6034 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.997e-05/0.1778, allocations: 105 kB / 0.6035 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.763e-05/0.1778, allocations: 184.1 kB / 0.6037 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.558e-05/0.1779, allocations: 176.3 kB / 0.6039 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-05/0.178, allocations: 184.2 kB / 0.6041 GB, free: 476 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.679e-05/0.178, allocations: 184.3 kB / 0.6042 GB, free: 284 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2906/0.4687, allocations: 314.8 kB / 0.6045 GB, free: 40.79 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.412e-05/0.4687, allocations: 182.4 kB / 0.6047 GB, free: 40.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.561e-05/0.4688, allocations: 184.9 kB / 0.6049 GB, free: 40.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.774e-05/0.4689, allocations: 104.8 kB / 0.605 GB, free: 40.31 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.55e-05/0.4689, allocations: 182.5 kB / 0.6052 GB, free: 40.13 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/0.4689, allocations: 108.7 kB / 0.6053 GB, free: 40.02 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.642e-05/0.469, allocations: 113.9 kB / 0.6054 GB, free: 39.95 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.469, allocations: 0 / 0.6054 GB, free: 39.95 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003379/0.4694, allocations: 28.28 kB / 0.6054 GB, free: 39.95 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.0002988/0.4697, allocations: 0.8225 MB / 0.6062 GB, free: 39.14 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001364/0.4698, allocations: 79.64 kB / 0.6063 GB, free: 39.14 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4698, allocations: 2.875 kB / 0.6063 GB, free: 39.14 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.593e-06/0.4698, allocations: 0 / 0.6063 GB, free: 39.14 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002692/0.4701, allocations: 0.5354 MB / 0.6068 GB, free: 38.62 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00043/0.4705, allocations: 286.6 kB / 0.6071 GB, free: 38.38 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.922e-05/0.4706, allocations: 0.6937 MB / 0.6078 GB, free: 37.69 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001756/0.4708, allocations: 55.8 kB / 0.6078 GB, free: 37.69 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.353e-05/0.4709, allocations: 21.41 kB / 0.6078 GB, free: 37.68 MB / 0.4981 GB Notification: Performance of SimCode: time 3.3e-07/0.4709, allocations: 3.031 kB / 0.6078 GB, free: 37.68 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01086/0.4817, allocations: 2.818 MB / 0.6106 GB, free: 37.5 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001106/0.4819, allocations: 199.2 kB / 0.6108 GB, free: 37.27 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.678/2.16, allocations: 0 / 0.6108 GB, free: 37.27 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: