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.001253/0.001253, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001664/0.001664, allocations: 196.5 kB / 16.14 MB, free: 6.695 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.33/1.33, allocations: 222.9 MB / 239.8 MB, free: 4.59 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.9245/0.9245, allocations: 143.1 MB / 433 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 63.84 kB / 0.5136 GB, free: 12.01 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1605/0.1617, allocations: 82.04 MB / 0.5937 GB, free: 9.926 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001689/0.1634, allocations: 0.6544 MB / 0.5944 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003074/0.1638, allocations: 71.84 kB / 0.5945 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.92e-05/0.1638, allocations: 0 / 0.5945 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.302e-05/0.1638, allocations: 7.922 kB / 0.5945 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.191e-05/0.1639, allocations: 4 kB / 0.5945 GB, free: 9.184 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002234/0.1641, allocations: 35.95 kB / 0.5945 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.516e-05/0.1642, allocations: 31.84 kB / 0.5945 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.303e-05/0.1642, allocations: 7.984 kB / 0.5945 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.149e-05/0.1642, allocations: 8 kB / 0.5945 GB, free: 9.102 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001906/0.1644, allocations: 75.86 kB / 0.5946 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.401e-05/0.1645, allocations: 0 / 0.5946 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.564e-05/0.1646, allocations: 31.97 kB / 0.5947 GB, free: 8.996 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.799e-05/0.1646, allocations: 23.97 kB / 0.5947 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.414e-05/0.1646, allocations: 19.81 kB / 0.5947 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001171/0.1648, allocations: 67.84 kB / 0.5948 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1648, allocations: 0 / 0.5948 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.875e-06/0.1648, allocations: 0 / 0.5948 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.1648, allocations: 3.938 kB / 0.5948 GB, free: 8.883 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.0003195/0.1651, allocations: 367.7 kB / 0.5951 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.1651, allocations: 8.031 kB / 0.5951 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.541e-05/0.1652, allocations: 42.69 kB / 0.5952 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.268e-05/0.1652, allocations: 12.83 kB / 0.5952 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.377e-05/0.1653, allocations: 172.3 kB / 0.5953 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.592e-06/0.1653, allocations: 384 / 0.5953 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.1653, allocations: 8.359 kB / 0.5953 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002202/0.1656, allocations: 175.2 kB / 0.5955 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.1656, allocations: 3.984 kB / 0.5955 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.1656, allocations: 4 kB / 0.5955 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.842e-05/0.1656, allocations: 23.98 kB / 0.5955 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.919e-05/0.1657, allocations: 39.84 kB / 0.5956 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005781/0.1663, allocations: 0.9024 MB / 0.5965 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.846e-05/0.1664, allocations: 169.1 kB / 0.5966 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.928e-05/0.1664, allocations: 84.14 kB / 0.5967 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.262e-05/0.1664, allocations: 83.28 kB / 0.5968 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.619e-05/0.1665, allocations: 105.8 kB / 0.5969 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 1.011e-06/0.1665, allocations: 0 / 0.5969 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 7.5e-05/0.1666, allocations: 37.61 kB / 0.5969 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001336/0.1667, allocations: 391.7 kB / 0.5973 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.1668, allocations: 169.6 kB / 0.5975 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/0.1669, allocations: 29.7 kB / 0.5975 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.058e-05/0.1669, allocations: 143.2 kB / 0.5976 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.128e-06/0.167, allocations: 3.984 kB / 0.5976 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.164e-05/0.167, allocations: 57.61 kB / 0.5977 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.116e-05/0.1671, allocations: 318.8 kB / 0.598 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.547e-05/0.1672, allocations: 27.97 kB / 0.598 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001538/0.1673, allocations: 224.8 kB / 0.5982 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001639/0.1675, allocations: 197.8 kB / 0.5984 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.1675, allocations: 4 kB / 0.5984 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002755/0.1678, allocations: 189.7 kB / 0.5986 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.1678, allocations: 8 kB / 0.5986 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.1678, allocations: 4 kB / 0.5986 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.1678, allocations: 11.94 kB / 0.5986 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.1679, allocations: 39.86 kB / 0.5987 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.926e-06/0.168, allocations: 11.94 kB / 0.5987 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.391e-05/0.1681, allocations: 35.77 kB / 0.5987 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.1681, allocations: 8 kB / 0.5987 GB, free: 4.34 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.0001061/0.1682, allocations: 217.1 kB / 0.5989 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.304e-05/0.1682, allocations: 116.8 kB / 0.599 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.166e-05/0.1683, allocations: 112.8 kB / 0.5991 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.192e-05/0.1683, allocations: 184.3 kB / 0.5993 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.562e-05/0.1684, allocations: 188.3 kB / 0.5995 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.545e-05/0.1685, allocations: 180.2 kB / 0.5997 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002023/0.1687, allocations: 429.2 kB / 0.6001 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.248e-05/0.1687, allocations: 105 kB / 0.6002 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.871e-05/0.1687, allocations: 105 kB / 0.6003 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.273e-05/0.1688, allocations: 184.2 kB / 0.6004 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.19e-05/0.1689, allocations: 180.2 kB / 0.6006 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.973e-05/0.1689, allocations: 180.2 kB / 0.6008 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.616e-05/0.169, allocations: 184.3 kB / 0.601 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001169/0.1691, allocations: 311.7 kB / 0.6013 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.997e-05/0.1691, allocations: 186 kB / 0.6014 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.798e-05/0.1692, allocations: 192.1 kB / 0.6016 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.767e-05/0.1693, allocations: 109 kB / 0.6017 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.387e-05/0.1694, allocations: 180.2 kB / 0.6019 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.713e-05/0.1694, allocations: 104.9 kB / 0.602 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.185e-05/0.1695, allocations: 111.8 kB / 0.6021 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1695, allocations: 4 kB / 0.6021 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002817/0.1698, allocations: 28 kB / 0.6021 GB, free: 0.6016 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.2615/0.4313, allocations: 0.8368 MB / 0.603 GB, free: 44.07 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002373/0.4316, allocations: 72.27 kB / 0.603 GB, free: 44.07 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.4316, allocations: 1.719 kB / 0.603 GB, free: 44.07 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.545e-06/0.4316, allocations: 1.312 kB / 0.603 GB, free: 44.07 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003715/0.432, allocations: 0.5275 MB / 0.6035 GB, free: 43.55 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005349/0.4325, allocations: 292.1 kB / 0.6038 GB, free: 43.3 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001265/0.4326, allocations: 0.694 MB / 0.6045 GB, free: 42.61 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002264/0.4329, allocations: 54.44 kB / 0.6046 GB, free: 42.61 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.871e-05/0.4329, allocations: 28.8 kB / 0.6046 GB, free: 42.6 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.4329, allocations: 0 / 0.6046 GB, free: 42.6 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04466/0.4776, allocations: 2.934 MB / 0.6074 GB, free: 42.36 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001383/0.4778, allocations: 211.8 kB / 0.6076 GB, free: 42.11 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.653/2.131, allocations: 6.672 kB / 0.6077 GB, free: 42.11 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)