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.0009518/0.0009519, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.007899/0.0079, allocations: 168.5 kB / 16.26 MB, free: 6.652 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.666/1.666, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.646/1.646, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0005149/0.000515, allocations: 16.78 kB / 0.6744 GB, free: 25.63 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2759/0.2764, allocations: 116.3 MB / 0.788 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.0008004/0.2773, allocations: 343.5 kB / 0.7883 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001395/0.2787, allocations: 1.122 MB / 0.7894 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.541e-05/0.2787, allocations: 0 / 0.7894 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.474e-05/0.2788, allocations: 4 kB / 0.7894 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002315/0.279, allocations: 19.92 kB / 0.7894 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 3.006e-06/0.279, allocations: 0 / 0.7894 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 3.82e-05/0.2791, allocations: 7.984 kB / 0.7895 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.798e-05/0.2791, allocations: 4 kB / 0.7895 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.443e-05/0.2791, allocations: 0 / 0.7895 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.124e-05/0.2792, allocations: 7.938 kB / 0.7895 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.055e-06/0.2792, allocations: 0 / 0.7895 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001084/0.2793, allocations: 27.84 kB / 0.7895 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.963e-06/0.2793, allocations: 0 / 0.7895 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.761e-05/0.2794, allocations: 29.7 kB / 0.7895 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.969e-05/0.2794, allocations: 11.92 kB / 0.7895 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.2795, allocations: 0 / 0.7895 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2795, allocations: 0 / 0.7895 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.2795, allocations: 4 kB / 0.7895 GB, free: 9.918 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.0002908/0.2798, allocations: 315.5 kB / 0.7898 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.2798, allocations: 12.09 kB / 0.7898 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.916e-05/0.2799, allocations: 34.75 kB / 0.7899 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.075e-05/0.2799, allocations: 0.9375 kB / 0.7899 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.833e-05/0.28, allocations: 164.3 kB / 0.79 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.28, allocations: 384 / 0.79 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.088e-05/0.28, allocations: 4.375 kB / 0.79 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001017/0.2801, allocations: 41.81 kB / 0.7901 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.2802, allocations: 0 / 0.7901 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.2802, allocations: 4 kB / 0.7901 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.992e-06/0.2802, allocations: 0 / 0.7901 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.072e-05/0.2802, allocations: 7.984 kB / 0.7901 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001563/0.2804, allocations: 157.8 kB / 0.7902 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001742/0.2806, allocations: 34.55 kB / 0.7903 GB, free: 9 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.133e-05/0.2806, allocations: 8.859 kB / 0.7903 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001441/0.2808, allocations: 89.17 kB / 0.7904 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/0.2808, allocations: 42.5 kB / 0.7904 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.2808, allocations: 0 / 0.7904 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.004057/0.2849, allocations: 0.5638 MB / 0.791 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.906e-05/0.2849, allocations: 51.41 kB / 0.791 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.946e-05/0.285, allocations: 89.86 kB / 0.7911 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.285, allocations: 25.7 kB / 0.7911 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.844e-05/0.285, allocations: 80.14 kB / 0.7912 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.771e-05/0.2851, allocations: 15.81 kB / 0.7912 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.085e-05/0.2851, allocations: 13.72 kB / 0.7912 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.2853, allocations: 318.8 kB / 0.7915 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005644/0.2858, allocations: 79.95 kB / 0.7916 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005777/0.2864, allocations: 102.5 kB / 0.7917 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001135/0.2876, allocations: 190.4 kB / 0.7919 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.2876, allocations: 0 / 0.7919 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001238/0.2888, allocations: 225.5 kB / 0.7921 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.381e-05/0.2888, allocations: 4 kB / 0.7921 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.2889, allocations: 192 / 0.7921 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.2889, allocations: 4.453 kB / 0.7921 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000393/0.2893, allocations: 51.97 kB / 0.7922 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.948e-06/0.2893, allocations: 7.875 kB / 0.7922 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003327/0.2896, allocations: 39.98 kB / 0.7922 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.571e-05/0.2897, allocations: 3.984 kB / 0.7922 GB, free: 6.914 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 0.0001086/0.2898, allocations: 118.5 kB / 0.7923 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.899e-05/0.2898, allocations: 7.844 kB / 0.7923 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001327/0.2911, allocations: 237.1 kB / 0.7926 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.2912, allocations: 0 / 0.7926 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.2912, allocations: 0 / 0.7926 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.2912, allocations: 0 / 0.7926 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001483/0.2927, allocations: 462.3 kB / 0.793 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.2927, allocations: 0 / 0.793 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003629/0.293, allocations: 47.97 kB / 0.793 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.2931, allocations: 4 kB / 0.793 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.2931, allocations: 0 / 0.793 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.2931, allocations: 0 / 0.793 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.2931, allocations: 3.984 kB / 0.7931 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001255/0.2944, allocations: 311.3 kB / 0.7933 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.622e-05/0.2944, allocations: 81.09 kB / 0.7934 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.221e-05/0.2944, allocations: 0 / 0.7934 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003544/0.2948, allocations: 39.98 kB / 0.7935 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.934e-05/0.2948, allocations: 0 / 0.7935 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/0.2948, allocations: 8.172 kB / 0.7935 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.143e-05/0.2949, allocations: 79.31 kB / 0.7935 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3e-07/0.2949, allocations: 0 / 0.7935 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000253/0.2952, allocations: 12 kB / 0.7936 GB, free: 5.422 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.001613/0.2968, allocations: 0.8489 MB / 0.7944 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001194/0.298, allocations: 176 kB / 0.7946 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.298, allocations: 0 / 0.7946 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005666/0.2986, allocations: 100 kB / 0.7946 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002195/0.2988, allocations: 2.438 kB / 0.7947 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001267/0.3001, allocations: 252.3 kB / 0.7949 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002632/0.3003, allocations: 0.677 MB / 0.7956 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002115/0.3006, allocations: 28 kB / 0.7956 GB, free: 3.258 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.073e-05/0.3006, allocations: 11.44 kB / 0.7956 GB, free: 3.246 MB / 0.6075 GB Notification: Performance of SimCode: time 5.01e-07/0.3006, allocations: 0 / 0.7956 GB, free: 3.246 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01158/0.3122, allocations: 1.435 MB / 0.797 GB, free: 1.984 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002016/0.3125, allocations: 230.7 kB / 0.7972 GB, free: 1.723 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.601/1.913, allocations: 3.656 kB / 0.7972 GB, free: 1.723 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)