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.001185/0.001185, 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.001774/0.001774, allocations: 198.1 kB / 16.14 MB, free: 6.66 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.356/1.356, allocations: 222.9 MB / 239.8 MB, free: 4.629 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.9765/0.9765, allocations: 143 MB / 433 MB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 67.89 kB / 0.5136 GB, free: 12.06 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1733/0.1747, allocations: 82.04 MB / 0.5937 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.00172/0.1765, allocations: 0.6453 MB / 0.5944 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001182/0.1777, allocations: 1.1 MB / 0.5954 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.38e-05/0.1777, allocations: 0 / 0.5954 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.467e-05/0.1777, allocations: 3.938 kB / 0.5954 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002125/0.1779, allocations: 19.97 kB / 0.5955 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 2.544e-06/0.178, allocations: 4 kB / 0.5955 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 2.992e-05/0.178, allocations: 4 kB / 0.5955 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.533e-05/0.178, allocations: 0 / 0.5955 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.511e-05/0.178, allocations: 7.875 kB / 0.5955 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.867e-05/0.1781, allocations: 0 / 0.5955 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.582e-06/0.1781, allocations: 4 kB / 0.5955 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.405e-05/0.1782, allocations: 19.97 kB / 0.5955 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.546e-06/0.1782, allocations: 3.984 kB / 0.5955 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.471e-05/0.1782, allocations: 0 / 0.5955 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 7.246e-05/0.1783, allocations: 23.86 kB / 0.5955 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1783, allocations: 0 / 0.5955 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.02e-07/0.1783, allocations: 4 kB / 0.5955 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.477e-06/0.1783, allocations: 0 / 0.5955 GB, free: 8.125 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.0002424/0.1786, allocations: 311.6 kB / 0.5958 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.1786, allocations: 8.031 kB / 0.5958 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.746e-05/0.1786, allocations: 38.73 kB / 0.5959 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.186e-05/0.1787, allocations: 0.9375 kB / 0.5959 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.19e-05/0.1788, allocations: 164.4 kB / 0.596 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.1788, allocations: 384 / 0.596 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.813e-05/0.1788, allocations: 384 / 0.596 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.455e-05/0.1789, allocations: 45.81 kB / 0.5961 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.1789, allocations: 3.906 kB / 0.5961 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.1789, allocations: 0 / 0.5961 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.1789, allocations: 0 / 0.5961 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.435e-05/0.179, allocations: 7.938 kB / 0.5961 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001361/0.1791, allocations: 157.7 kB / 0.5962 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001777/0.1793, allocations: 34.61 kB / 0.5963 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.893e-05/0.1793, allocations: 12.8 kB / 0.5963 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001276/0.1795, allocations: 85.11 kB / 0.5964 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/0.1795, allocations: 34.59 kB / 0.5964 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.1795, allocations: 0 / 0.5964 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.00418/0.1837, allocations: 0.5681 MB / 0.597 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.493e-05/0.1837, allocations: 59.33 kB / 0.597 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.641e-05/0.1838, allocations: 89.86 kB / 0.5971 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.1838, allocations: 29.64 kB / 0.5971 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.46e-05/0.1838, allocations: 88.14 kB / 0.5972 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.6e-05/0.1839, allocations: 15.8 kB / 0.5972 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.085e-05/0.1839, allocations: 21.7 kB / 0.5972 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.965e-05/0.184, allocations: 310.8 kB / 0.5975 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005619/0.1846, allocations: 83.95 kB / 0.5976 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000559/0.1852, allocations: 98.53 kB / 0.5977 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001101/0.1863, allocations: 198.4 kB / 0.5979 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1863, allocations: 0 / 0.5979 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00119/0.1875, allocations: 217.5 kB / 0.5981 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.1875, allocations: 8.062 kB / 0.5981 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.1875, allocations: 0 / 0.5981 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.1875, allocations: 7.984 kB / 0.5981 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003692/0.1879, allocations: 47.97 kB / 0.5982 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.1879, allocations: 0 / 0.5982 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003145/0.1882, allocations: 39.98 kB / 0.5982 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.892e-05/0.1883, allocations: 15.97 kB / 0.5982 GB, free: 5.102 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 7.082e-05/0.1883, allocations: 105.8 kB / 0.5983 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.766e-05/0.1884, allocations: 3.938 kB / 0.5983 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001285/0.1896, allocations: 237 kB / 0.5986 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.1897, allocations: 0 / 0.5986 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.1897, allocations: 4 kB / 0.5986 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.1897, allocations: 0 / 0.5986 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001382/0.1911, allocations: 458.4 kB / 0.599 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.1911, allocations: 0 / 0.599 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003527/0.1914, allocations: 52.28 kB / 0.599 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1914, allocations: 0 / 0.599 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.674e-05/0.1915, allocations: 4 kB / 0.599 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.1915, allocations: 3.984 kB / 0.5991 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1915, allocations: 0 / 0.5991 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001177/0.1926, allocations: 303.4 kB / 0.5993 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.755e-05/0.1927, allocations: 81.09 kB / 0.5994 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.257e-05/0.1927, allocations: 0 / 0.5994 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003429/0.1931, allocations: 43.98 kB / 0.5995 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.179e-05/0.1931, allocations: 0 / 0.5995 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/0.1931, allocations: 11.92 kB / 0.5995 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.471e-05/0.1931, allocations: 83.16 kB / 0.5996 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1931, allocations: 0 / 0.5996 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002405/0.1934, allocations: 12 kB / 0.5996 GB, free: 3.625 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.001509/0.1949, allocations: 0.845 MB / 0.6004 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001187/0.1961, allocations: 183.8 kB / 0.6006 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1961, allocations: 4.188 kB / 0.6006 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005502/0.1967, allocations: 83.95 kB / 0.6006 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002178/0.1969, allocations: 7.938 kB / 0.6007 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001226/0.1981, allocations: 250.1 kB / 0.6009 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002403/0.1984, allocations: 0.6809 MB / 0.6016 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002184/0.1986, allocations: 28 kB / 0.6016 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.499e-05/0.1987, allocations: 11.42 kB / 0.6016 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.1987, allocations: 3.938 kB / 0.6016 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01086/0.2096, allocations: 1.517 MB / 0.6031 GB, free: 92 kB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.3004/0.51, allocations: 230.6 kB / 0.6033 GB, free: 45.88 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.614/2.124, allocations: 0.9375 kB / 0.6033 GB, free: 45.88 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)