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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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: "" <> 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.0007604/0.0007604, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.000815/0.0008151, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.004/1.004, allocations: 143.4 MB / 434.4 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003206/0.0003206, allocations: 12 kB / 0.5161 GB, free: 11.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1564, allocations: 83.42 MB / 0.5976 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.0006241/0.1571, allocations: 315.1 kB / 0.5979 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00116/0.1582, allocations: 1.077 MB / 0.5989 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.964e-05/0.1583, allocations: 0 / 0.5989 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.203e-05/0.1583, allocations: 0 / 0.5989 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002359/0.1585, allocations: 15.98 kB / 0.5989 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 3.126e-06/0.1586, allocations: 0 / 0.5989 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.351e-05/0.1586, allocations: 11.94 kB / 0.5989 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.973e-05/0.1587, allocations: 0 / 0.5989 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.625e-05/0.1587, allocations: 0 / 0.5989 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.856e-05/0.1587, allocations: 3.984 kB / 0.5989 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.095e-06/0.1587, allocations: 0 / 0.5989 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001166/0.1589, allocations: 27.91 kB / 0.599 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.849e-06/0.1589, allocations: 4 kB / 0.599 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.842e-05/0.1589, allocations: 25.7 kB / 0.599 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 5.639e-05/0.159, allocations: 4 kB / 0.599 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.159, allocations: 0 / 0.599 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.325e-06/0.159, allocations: 0 / 0.599 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.159, allocations: 0 / 0.599 GB, free: 6.219 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.0002553/0.1592, allocations: 315.4 kB / 0.5993 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.346e-05/0.1593, allocations: 8.031 kB / 0.5993 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.472e-05/0.1594, allocations: 34.56 kB / 0.5993 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.126e-05/0.1594, allocations: 4 kB / 0.5994 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001049/0.1595, allocations: 171 kB / 0.5995 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.1595, allocations: 4 kB / 0.5995 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.152e-05/0.1596, allocations: 0 / 0.5995 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001024/0.1597, allocations: 29.7 kB / 0.5995 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.1597, allocations: 3.906 kB / 0.5995 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.1597, allocations: 4 kB / 0.5996 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.1597, allocations: 3.938 kB / 0.5996 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.717e-05/0.1598, allocations: 7.984 kB / 0.5996 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000134/0.1599, allocations: 157.6 kB / 0.5997 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00016/0.1601, allocations: 38.53 kB / 0.5998 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.072e-05/0.1601, allocations: 12.86 kB / 0.5998 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001298/0.1602, allocations: 85.19 kB / 0.5998 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/0.1603, allocations: 30.56 kB / 0.5999 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.1603, allocations: 0 / 0.5999 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.003442/0.1637, allocations: 0.5679 MB / 0.6004 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.1638, allocations: 55.41 kB / 0.6005 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.043e-05/0.1638, allocations: 93.8 kB / 0.6006 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.1638, allocations: 25.7 kB / 0.6006 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.575e-05/0.1639, allocations: 80.14 kB / 0.6007 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.398e-05/0.1639, allocations: 23.78 kB / 0.6007 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.023e-05/0.1639, allocations: 0 / 0.6007 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.629e-05/0.164, allocations: 314.8 kB / 0.601 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004598/0.1645, allocations: 87.95 kB / 0.6011 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004621/0.165, allocations: 98.53 kB / 0.6012 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004645/0.1654, allocations: 91.89 kB / 0.6013 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1655, allocations: 0 / 0.6013 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0009715/0.1664, allocations: 213.5 kB / 0.6015 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.1665, allocations: 4 kB / 0.6015 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.1665, allocations: 4 kB / 0.6015 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.1665, allocations: 0 / 0.6015 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003301/0.1668, allocations: 56.19 kB / 0.6015 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.311e-06/0.1668, allocations: 0 / 0.6015 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002694/0.1671, allocations: 43.97 kB / 0.6016 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.495e-05/0.1671, allocations: 7.984 kB / 0.6016 GB, free: 3.332 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.551e-05/0.1672, allocations: 117.8 kB / 0.6017 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.452e-05/0.1673, allocations: 0 / 0.6017 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001115/0.1684, allocations: 237 kB / 0.6019 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.145e-06/0.1684, allocations: 0 / 0.6019 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.1684, allocations: 0 / 0.6019 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.1684, allocations: 4 kB / 0.6019 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001194/0.1696, allocations: 458.4 kB / 0.6024 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.1696, allocations: 0 / 0.6024 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002981/0.17, allocations: 51.91 kB / 0.6024 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.17, allocations: 0 / 0.6024 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.17, allocations: 3.984 kB / 0.6024 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.17, allocations: 0 / 0.6024 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.17, allocations: 4 kB / 0.6024 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009777/0.171, allocations: 299.4 kB / 0.6027 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.954e-05/0.171, allocations: 85.02 kB / 0.6028 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.505e-05/0.1711, allocations: 8 kB / 0.6028 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003051/0.1714, allocations: 35.98 kB / 0.6028 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.487e-05/0.1714, allocations: 11.92 kB / 0.6028 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.859e-06/0.1714, allocations: 0 / 0.6028 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.937e-05/0.1714, allocations: 75.28 kB / 0.6029 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.4e-07/0.1714, allocations: 0 / 0.6029 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002379/0.1717, allocations: 8 kB / 0.6029 GB, free: 1.859 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001297/0.173, allocations: 0.857 MB / 0.6037 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009902/0.174, allocations: 179.9 kB / 0.6039 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.174, allocations: 0 / 0.6039 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004566/0.1745, allocations: 92.08 kB / 0.604 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002054/0.1747, allocations: 0 / 0.604 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001052/0.1757, allocations: 248.3 kB / 0.6042 GB, free: 436 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3057/0.4814, allocations: 0.677 MB / 0.6049 GB, free: 40.48 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002799/0.4818, allocations: 25.41 kB / 0.6049 GB, free: 40.48 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.455e-05/0.4819, allocations: 11.62 kB / 0.6049 GB, free: 40.47 MB / 0.4981 GB Notification: Performance of SimCode: time 1.663e-06/0.4819, allocations: 3.906 kB / 0.6049 GB, free: 40.47 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01175/0.4936, allocations: 1.437 MB / 0.6063 GB, free: 40.42 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002397/0.4939, allocations: 220 kB / 0.6066 GB, free: 40.18 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.628/2.122, allocations: 0 / 0.6066 GB, free: 40.18 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/linux/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) Environment - environmentSimulation: