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.001072/0.001073, allocations: 89.81 kB / 15.36 MB, free: 0.7383 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.007799/0.007799, allocations: 171.2 kB / 16.26 MB, free: 6.613 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.551/1.551, allocations: 223.3 MB / 240.3 MB, free: 5.332 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.068/1.068, allocations: 143.2 MB / 434.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004802/0.0004804, allocations: 12 kB / 0.5164 GB, free: 11.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2016/0.2021, allocations: 83.41 MB / 0.5978 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside): time 0.001602/0.2037, allocations: 1.155 MB / 0.599 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007273/0.2044, allocations: 460 kB / 0.5994 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.307e-05/0.2045, allocations: 0 / 0.5994 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.388e-05/0.2045, allocations: 3.938 kB / 0.5994 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.964e-05/0.2046, allocations: 0 / 0.5994 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000164/0.2048, allocations: 23.92 kB / 0.5994 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.455e-05/0.2048, allocations: 27.84 kB / 0.5995 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.403e-05/0.2049, allocations: 12 kB / 0.5995 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.282e-05/0.205, allocations: 4 kB / 0.5995 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.417e-05/0.205, allocations: 15.92 kB / 0.5995 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.052e-05/0.205, allocations: 0 / 0.5995 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.712e-05/0.2051, allocations: 15.98 kB / 0.5995 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.518e-06/0.2051, allocations: 0 / 0.5995 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.768e-05/0.2052, allocations: 41.62 kB / 0.5995 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.917e-05/0.2053, allocations: 31.88 kB / 0.5996 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.2053, allocations: 0 / 0.5996 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.935e-06/0.2053, allocations: 0 / 0.5996 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.186e-06/0.2053, allocations: 7.938 kB / 0.5996 GB, free: 5.836 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.0004233/0.2057, allocations: 347.7 kB / 0.5999 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.2058, allocations: 8.031 kB / 0.5999 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.028e-05/0.2058, allocations: 0.9375 kB / 0.5999 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.2059, allocations: 164.4 kB / 0.6001 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.2059, allocations: 384 / 0.6001 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.176e-06/0.206, allocations: 384 / 0.6001 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000174/0.2061, allocations: 65.97 kB / 0.6001 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.2062, allocations: 0 / 0.6001 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.2062, allocations: 0 / 0.6001 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.2062, allocations: 4 kB / 0.6001 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001785/0.2064, allocations: 47.95 kB / 0.6002 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003169/0.2067, allocations: 256.8 kB / 0.6004 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001436/0.2068, allocations: 38.55 kB / 0.6005 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.278e-05/0.2069, allocations: 36.84 kB / 0.6005 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001164/0.2071, allocations: 81.11 kB / 0.6006 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.2071, allocations: 30.56 kB / 0.6006 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.2071, allocations: 0 / 0.6006 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003811/0.2075, allocations: 105.6 kB / 0.6007 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.2075, allocations: 51.41 kB / 0.6008 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.436e-05/0.2076, allocations: 105.8 kB / 0.6009 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.868e-05/0.2077, allocations: 29.7 kB / 0.6009 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.293e-05/0.2077, allocations: 88.27 kB / 0.601 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.537e-05/0.2077, allocations: 3.906 kB / 0.601 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.082e-05/0.2077, allocations: 9.719 kB / 0.601 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.2079, allocations: 318.8 kB / 0.6013 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001033/0.208, allocations: 19.98 kB / 0.6013 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.955e-05/0.2081, allocations: 23.98 kB / 0.6013 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001724/0.2083, allocations: 56.75 kB / 0.6014 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.2083, allocations: 0 / 0.6014 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002069/0.2085, allocations: 77.67 kB / 0.6015 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.2085, allocations: 4 kB / 0.6015 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.2085, allocations: 4 kB / 0.6015 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.2085, allocations: 0 / 0.6015 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.24e-05/0.2086, allocations: 16.02 kB / 0.6015 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.2086, allocations: 0 / 0.6015 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.287e-05/0.2087, allocations: 12.17 kB / 0.6015 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/0.2087, allocations: 4 kB / 0.6015 GB, free: 3.625 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.103e-05/0.2088, allocations: 109.8 kB / 0.6016 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.552e-05/0.2088, allocations: 7.906 kB / 0.6016 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002488/0.2091, allocations: 92.72 kB / 0.6017 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.2091, allocations: 0 / 0.6017 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.2091, allocations: 0 / 0.6017 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.2091, allocations: 3.984 kB / 0.6017 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001692/0.2093, allocations: 161.6 kB / 0.6019 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.2093, allocations: 0 / 0.6019 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.353e-05/0.2094, allocations: 16.02 kB / 0.6019 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.2094, allocations: 0 / 0.6019 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.2094, allocations: 4 kB / 0.6019 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.2094, allocations: 0 / 0.6019 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.2094, allocations: 0 / 0.6019 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002794/0.2097, allocations: 175.5 kB / 0.602 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.338e-05/0.2097, allocations: 81.11 kB / 0.6021 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.214e-05/0.2097, allocations: 0 / 0.6021 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.973e-05/0.2098, allocations: 7.984 kB / 0.6021 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.28e-05/0.2099, allocations: 11.94 kB / 0.6021 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/0.2099, allocations: 7.875 kB / 0.6022 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.734e-05/0.2099, allocations: 87.3 kB / 0.6022 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2099, allocations: 0 / 0.6022 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002225/0.2102, allocations: 8 kB / 0.6022 GB, free: 2.77 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.0001513/0.2103, allocations: 99.25 kB / 0.6023 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002707/0.2106, allocations: 55.95 kB / 0.6024 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2106, allocations: 0 / 0.6024 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.22e-05/0.2107, allocations: 19.98 kB / 0.6024 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002869/0.211, allocations: 13.91 kB / 0.6024 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002623/0.2113, allocations: 120.7 kB / 0.6025 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002676/0.2116, allocations: 0.677 MB / 0.6032 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.423e-05/0.2116, allocations: 0 / 0.6032 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.949e-05/0.2116, allocations: 7.438 kB / 0.6032 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.2116, allocations: 0 / 0.6032 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of Templates: time 0.00267/0.2143, allocations: 0.4939 MB / 0.6037 GB, free: 1.234 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)