Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.397/2.397, allocations: 284.7 MB / 297.2 MB, free: 6.367 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.001469/0.001469, allocations: 180.9 kB / 365.6 MB, free: 2.609 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.976/1.976, allocations: 205.1 MB / 0.624 GB, free: 8.242 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001044/0.001044, allocations: 96.55 kB / 0.7371 GB, free: 40.81 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.774e-05/3.791e-05, allocations: 4 kB / 0.8574 GB, free: 13.66 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7936/0.7936, allocations: 115.2 MB / 0.97 GB, free: 78.09 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2566/1.05, allocations: 137.7 MB / 1.104 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003539/1.051, allocations: 83.92 kB / 1.104 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.003694/1.054, allocations: 0.8464 MB / 1.105 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.104e-06/1.054, allocations: 0 / 1.105 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.374e-06/1.055, allocations: 0 / 1.105 GB, free: 13.88 MB / 0.7136 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.0003817/1.055, allocations: 319.4 kB / 1.106 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.9e-05/1.055, allocations: 12.03 kB / 1.106 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.07e-05/1.055, allocations: 32.62 kB / 1.106 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.968e-05/1.055, allocations: 1.203 kB / 1.106 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001408/1.055, allocations: 167.7 kB / 1.106 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/1.055, allocations: 0 / 1.106 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.235e-05/1.055, allocations: 5.156 kB / 1.106 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001391/1.055, allocations: 37.64 kB / 1.106 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/1.055, allocations: 2.375 kB / 1.106 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/1.056, allocations: 0 / 1.106 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/1.056, allocations: 0 / 1.106 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.261e-05/1.056, allocations: 7.984 kB / 1.106 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002132/1.056, allocations: 153.6 kB / 1.106 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002578/1.056, allocations: 37.58 kB / 1.106 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.005e-05/1.056, allocations: 8.859 kB / 1.106 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002129/1.056, allocations: 81.11 kB / 1.106 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/1.056, allocations: 34.59 kB / 1.106 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 2.114e-06/1.056, allocations: 1.969 kB / 1.106 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5): time 0.004659/1.061, allocations: 355.2 kB / 1.106 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.229e-05/1.061, allocations: 59.41 kB / 1.107 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.621e-05/1.061, allocations: 89 kB / 1.107 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.878e-05/1.061, allocations: 25.7 kB / 1.107 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.497e-05/1.061, allocations: 80.14 kB / 1.107 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.114e-05/1.061, allocations: 7.812 kB / 1.107 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.645e-05/1.062, allocations: 0 / 1.107 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001757/1.062, allocations: 329.5 kB / 1.107 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.566e-05/1.062, allocations: 7.938 kB / 1.107 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/1.062, allocations: 30.58 kB / 1.107 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.499e-05/1.062, allocations: 11.98 kB / 1.107 GB, free: 11.81 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/1.062, allocations: 0 / 1.107 GB, free: 11.81 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000287/1.062, allocations: 61.62 kB / 1.107 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/1.062, allocations: 5.094 kB / 1.107 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/1.062, allocations: 0 / 1.107 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/1.062, allocations: 5.75 kB / 1.107 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007557/1.063, allocations: 55.91 kB / 1.107 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/1.063, allocations: 4 kB / 1.107 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006334/1.064, allocations: 39.97 kB / 1.107 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.847e-05/1.064, allocations: 4 kB / 1.107 GB, free: 11.64 MB / 0.7136 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 () * 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 0.0001308/1.064, allocations: 110.3 kB / 1.107 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.348e-05/1.064, allocations: 3.984 kB / 1.107 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005031/1.065, allocations: 89.09 kB / 1.107 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/1.065, allocations: 0 / 1.107 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/1.065, allocations: 0 / 1.107 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.455e-05/1.065, allocations: 2.812 kB / 1.107 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006521/1.065, allocations: 314.5 kB / 1.108 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/1.065, allocations: 0 / 1.108 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007267/1.066, allocations: 47.97 kB / 1.108 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.424e-05/1.066, allocations: 4 kB / 1.108 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.243e-05/1.066, allocations: 0 / 1.108 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.847e-06/1.066, allocations: 3.984 kB / 1.108 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/1.066, allocations: 3.938 kB / 1.108 GB, free: 11 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003518/1.067, allocations: 151.5 kB / 1.108 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.953e-05/1.067, allocations: 81.11 kB / 1.108 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.623e-05/1.067, allocations: 5.406 kB / 1.108 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006641/1.067, allocations: 39.97 kB / 1.108 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.162e-05/1.067, allocations: 4 kB / 1.108 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.061e-05/1.067, allocations: 4 kB / 1.108 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.216e-05/1.067, allocations: 75.28 kB / 1.108 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.51e-07/1.067, allocations: 0 / 1.108 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003549/1.068, allocations: 15.94 kB / 1.108 GB, free: 10.6 MB / 0.7136 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 () * 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.0008295/1.069, allocations: 0.6979 MB / 1.109 GB, free: 9.879 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000254/1.069, allocations: 31.98 kB / 1.109 GB, free: 9.848 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/1.069, allocations: 3.938 kB / 1.109 GB, free: 9.844 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001014/1.069, allocations: 19.94 kB / 1.109 GB, free: 9.824 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001873/1.069, allocations: 0 / 1.109 GB, free: 9.824 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/1.071, allocations: 136.2 kB / 1.109 GB, free: 9.66 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003352/1.071, allocations: 0.677 MB / 1.11 GB, free: 8.957 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0003937/1.071, allocations: 34.02 kB / 1.11 GB, free: 8.926 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001262/1.071, allocations: 15.44 kB / 1.11 GB, free: 8.91 MB / 0.7136 GB Notification: Performance of SimCode: time 2.134e-06/1.071, allocations: 0 / 1.11 GB, free: 8.91 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02577/1.097, allocations: 1.431 MB / 1.111 GB, free: 7.703 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000398/1.098, allocations: 182.2 kB / 1.111 GB, free: 7.477 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.159/3.256, allocations: 0 / 1.111 GB, free: 7.477 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)