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.001049/0.001049, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001014/0.001014, allocations: 177.3 kB / 15.94 MB, free: 228 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.372/1.372, allocations: 223.2 MB / 239.9 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.027/1.027, allocations: 143.3 MB / 434.3 MB, free: 13.58 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003707/0.0003708, allocations: 12 kB / 0.5159 GB, free: 11.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1816/0.182, allocations: 83.42 MB / 0.5974 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.0006581/0.1827, allocations: 311.1 kB / 0.5977 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001181/0.1839, allocations: 1.077 MB / 0.5987 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.035e-05/0.184, allocations: 0 / 0.5987 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.068e-05/0.184, allocations: 0 / 0.5987 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002411/0.1842, allocations: 23.91 kB / 0.5987 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 3.476e-06/0.1842, allocations: 0 / 0.5987 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.402e-05/0.1843, allocations: 0 / 0.5987 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.89e-05/0.1843, allocations: 0 / 0.5987 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.554e-05/0.1843, allocations: 4 kB / 0.5987 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.67e-05/0.1844, allocations: 3.984 kB / 0.5988 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.995e-06/0.1844, allocations: 4 kB / 0.5988 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.541e-05/0.1845, allocations: 19.92 kB / 0.5988 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.017e-06/0.1845, allocations: 0 / 0.5988 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.284e-05/0.1845, allocations: 29.69 kB / 0.5988 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 4.705e-05/0.1846, allocations: 7.984 kB / 0.5988 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.1846, allocations: 3.938 kB / 0.5988 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.442e-06/0.1846, allocations: 0 / 0.5988 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.466e-06/0.1846, allocations: 0 / 0.5988 GB, free: 6.293 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.0002085/0.1848, allocations: 319.4 kB / 0.5991 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.1849, allocations: 8.031 kB / 0.5991 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.335e-05/0.1849, allocations: 38.56 kB / 0.5992 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.805e-05/0.1849, allocations: 0 / 0.5992 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.077e-05/0.185, allocations: 163 kB / 0.5993 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.245e-06/0.185, allocations: 0 / 0.5993 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.611e-05/0.1851, allocations: 0 / 0.5993 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.549e-05/0.1851, allocations: 41.62 kB / 0.5994 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.1852, allocations: 7.906 kB / 0.5994 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.063e-06/0.1852, allocations: 0 / 0.5994 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.1852, allocations: 0 / 0.5994 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.205e-05/0.1852, allocations: 7.984 kB / 0.5994 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001243/0.1854, allocations: 157.6 kB / 0.5995 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001658/0.1855, allocations: 34.61 kB / 0.5996 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001336/0.1857, allocations: 81.11 kB / 0.5996 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.336e-05/0.1857, allocations: 38.58 kB / 0.5997 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.1857, allocations: 4 kB / 0.5997 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.004377/0.1901, allocations: 0.572 MB / 0.6002 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.178e-05/0.1902, allocations: 55.41 kB / 0.6003 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.57e-05/0.1902, allocations: 89.86 kB / 0.6004 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.183e-05/0.1903, allocations: 25.7 kB / 0.6004 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.315e-05/0.1903, allocations: 80.14 kB / 0.6005 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.508e-05/0.1904, allocations: 15.81 kB / 0.6005 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.421e-05/0.1904, allocations: 0 / 0.6005 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.1906, allocations: 314.8 kB / 0.6008 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007808/0.1914, allocations: 87.95 kB / 0.6009 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006332/0.192, allocations: 106.6 kB / 0.601 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005976/0.1926, allocations: 87.95 kB / 0.6011 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.1926, allocations: 0 / 0.6011 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001253/0.1939, allocations: 213.5 kB / 0.6013 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.1939, allocations: 4 kB / 0.6013 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.1939, allocations: 0 / 0.6013 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.194, allocations: 11.92 kB / 0.6013 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003885/0.1944, allocations: 51.94 kB / 0.6013 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/0.1944, allocations: 0 / 0.6013 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000329/0.1947, allocations: 39.98 kB / 0.6014 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.657e-05/0.1947, allocations: 4 kB / 0.6014 GB, free: 3.426 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.023e-05/0.1948, allocations: 120 kB / 0.6015 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.639e-05/0.1948, allocations: 4 kB / 0.6015 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001346/0.1962, allocations: 233.1 kB / 0.6017 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.1962, allocations: 0 / 0.6017 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.1962, allocations: 3.938 kB / 0.6017 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.1962, allocations: 0 / 0.6017 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001482/0.1977, allocations: 454.5 kB / 0.6021 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.1977, allocations: 0 / 0.6021 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003708/0.1981, allocations: 51.97 kB / 0.6022 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.1981, allocations: 0 / 0.6022 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.1981, allocations: 0 / 0.6022 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.1981, allocations: 3.938 kB / 0.6022 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.1982, allocations: 0 / 0.6022 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00123/0.1994, allocations: 307.4 kB / 0.6025 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.689e-05/0.1994, allocations: 85.02 kB / 0.6026 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.302e-05/0.1995, allocations: 320 / 0.6026 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003633/0.1998, allocations: 43.97 kB / 0.6026 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.48e-05/0.1999, allocations: 3.938 kB / 0.6026 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.311e-05/0.1999, allocations: 8 kB / 0.6026 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.399e-05/0.1999, allocations: 75.28 kB / 0.6027 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1999, allocations: 0 / 0.6027 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002706/0.2002, allocations: 12 kB / 0.6027 GB, free: 1.949 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.001573/0.2018, allocations: 0.8451 MB / 0.6035 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001171/0.203, allocations: 172 kB / 0.6037 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.203, allocations: 4 kB / 0.6037 GB, free: 0.9023 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005636/0.2035, allocations: 96.02 kB / 0.6038 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001314/0.2037, allocations: 0 / 0.6038 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001251/0.2049, allocations: 252.3 kB / 0.604 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3093/0.5142, allocations: 0.6784 MB / 0.6047 GB, free: 40.38 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000261/0.5145, allocations: 28.33 kB / 0.6047 GB, free: 40.38 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.059e-05/0.5146, allocations: 10.41 kB / 0.6047 GB, free: 40.37 MB / 0.4981 GB Notification: Performance of SimCode: time 1.072e-06/0.5146, allocations: 0 / 0.6047 GB, free: 40.37 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01039/0.525, allocations: 1.43 MB / 0.6061 GB, free: 40.32 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001289/0.5252, allocations: 211.1 kB / 0.6063 GB, free: 40.09 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.582/2.107, allocations: 0 / 0.6063 GB, free: 40.09 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: