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.00115/0.00115, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.336/1.336, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.9843/0.9843, allocations: 143 MB / 433.4 MB, free: 11.39 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 68.09 kB / 0.5143 GB, free: 11.54 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1456, allocations: 82.05 MB / 0.5944 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001866/0.1475, allocations: 0.5842 MB / 0.595 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001245/0.1487, allocations: 1.1 MB / 0.596 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.758e-05/0.1488, allocations: 0 / 0.596 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.409e-05/0.1488, allocations: 0 / 0.596 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002507/0.1491, allocations: 15.92 kB / 0.5961 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 4.178e-06/0.1491, allocations: 0 / 0.5961 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.937e-05/0.1491, allocations: 11.92 kB / 0.5961 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.421e-05/0.1492, allocations: 8 kB / 0.5961 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.518e-05/0.1492, allocations: 3.938 kB / 0.5961 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.029e-05/0.1492, allocations: 0 / 0.5961 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.538e-06/0.1492, allocations: 7.938 kB / 0.5961 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000112/0.1493, allocations: 23.91 kB / 0.5961 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.332e-06/0.1494, allocations: 0 / 0.5961 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.167e-05/0.1494, allocations: 11.98 kB / 0.5961 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 7.889e-05/0.1495, allocations: 15.92 kB / 0.5961 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1495, allocations: 0 / 0.5961 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.332e-06/0.1495, allocations: 0 / 0.5961 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.967e-06/0.1495, allocations: 0 / 0.5961 GB, free: 7.66 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.0002763/0.1498, allocations: 311.6 kB / 0.5964 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.1498, allocations: 12.03 kB / 0.5965 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.074e-05/0.1499, allocations: 42.73 kB / 0.5965 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.543e-05/0.1499, allocations: 0.9375 kB / 0.5965 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.637e-05/0.15, allocations: 160.4 kB / 0.5966 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.15, allocations: 384 / 0.5966 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.153e-05/0.15, allocations: 4.375 kB / 0.5967 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.324e-05/0.1501, allocations: 45.75 kB / 0.5967 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.1502, allocations: 3.906 kB / 0.5967 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.244e-06/0.1502, allocations: 0 / 0.5967 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.406e-06/0.1502, allocations: 0 / 0.5967 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.354e-05/0.1502, allocations: 4 kB / 0.5967 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001324/0.1504, allocations: 157.7 kB / 0.5969 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001675/0.1505, allocations: 30.61 kB / 0.5969 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.234e-05/0.1506, allocations: 12.86 kB / 0.5969 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001308/0.1507, allocations: 81.05 kB / 0.597 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.1507, allocations: 38.5 kB / 0.597 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.1507, allocations: 0 / 0.597 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.004276/0.155, allocations: 0.5719 MB / 0.5976 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/0.1551, allocations: 51.41 kB / 0.5976 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.419e-05/0.1551, allocations: 93.84 kB / 0.5977 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.1551, allocations: 25.7 kB / 0.5977 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.341e-05/0.1552, allocations: 84.08 kB / 0.5978 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.172e-05/0.1552, allocations: 23.8 kB / 0.5978 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.663e-05/0.1553, allocations: 17.72 kB / 0.5979 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.543e-05/0.1554, allocations: 314.8 kB / 0.5982 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000609/0.156, allocations: 83.95 kB / 0.5982 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006172/0.1566, allocations: 102.5 kB / 0.5983 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001198/0.1578, allocations: 194.4 kB / 0.5985 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.1578, allocations: 0 / 0.5985 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00132/0.1592, allocations: 221.4 kB / 0.5987 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.1592, allocations: 4 kB / 0.5987 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.1592, allocations: 0.6094 kB / 0.5987 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.1592, allocations: 0 / 0.5987 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004128/0.1597, allocations: 59.94 kB / 0.5988 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.1597, allocations: 0 / 0.5988 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003557/0.16, allocations: 39.98 kB / 0.5988 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.492e-05/0.1601, allocations: 3.984 kB / 0.5988 GB, free: 4.645 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.746e-05/0.1601, allocations: 117.8 kB / 0.5989 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.364e-05/0.1602, allocations: 7.938 kB / 0.5989 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001392/0.1616, allocations: 241.1 kB / 0.5992 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.1616, allocations: 0 / 0.5992 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1616, allocations: 0 / 0.5992 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1616, allocations: 0 / 0.5992 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00154/0.1631, allocations: 458.4 kB / 0.5996 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.1632, allocations: 0 / 0.5996 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003926/0.1636, allocations: 51.97 kB / 0.5997 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.1636, allocations: 4 kB / 0.5997 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.1636, allocations: 0 / 0.5997 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.1636, allocations: 0 / 0.5997 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.1636, allocations: 3.984 kB / 0.5997 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001312/0.1649, allocations: 303.3 kB / 0.6 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.139e-05/0.165, allocations: 81.09 kB / 0.6 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.369e-05/0.165, allocations: 4 kB / 0.6 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003792/0.1654, allocations: 35.98 kB / 0.6001 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.614e-05/0.1654, allocations: 8 kB / 0.6001 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.316e-05/0.1654, allocations: 8.172 kB / 0.6001 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.434e-05/0.1655, allocations: 75.28 kB / 0.6002 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1655, allocations: 3.938 kB / 0.6002 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002551/0.1657, allocations: 8 kB / 0.6002 GB, free: 3.16 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.001604/0.1673, allocations: 0.8489 MB / 0.601 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001301/0.1686, allocations: 183.9 kB / 0.6012 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1687, allocations: 0 / 0.6012 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006265/0.1693, allocations: 96.02 kB / 0.6013 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002151/0.1695, allocations: 3.094 kB / 0.6013 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001351/0.1709, allocations: 246.5 kB / 0.6015 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002187/0.1711, allocations: 0.6807 MB / 0.6022 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002242/0.1713, allocations: 24 kB / 0.6022 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.443e-05/0.1714, allocations: 15.42 kB / 0.6022 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.1714, allocations: 4 kB / 0.6022 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2669/0.4383, allocations: 1.606 MB / 0.6038 GB, free: 43.7 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.331/7.77, allocations: 4.703 kB / 0.6038 GB, free: 43.7 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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)