Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="Buildings_8_Buildings_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.001117/0.001117, 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.001152/0.001152, allocations: 198.1 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.587/1.587, allocations: 205.1 MB / 222.4 MB, free: 4.621 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.746/1.746, allocations: 292.3 MB / 0.5489 GB, free: 12.82 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001424, allocations: 67.89 kB / 0.6716 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.2282, allocations: 114.5 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001693/0.2299, allocations: 0.6011 MB / 0.7841 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001189/0.2311, allocations: 1.14 MB / 0.7852 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.071e-05/0.2312, allocations: 0 / 0.7852 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.304e-05/0.2312, allocations: 0 / 0.7852 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002028/0.2314, allocations: 19.91 kB / 0.7852 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 3.646e-06/0.2314, allocations: 0 / 0.7852 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 3.211e-05/0.2315, allocations: 11.94 kB / 0.7852 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.693e-05/0.2315, allocations: 0 / 0.7852 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.363e-05/0.2315, allocations: 4 kB / 0.7852 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.161e-05/0.2316, allocations: 7.922 kB / 0.7852 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.464e-06/0.2316, allocations: 0 / 0.7852 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.26e-05/0.2317, allocations: 19.92 kB / 0.7852 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.554e-06/0.2317, allocations: 7.984 kB / 0.7853 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.102e-05/0.2317, allocations: 0 / 0.7853 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.132e-05/0.2318, allocations: 19.92 kB / 0.7853 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.2318, allocations: 0 / 0.7853 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.302e-06/0.2318, allocations: 0 / 0.7853 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.858e-06/0.2318, allocations: 4 kB / 0.7853 GB, free: 11.52 MB / 0.6075 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.0002233/0.232, allocations: 323.5 kB / 0.7856 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.2321, allocations: 12.03 kB / 0.7856 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.836e-05/0.2321, allocations: 30.75 kB / 0.7856 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.998e-05/0.2321, allocations: 0.9375 kB / 0.7856 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.259e-05/0.2322, allocations: 160.4 kB / 0.7858 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.805e-06/0.2322, allocations: 384 / 0.7858 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.914e-05/0.2322, allocations: 4.375 kB / 0.7858 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.222e-05/0.2323, allocations: 45.75 kB / 0.7858 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.2323, allocations: 4 kB / 0.7858 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.745e-06/0.2324, allocations: 0 / 0.7858 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.2324, allocations: 0 / 0.7858 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.691e-05/0.2324, allocations: 7.984 kB / 0.7858 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001349/0.2325, allocations: 161.8 kB / 0.786 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001789/0.2327, allocations: 34.61 kB / 0.786 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.767e-05/0.2328, allocations: 4.859 kB / 0.786 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001268/0.2329, allocations: 89.05 kB / 0.7861 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.209e-05/0.2329, allocations: 38.58 kB / 0.7862 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.2329, allocations: 0 / 0.7862 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.004258/0.2372, allocations: 0.5677 MB / 0.7867 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.884e-05/0.2373, allocations: 51.41 kB / 0.7868 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.585e-05/0.2373, allocations: 89.86 kB / 0.7868 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.166e-05/0.2373, allocations: 29.7 kB / 0.7869 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.61e-05/0.2374, allocations: 84.12 kB / 0.787 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.63e-05/0.2374, allocations: 15.81 kB / 0.787 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.523e-05/0.2375, allocations: 21.7 kB / 0.787 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.2376, allocations: 310.8 kB / 0.7873 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006076/0.2382, allocations: 87.95 kB / 0.7874 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005969/0.2388, allocations: 94.53 kB / 0.7875 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001206/0.24, allocations: 194.4 kB / 0.7876 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.24, allocations: 0 / 0.7876 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001265/0.2413, allocations: 217.4 kB / 0.7878 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.2413, allocations: 8 kB / 0.7879 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.2414, allocations: 4.062 kB / 0.7879 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.2414, allocations: 0 / 0.7879 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004042/0.2418, allocations: 51.97 kB / 0.7879 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.2418, allocations: 4.188 kB / 0.7879 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003444/0.2421, allocations: 39.98 kB / 0.788 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.439e-05/0.2422, allocations: 7.984 kB / 0.788 GB, free: 8.504 MB / 0.6075 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.377e-05/0.2423, allocations: 114.4 kB / 0.7881 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.265e-05/0.2423, allocations: 7.844 kB / 0.7881 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001384/0.2437, allocations: 233.1 kB / 0.7883 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/0.2437, allocations: 4 kB / 0.7883 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.2437, allocations: 7.938 kB / 0.7883 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.2437, allocations: 0 / 0.7883 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001535/0.2453, allocations: 458.3 kB / 0.7887 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.2453, allocations: 0 / 0.7887 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003864/0.2457, allocations: 47.97 kB / 0.7888 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.2457, allocations: 0 / 0.7888 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/0.2457, allocations: 7.984 kB / 0.7888 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.2457, allocations: 0 / 0.7888 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2457, allocations: 0 / 0.7888 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001278/0.247, allocations: 303.3 kB / 0.7891 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.013e-05/0.247, allocations: 85.09 kB / 0.7892 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.637e-05/0.2471, allocations: 4 kB / 0.7892 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003727/0.2475, allocations: 35.98 kB / 0.7892 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.726e-05/0.2475, allocations: 4 kB / 0.7892 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.535e-05/0.2475, allocations: 3.984 kB / 0.7892 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.218e-05/0.2475, allocations: 75.28 kB / 0.7893 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.3e-07/0.2475, allocations: 0 / 0.7893 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002567/0.2478, allocations: 16 kB / 0.7893 GB, free: 7.016 MB / 0.6075 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.001565/0.2494, allocations: 0.8453 MB / 0.7901 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001251/0.2506, allocations: 179.8 kB / 0.7903 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2507, allocations: 192 / 0.7903 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006193/0.2513, allocations: 95.89 kB / 0.7904 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002108/0.2515, allocations: 6.438 kB / 0.7904 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001282/0.2528, allocations: 254.5 kB / 0.7906 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001812/0.253, allocations: 0.6768 MB / 0.7913 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002119/0.2532, allocations: 28 kB / 0.7913 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.983e-05/0.2533, allocations: 15.42 kB / 0.7913 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of SimCode: time 2.6e-07/0.2533, allocations: 0 / 0.7913 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01656/0.2699, allocations: 1.608 MB / 0.7929 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.853/7.123, allocations: 7.75 kB / 0.7929 GB, free: 3.336 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)