Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.SmoothHeavisideDerivatives,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",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.00118/0.00118, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001511/0.001511, allocations: 194 kB / 16.25 MB, free: 6.617 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.427/1.427, allocations: 222.9 MB / 239.9 MB, free: 4.531 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.077/1.077, allocations: 143.1 MB / 433.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002116/0.002116, allocations: 59.91 kB / 0.5138 GB, free: 11.86 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2046/0.2067, allocations: 82.05 MB / 0.5939 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.00192/0.2087, allocations: 0.6505 MB / 0.5946 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001413/0.2101, allocations: 1.104 MB / 0.5956 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.561e-05/0.2102, allocations: 0 / 0.5956 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.469e-05/0.2102, allocations: 0 / 0.5956 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002479/0.2104, allocations: 19.91 kB / 0.5957 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 4.398e-06/0.2105, allocations: 4 kB / 0.5957 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.883e-05/0.2105, allocations: 11.94 kB / 0.5957 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.089e-05/0.2106, allocations: 0 / 0.5957 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.434e-05/0.2106, allocations: 0 / 0.5957 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.916e-05/0.2106, allocations: 0 / 0.5957 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.374e-06/0.2106, allocations: 4 kB / 0.5957 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001052/0.2107, allocations: 19.92 kB / 0.5957 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.873e-06/0.2107, allocations: 3.984 kB / 0.5957 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.83e-05/0.2108, allocations: 3.938 kB / 0.5957 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 7.904e-05/0.2108, allocations: 15.98 kB / 0.5957 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2108, allocations: 0 / 0.5957 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.275e-06/0.2109, allocations: 4 kB / 0.5957 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.2109, allocations: 0 / 0.5957 GB, free: 7.922 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.0002654/0.2111, allocations: 315.6 kB / 0.596 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.2112, allocations: 8.031 kB / 0.596 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.781e-05/0.2112, allocations: 34.69 kB / 0.5961 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.433e-05/0.2112, allocations: 0.9375 kB / 0.5961 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.402e-05/0.2113, allocations: 172.4 kB / 0.5962 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.033e-06/0.2114, allocations: 384 / 0.5962 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.349e-05/0.2114, allocations: 384 / 0.5962 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001006/0.2115, allocations: 41.77 kB / 0.5963 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.2115, allocations: 3.906 kB / 0.5963 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.784e-06/0.2115, allocations: 3.984 kB / 0.5963 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.2115, allocations: 0 / 0.5963 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.469e-05/0.2116, allocations: 11.98 kB / 0.5963 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001356/0.2117, allocations: 145.7 kB / 0.5964 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000173/0.2119, allocations: 38.55 kB / 0.5965 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.248e-05/0.2119, allocations: 12.86 kB / 0.5965 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001394/0.2121, allocations: 89.19 kB / 0.5966 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.987e-05/0.2121, allocations: 38.44 kB / 0.5966 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.2121, allocations: 0 / 0.5966 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.004333/0.2164, allocations: 0.5679 MB / 0.5972 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.424e-05/0.2165, allocations: 51.41 kB / 0.5972 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.039e-05/0.2165, allocations: 89.86 kB / 0.5973 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.196e-05/0.2166, allocations: 29.7 kB / 0.5973 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.663e-05/0.2166, allocations: 84.14 kB / 0.5974 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.478e-05/0.2166, allocations: 19.78 kB / 0.5974 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.316e-05/0.2167, allocations: 13.72 kB / 0.5974 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.072e-05/0.2168, allocations: 314.8 kB / 0.5977 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005931/0.2174, allocations: 83.95 kB / 0.5978 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005941/0.218, allocations: 102.5 kB / 0.5979 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001192/0.2192, allocations: 194.4 kB / 0.5981 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.2192, allocations: 0 / 0.5981 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001245/0.2205, allocations: 217.4 kB / 0.5983 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.2205, allocations: 8.062 kB / 0.5983 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.2205, allocations: 0 / 0.5983 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.2205, allocations: 7.984 kB / 0.5983 GB, free: 5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003951/0.2209, allocations: 47.97 kB / 0.5984 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.2209, allocations: 0 / 0.5984 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003405/0.2213, allocations: 39.98 kB / 0.5984 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.578e-05/0.2213, allocations: 4 kB / 0.5984 GB, free: 4.91 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 5 * 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.598e-05/0.2214, allocations: 113.8 kB / 0.5985 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.089e-05/0.2214, allocations: 7.938 kB / 0.5985 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001392/0.2228, allocations: 233.1 kB / 0.5987 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.2228, allocations: 256 / 0.5987 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.2228, allocations: 4 kB / 0.5987 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.2228, allocations: 4 kB / 0.5987 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001452/0.2243, allocations: 458.3 kB / 0.5992 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.2243, allocations: 0 / 0.5992 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003725/0.2247, allocations: 51.97 kB / 0.5992 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.2247, allocations: 0 / 0.5992 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.2247, allocations: 4 kB / 0.5992 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.2247, allocations: 0 / 0.5992 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2247, allocations: 0 / 0.5992 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001232/0.226, allocations: 311.3 kB / 0.5995 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.039e-05/0.226, allocations: 81.05 kB / 0.5996 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.361e-05/0.2261, allocations: 0 / 0.5996 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003906/0.2264, allocations: 43.97 kB / 0.5997 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.483e-05/0.2265, allocations: 0 / 0.5997 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.358e-05/0.2265, allocations: 4.422 kB / 0.5997 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.405e-05/0.2265, allocations: 79.28 kB / 0.5997 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2265, allocations: 0 / 0.5997 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002543/0.2268, allocations: 12 kB / 0.5997 GB, free: 3.43 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 (5): * Single equations (assignments): 5 * 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.001548/0.2283, allocations: 0.8528 MB / 0.6006 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001204/0.2296, allocations: 175.9 kB / 0.6007 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2296, allocations: 4.188 kB / 0.6008 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005823/0.2302, allocations: 91.88 kB / 0.6008 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000214/0.2304, allocations: 4 kB / 0.6008 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001284/0.2317, allocations: 250.5 kB / 0.6011 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002266/0.2319, allocations: 0.6768 MB / 0.6017 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002365/0.2322, allocations: 28.25 kB / 0.6018 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.261e-05/0.2322, allocations: 11.44 kB / 0.6018 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.2322, allocations: 0 / 0.6018 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3228/0.555, allocations: 1.546 MB / 0.6033 GB, free: 44.8 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001643/0.5552, allocations: 228.8 kB / 0.6035 GB, free: 44.55 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.732/2.287, allocations: 4.375 kB / 0.6035 GB, free: 44.55 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)