Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.6/1.6, allocations: 288.4 MB / 303.3 MB, free: 8.137 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009567/0.0009568, allocations: 175.2 kB / 372 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.476/1.476, allocations: 205.4 MB / 0.6307 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008175/0.0008173, allocations: 95.09 kB / 0.744 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004369/0.000437, allocations: 14.03 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2038/0.2043, allocations: 115.3 MB / 0.9797 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.0006591/0.205, allocations: 319.8 kB / 0.98 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001128/0.2061, allocations: 1.118 MB / 0.9811 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.423e-05/0.2061, allocations: 0 / 0.9811 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.147e-05/0.2062, allocations: 0 / 0.9811 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002295/0.2064, allocations: 15.94 kB / 0.9811 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 2.575e-06/0.2064, allocations: 0 / 0.9811 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 3.942e-05/0.2065, allocations: 4 kB / 0.9811 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.992e-05/0.2065, allocations: 3.984 kB / 0.9811 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.457e-05/0.2065, allocations: 3.938 kB / 0.9811 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.87e-05/0.2066, allocations: 3.984 kB / 0.9811 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.905e-06/0.2066, allocations: 0 / 0.9811 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.604e-05/0.2067, allocations: 19.92 kB / 0.9811 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.037e-06/0.2067, allocations: 8 kB / 0.9811 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.51e-05/0.2067, allocations: 25.7 kB / 0.9811 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.084e-05/0.2068, allocations: 11.98 kB / 0.9812 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.2068, allocations: 0 / 0.9812 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.685e-06/0.2068, allocations: 0 / 0.9812 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.2068, allocations: 0 / 0.9812 GB, free: 26.02 MB / 0.6198 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.0002242/0.2071, allocations: 311.4 kB / 0.9815 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.2071, allocations: 8.031 kB / 0.9815 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.002e-05/0.2071, allocations: 34.56 kB / 0.9815 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.18e-05/0.2072, allocations: 4 kB / 0.9815 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.258e-05/0.2072, allocations: 171 kB / 0.9817 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.2073, allocations: 4 kB / 0.9817 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.165e-05/0.2073, allocations: 0 / 0.9817 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.415e-05/0.2074, allocations: 37.64 kB / 0.9817 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.2074, allocations: 0 / 0.9817 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.2074, allocations: 0 / 0.9817 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.2074, allocations: 3.984 kB / 0.9817 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.02e-05/0.2075, allocations: 4 kB / 0.9817 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001167/0.2076, allocations: 165.8 kB / 0.9819 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001707/0.2078, allocations: 34.58 kB / 0.9819 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.036e-05/0.2078, allocations: 16.88 kB / 0.9819 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001264/0.208, allocations: 81.11 kB / 0.982 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.401e-05/0.208, allocations: 30.56 kB / 0.982 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.208, allocations: 3.938 kB / 0.982 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.004017/0.212, allocations: 0.5681 MB / 0.9826 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.239e-05/0.212, allocations: 55.41 kB / 0.9826 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.251e-05/0.2121, allocations: 89.86 kB / 0.9827 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.2121, allocations: 25.7 kB / 0.9827 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.057e-05/0.2121, allocations: 80.14 kB / 0.9828 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.83e-05/0.2122, allocations: 19.8 kB / 0.9828 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.457e-06/0.2122, allocations: 0 / 0.9828 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.538e-05/0.2122, allocations: 318.8 kB / 0.9831 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005424/0.2128, allocations: 83.95 kB / 0.9832 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005337/0.2133, allocations: 102.5 kB / 0.9833 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000539/0.2139, allocations: 83.95 kB / 0.9834 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.2139, allocations: 0 / 0.9834 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001117/0.215, allocations: 213.6 kB / 0.9836 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.215, allocations: 8 kB / 0.9836 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.215, allocations: 3.984 kB / 0.9836 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.2151, allocations: 3.938 kB / 0.9836 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003677/0.2154, allocations: 52 kB / 0.9837 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.2154, allocations: 0 / 0.9837 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003211/0.2158, allocations: 43.97 kB / 0.9837 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.2158, allocations: 0 / 0.9837 GB, free: 23.15 MB / 0.6198 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 6.55e-05/0.2159, allocations: 121.8 kB / 0.9838 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.626e-05/0.2159, allocations: 3.906 kB / 0.9838 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00122/0.2171, allocations: 237 kB / 0.9841 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.2171, allocations: 0 / 0.9841 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.2171, allocations: 0 / 0.9841 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.2171, allocations: 4 kB / 0.9841 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00127/0.2184, allocations: 458.7 kB / 0.9845 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.2184, allocations: 4.047 kB / 0.9845 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003359/0.2188, allocations: 51.92 kB / 0.9845 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.2188, allocations: 3.984 kB / 0.9846 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.2188, allocations: 0 / 0.9846 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.2188, allocations: 0 / 0.9846 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2188, allocations: 4 kB / 0.9846 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001125/0.2199, allocations: 303.4 kB / 0.9848 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.437e-05/0.22, allocations: 81.11 kB / 0.9849 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.117e-05/0.22, allocations: 4 kB / 0.9849 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003262/0.2203, allocations: 35.98 kB / 0.985 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.901e-05/0.2204, allocations: 7.984 kB / 0.985 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.2204, allocations: 0 / 0.985 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.322e-05/0.2204, allocations: 75.28 kB / 0.985 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2204, allocations: 0 / 0.985 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002171/0.2206, allocations: 19.94 kB / 0.9851 GB, free: 21.66 MB / 0.6198 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.001307/0.2219, allocations: 0.845 MB / 0.9859 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001083/0.223, allocations: 179.9 kB / 0.9861 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.223, allocations: 0 / 0.9861 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005316/0.2236, allocations: 92.08 kB / 0.9861 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002019/0.2238, allocations: 0 / 0.9861 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/0.2249, allocations: 253.5 kB / 0.9864 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001111/0.2251, allocations: 0.6731 MB / 0.987 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000226/0.2253, allocations: 24.25 kB / 0.9871 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.747e-05/0.2254, allocations: 19.42 kB / 0.9871 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of SimCode: time 2.21e-07/0.2254, allocations: 0 / 0.9871 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01048/0.2358, allocations: 1.455 MB / 0.9885 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001326/0.236, allocations: 220.3 kB / 0.9887 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.522/1.758, allocations: 0 / 0.9887 GB, free: 17.98 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)