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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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: 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.001395/0.001395, allocations: 105.6 kB / 16.27 MB, free: 6.414 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.001385/0.001385, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.422/1.422, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 0.9511/0.9511, allocations: 143.3 MB / 434.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002125/0.002125, allocations: 67.91 kB / 0.5151 GB, free: 15 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.3327, allocations: 82.03 MB / 0.5952 GB, free: 15.96 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside): time 0.002264/0.335, allocations: 1.432 MB / 0.5966 GB, free: 14.53 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005989/0.3356, allocations: 466.3 kB / 0.597 GB, free: 14.07 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.281e-05/0.3357, allocations: 0 / 0.597 GB, free: 14.07 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.932e-05/0.3357, allocations: 7.922 kB / 0.597 GB, free: 14.06 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.329e-05/0.3358, allocations: 0.9062 kB / 0.597 GB, free: 14.06 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001923/0.336, allocations: 27.92 kB / 0.5971 GB, free: 14.04 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.422e-05/0.3361, allocations: 24.61 kB / 0.5971 GB, free: 14.01 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.66e-05/0.3362, allocations: 17.2 kB / 0.5971 GB, free: 14 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.567e-05/0.3362, allocations: 8 kB / 0.5971 GB, free: 13.99 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.489e-05/0.3363, allocations: 11.92 kB / 0.5971 GB, free: 13.98 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.196e-05/0.3363, allocations: 5.188 kB / 0.5971 GB, free: 13.97 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.773e-05/0.3363, allocations: 23.92 kB / 0.5971 GB, free: 13.95 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.044e-05/0.3364, allocations: 3.984 kB / 0.5971 GB, free: 13.95 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.993e-05/0.3364, allocations: 13.75 kB / 0.5972 GB, free: 13.93 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.691e-05/0.3365, allocations: 31.89 kB / 0.5972 GB, free: 13.9 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.3365, allocations: 0 / 0.5972 GB, free: 13.9 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3365, allocations: 0 / 0.5972 GB, free: 13.9 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.3365, allocations: 0 / 0.5972 GB, free: 13.9 MB / 446.1 MB 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.0003487/0.3369, allocations: 348.2 kB / 0.5975 GB, free: 13.52 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.937e-05/0.3369, allocations: 13.27 kB / 0.5975 GB, free: 13.51 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.248e-05/0.3369, allocations: 4.938 kB / 0.5975 GB, free: 13.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.956e-05/0.337, allocations: 168.2 kB / 0.5977 GB, free: 13.3 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.337, allocations: 1 kB / 0.5977 GB, free: 13.3 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.105e-06/0.337, allocations: 4.375 kB / 0.5977 GB, free: 13.3 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/0.3372, allocations: 55.36 kB / 0.5978 GB, free: 13.24 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.3372, allocations: 4 kB / 0.5978 GB, free: 13.23 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.3372, allocations: 1.438 kB / 0.5978 GB, free: 13.23 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.3372, allocations: 0 / 0.5978 GB, free: 13.23 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001641/0.3374, allocations: 31.95 kB / 0.5978 GB, free: 13.2 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002501/0.3377, allocations: 254.5 kB / 0.598 GB, free: 12.91 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001129/0.3378, allocations: 32.5 kB / 0.5981 GB, free: 12.87 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.058e-05/0.3379, allocations: 32.83 kB / 0.5981 GB, free: 12.83 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001064/0.338, allocations: 88.19 kB / 0.5982 GB, free: 12.73 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.007e-05/0.338, allocations: 34.56 kB / 0.5982 GB, free: 12.69 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.243e-06/0.338, allocations: 0 / 0.5982 GB, free: 12.69 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003384/0.3384, allocations: 81.64 kB / 0.5983 GB, free: 12.6 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.711e-05/0.3384, allocations: 56.16 kB / 0.5983 GB, free: 12.54 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.27e-05/0.3385, allocations: 103.3 kB / 0.5984 GB, free: 12.43 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.884e-06/0.3385, allocations: 25.7 kB / 0.5985 GB, free: 12.39 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.727e-05/0.3385, allocations: 88.14 kB / 0.5986 GB, free: 12.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.544e-05/0.3385, allocations: 5.219 kB / 0.5986 GB, free: 12.3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.533e-05/0.3386, allocations: 9.719 kB / 0.5986 GB, free: 12.29 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.206e-05/0.3386, allocations: 327.7 kB / 0.5989 GB, free: 11.96 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.796e-05/0.3387, allocations: 15.92 kB / 0.5989 GB, free: 11.94 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.86e-05/0.3388, allocations: 17.36 kB / 0.5989 GB, free: 11.93 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000141/0.3389, allocations: 45.66 kB / 0.599 GB, free: 11.88 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3389, allocations: 1.281 kB / 0.599 GB, free: 11.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001697/0.3391, allocations: 63.11 kB / 0.599 GB, free: 11.81 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.3391, allocations: 4 kB / 0.599 GB, free: 11.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.3391, allocations: 3.938 kB / 0.599 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.3391, allocations: 0.625 kB / 0.599 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.925e-05/0.3392, allocations: 11.98 kB / 0.599 GB, free: 11.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.3392, allocations: 1.531 kB / 0.599 GB, free: 11.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.365e-05/0.3393, allocations: 11.92 kB / 0.599 GB, free: 11.78 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.539e-06/0.3393, allocations: 0 / 0.599 GB, free: 11.78 MB / 446.1 MB 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 4.418e-05/0.3394, allocations: 119.2 kB / 0.5992 GB, free: 11.66 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.277e-05/0.3394, allocations: 3.906 kB / 0.5992 GB, free: 11.65 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002016/0.3396, allocations: 70.94 kB / 0.5992 GB, free: 11.58 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.3396, allocations: 0 / 0.5992 GB, free: 11.58 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.3396, allocations: 0 / 0.5992 GB, free: 11.58 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.3396, allocations: 3.984 kB / 0.5992 GB, free: 11.58 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001062/0.3397, allocations: 163.1 kB / 0.5994 GB, free: 11.37 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3397, allocations: 0 / 0.5994 GB, free: 11.37 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.308e-05/0.3398, allocations: 11.98 kB / 0.5994 GB, free: 11.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.3398, allocations: 0.75 kB / 0.5994 GB, free: 11.36 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.162e-06/0.3398, allocations: 0 / 0.5994 GB, free: 11.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.3398, allocations: 0.7812 kB / 0.5994 GB, free: 11.36 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.3398, allocations: 0 / 0.5994 GB, free: 11.36 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001809/0.34, allocations: 166.5 kB / 0.5996 GB, free: 11.18 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.426e-05/0.34, allocations: 81.11 kB / 0.5996 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.224e-05/0.34, allocations: 4.25 kB / 0.5996 GB, free: 11.08 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.034e-05/0.3401, allocations: 9.328 kB / 0.5997 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.019e-05/0.3402, allocations: 4 kB / 0.5997 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.3402, allocations: 0 / 0.5997 GB, free: 11.07 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.106e-05/0.3402, allocations: 84.61 kB / 0.5997 GB, free: 10.99 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3402, allocations: 0 / 0.5997 GB, free: 10.99 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002199/0.3404, allocations: 12 kB / 0.5998 GB, free: 10.98 MB / 446.1 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 (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.0001157/0.3405, allocations: 108.1 kB / 0.5999 GB, free: 10.86 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002048/0.3407, allocations: 41.27 kB / 0.5999 GB, free: 10.82 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3408, allocations: 1.344 kB / 0.5999 GB, free: 10.82 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.755e-05/0.3408, allocations: 19.98 kB / 0.5999 GB, free: 10.8 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002764/0.3411, allocations: 13.28 kB / 0.5999 GB, free: 10.79 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002356/0.3414, allocations: 140.6 kB / 0.6001 GB, free: 10.62 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.439e-05/0.3415, allocations: 0.6768 MB / 0.6007 GB, free: 9.918 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.919e-05/0.3415, allocations: 7.438 kB / 0.6007 GB, free: 9.91 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3415, allocations: 1.281 kB / 0.6007 GB, free: 9.91 MB / 446.1 MB Notification: Performance of Templates: time 0.001968/0.3435, allocations: 0.6603 MB / 0.6014 GB, free: 9.273 MB / 446.1 MB 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)