Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.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.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 107.4 kB / 15.22 MB, free: 0.6562 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.001327/0.001327, allocations: 193.7 kB / 16.13 MB, free: 6.574 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.413/1.413, allocations: 222.9 MB / 239.8 MB, free: 4.609 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 1.041/1.041, allocations: 143 MB / 433 MB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 55.91 kB / 0.5135 GB, free: 12.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1907/0.1919, allocations: 82.04 MB / 0.5936 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside): time 0.002698/0.1946, allocations: 1.493 MB / 0.5951 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008284/0.1955, allocations: 475.8 kB / 0.5955 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.61e-05/0.1955, allocations: 0 / 0.5955 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.918e-05/0.1956, allocations: 0 / 0.5955 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.328e-05/0.1957, allocations: 4 kB / 0.5955 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001793/0.1959, allocations: 19.92 kB / 0.5955 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.962e-05/0.1959, allocations: 27.92 kB / 0.5956 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.196, allocations: 4 kB / 0.5956 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.039e-05/0.1961, allocations: 8 kB / 0.5956 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.04e-05/0.1962, allocations: 7.922 kB / 0.5956 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.559e-05/0.1962, allocations: 11.98 kB / 0.5956 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.199e-05/0.1963, allocations: 15.98 kB / 0.5956 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.602e-05/0.1963, allocations: 7.984 kB / 0.5956 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.563e-05/0.1963, allocations: 7.938 kB / 0.5956 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001221/0.1965, allocations: 35.83 kB / 0.5957 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.1965, allocations: 0 / 0.5957 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.322e-06/0.1965, allocations: 3.938 kB / 0.5957 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.1965, allocations: 0 / 0.5957 GB, free: 7.98 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.0005372/0.197, allocations: 343.7 kB / 0.596 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.1971, allocations: 16.02 kB / 0.596 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.152e-05/0.1971, allocations: 0.9375 kB / 0.596 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/0.1973, allocations: 172.3 kB / 0.5962 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.1973, allocations: 384 / 0.5962 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.23e-05/0.1973, allocations: 384 / 0.5962 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001902/0.1975, allocations: 53.98 kB / 0.5962 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.1975, allocations: 0 / 0.5962 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.1975, allocations: 0 / 0.5962 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.1976, allocations: 4 kB / 0.5962 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001793/0.1977, allocations: 39.89 kB / 0.5963 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003935/0.1981, allocations: 256.9 kB / 0.5965 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000141/0.1983, allocations: 34.56 kB / 0.5965 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.266e-05/0.1984, allocations: 24.89 kB / 0.5966 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001359/0.1985, allocations: 81.11 kB / 0.5966 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.1986, allocations: 34.56 kB / 0.5967 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.1986, allocations: 0 / 0.5967 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003875/0.199, allocations: 81.58 kB / 0.5968 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.813e-05/0.199, allocations: 51.53 kB / 0.5968 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.484e-05/0.1991, allocations: 109.8 kB / 0.5969 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.1992, allocations: 25.7 kB / 0.5969 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.518e-05/0.1992, allocations: 84.14 kB / 0.597 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.827e-05/0.1992, allocations: 7.906 kB / 0.597 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.111e-05/0.1993, allocations: 9.719 kB / 0.597 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.1994, allocations: 318.8 kB / 0.5973 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.74e-05/0.1995, allocations: 15.98 kB / 0.5973 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.553e-05/0.1996, allocations: 19.98 kB / 0.5974 GB, free: 6 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001577/0.1997, allocations: 48.69 kB / 0.5974 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.1998, allocations: 0 / 0.5974 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001877/0.1999, allocations: 61.67 kB / 0.5975 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.2, allocations: 4.094 kB / 0.5975 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.2, allocations: 4 kB / 0.5975 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.2, allocations: 0 / 0.5975 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.811e-05/0.2001, allocations: 11.98 kB / 0.5975 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.2001, allocations: 0 / 0.5975 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.644e-05/0.2002, allocations: 19.83 kB / 0.5975 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.2002, allocations: 0 / 0.5975 GB, free: 5.844 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.747e-05/0.2003, allocations: 113.8 kB / 0.5976 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.39e-05/0.2003, allocations: 0 / 0.5976 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002253/0.2005, allocations: 76.72 kB / 0.5977 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.2006, allocations: 7.938 kB / 0.5977 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.2006, allocations: 0 / 0.5977 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.2006, allocations: 3.984 kB / 0.5977 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001565/0.2007, allocations: 157.9 kB / 0.5979 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.2007, allocations: 4 kB / 0.5979 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.22e-05/0.2008, allocations: 11.98 kB / 0.5979 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.2008, allocations: 3.969 kB / 0.5979 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.672e-06/0.2008, allocations: 4 kB / 0.5979 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.2008, allocations: 0 / 0.5979 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.2008, allocations: 0 / 0.5979 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002351/0.2011, allocations: 167.4 kB / 0.598 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.035e-05/0.2011, allocations: 77.11 kB / 0.5981 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.383e-05/0.2011, allocations: 4 kB / 0.5981 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.52e-05/0.2012, allocations: 12.02 kB / 0.5981 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.379e-05/0.2013, allocations: 0 / 0.5981 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.2013, allocations: 0 / 0.5981 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.705e-05/0.2013, allocations: 87.27 kB / 0.5982 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2013, allocations: 0 / 0.5982 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002268/0.2016, allocations: 15.91 kB / 0.5982 GB, free: 5.016 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.0001587/0.2017, allocations: 99.23 kB / 0.5983 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000211/0.2019, allocations: 43.95 kB / 0.5984 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2019, allocations: 0 / 0.5984 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.745e-05/0.202, allocations: 19.98 kB / 0.5984 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003035/0.2024, allocations: 7.875 kB / 0.5984 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003097/0.2027, allocations: 107.4 kB / 0.5985 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003223/0.203, allocations: 0.6848 MB / 0.5992 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.808e-05/0.203, allocations: 3.938 kB / 0.5992 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.134e-05/0.2031, allocations: 7.438 kB / 0.5992 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.2031, allocations: 0 / 0.5992 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of Templates: time 0.002911/0.206, allocations: 0.4888 MB / 0.5996 GB, free: 3.5 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)