Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.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: translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001348/0.001348, allocations: 194.6 kB / 16.14 MB, free: 6.703 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.415/1.415, allocations: 222.9 MB / 239.8 MB, free: 4.598 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.9855/0.9855, allocations: 143 MB / 433 MB, free: 11.63 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001365, allocations: 59.91 kB / 0.5135 GB, free: 12.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2131/0.2145, allocations: 82.04 MB / 0.5936 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit): time 0.003712/0.2183, allocations: 1.517 MB / 0.5951 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001116/0.2194, allocations: 0.5814 MB / 0.5956 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.31e-05/0.2195, allocations: 0 / 0.5956 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.299e-05/0.2195, allocations: 0 / 0.5956 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.747e-05/0.2196, allocations: 3.938 kB / 0.5957 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002551/0.2199, allocations: 35.89 kB / 0.5957 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.365e-05/0.22, allocations: 23.94 kB / 0.5957 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.2201, allocations: 7.984 kB / 0.5957 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.76e-05/0.2202, allocations: 15.92 kB / 0.5957 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.099e-05/0.2203, allocations: 15.92 kB / 0.5957 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.2203, allocations: 0 / 0.5957 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001301/0.2204, allocations: 55.95 kB / 0.5958 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.424e-05/0.2204, allocations: 4 kB / 0.5958 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.072e-05/0.2205, allocations: 11.88 kB / 0.5958 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001541/0.2206, allocations: 63.84 kB / 0.5959 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.2206, allocations: 0 / 0.5959 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2206, allocations: 0 / 0.5959 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.2207, allocations: 0 / 0.5959 GB, free: 7.754 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000502/0.2212, allocations: 351.7 kB / 0.5962 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.2212, allocations: 8.031 kB / 0.5962 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.985e-05/0.2213, allocations: 8.844 kB / 0.5962 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001464/0.2214, allocations: 180.2 kB / 0.5964 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.748e-06/0.2214, allocations: 384 / 0.5964 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.221e-05/0.2214, allocations: 8.359 kB / 0.5964 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001607/0.2216, allocations: 46 kB / 0.5965 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.2216, allocations: 0 / 0.5965 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.2216, allocations: 0 / 0.5965 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.2216, allocations: 0 / 0.5965 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.903e-05/0.2217, allocations: 23.98 kB / 0.5965 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003867/0.2221, allocations: 256.8 kB / 0.5967 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.152e-05/0.2222, allocations: 34.5 kB / 0.5968 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.183e-05/0.2223, allocations: 16.92 kB / 0.5968 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008343/0.2231, allocations: 473.4 kB / 0.5972 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/0.2232, allocations: 38.56 kB / 0.5973 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.2232, allocations: 0 / 0.5973 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0002802/0.2235, allocations: 57.77 kB / 0.5973 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.202e-05/0.2235, allocations: 59.38 kB / 0.5974 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.2236, allocations: 113.8 kB / 0.5975 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.768e-05/0.2237, allocations: 25.7 kB / 0.5975 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.814e-05/0.2237, allocations: 84.08 kB / 0.5976 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.234e-05/0.2237, allocations: 7.906 kB / 0.5976 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.673e-05/0.2238, allocations: 25.64 kB / 0.5976 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.2239, allocations: 310.8 kB / 0.5979 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.6e-05/0.224, allocations: 16 kB / 0.5979 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.5e-05/0.224, allocations: 7.984 kB / 0.5979 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.265e-05/0.2241, allocations: 28.78 kB / 0.598 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.2241, allocations: 0 / 0.598 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001261/0.2242, allocations: 65.53 kB / 0.598 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.2243, allocations: 4 kB / 0.598 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.2243, allocations: 0 / 0.598 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.2243, allocations: 4.094 kB / 0.598 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.946e-05/0.2244, allocations: 7.984 kB / 0.598 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.2244, allocations: 0 / 0.598 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.374e-05/0.2244, allocations: 4 kB / 0.598 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-06/0.2244, allocations: 0 / 0.598 GB, free: 5.219 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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 8.162e-05/0.2245, allocations: 109.8 kB / 0.5981 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.32e-05/0.2246, allocations: 7.984 kB / 0.5982 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001784/0.2248, allocations: 61.22 kB / 0.5982 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.2248, allocations: 0 / 0.5982 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.2248, allocations: 0 / 0.5982 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.2248, allocations: 3.984 kB / 0.5982 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001855/0.225, allocations: 161.6 kB / 0.5984 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.225, allocations: 7.938 kB / 0.5984 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.4e-05/0.225, allocations: 7.984 kB / 0.5984 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.225, allocations: 0 / 0.5984 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.505e-06/0.2251, allocations: 0 / 0.5984 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.2251, allocations: 4 kB / 0.5984 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2251, allocations: 0 / 0.5984 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001912/0.2253, allocations: 155.4 kB / 0.5985 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.474e-05/0.2253, allocations: 81.09 kB / 0.5986 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.847e-05/0.2253, allocations: 4 kB / 0.5986 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.734e-05/0.2254, allocations: 0 / 0.5986 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.101e-05/0.2254, allocations: 0 / 0.5986 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.2255, allocations: 4 kB / 0.5986 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.012e-05/0.2255, allocations: 91.3 kB / 0.5987 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2255, allocations: 3.938 kB / 0.5987 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002321/0.2258, allocations: 12 kB / 0.5987 GB, free: 4.414 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 (2): * Single equations (assignments): 2 * 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.0002446/0.226, allocations: 123.2 kB / 0.5988 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001507/0.2262, allocations: 23.98 kB / 0.5989 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2262, allocations: 0 / 0.5989 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.989e-05/0.2262, allocations: 12.05 kB / 0.5989 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002281/0.2265, allocations: 12 kB / 0.5989 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003602/0.2268, allocations: 132.3 kB / 0.599 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000255/0.2271, allocations: 0.6809 MB / 0.5997 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.483e-05/0.2271, allocations: 7.922 kB / 0.5997 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.086e-05/0.2272, allocations: 11.44 kB / 0.5997 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of SimCode: time 3.5e-07/0.2272, allocations: 4 kB / 0.5997 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of Templates: time 0.002836/0.23, allocations: 0.6571 MB / 0.6003 GB, free: 2.703 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)