Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.471/1.471, allocations: 249.3 MB / 261.8 MB, free: 5.789 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001141/0.001141, allocations: 184.9 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.658/1.658, allocations: 205.2 MB / 0.572 GB, free: 10.66 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008892/0.0008896, allocations: 94.41 kB / 0.6764 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.8e-05/3.801e-05, allocations: 4 kB / 0.788 GB, free: 97.04 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.249/0.2491, allocations: 106.3 MB / 0.8919 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8498/1.099, allocations: 132.1 MB / 1.021 GB, free: 2.66 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000257/1.099, allocations: 71.83 kB / 1.021 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003291/1.103, allocations: 1.076 MB / 1.022 GB, free: 1.672 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.475e-06/1.103, allocations: 0 / 1.022 GB, free: 1.672 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.404e-06/1.103, allocations: 0 / 1.022 GB, free: 1.672 MB / 0.6355 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.0004118/1.103, allocations: 349.4 kB / 1.022 GB, free: 1.289 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.304e-05/1.103, allocations: 8.031 kB / 1.022 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.013e-05/1.103, allocations: 38.55 kB / 1.022 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.755e-05/1.103, allocations: 0.8125 kB / 1.022 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001592/1.103, allocations: 166.1 kB / 1.023 GB, free: 1.035 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/1.103, allocations: 4 kB / 1.023 GB, free: 1.031 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.046e-05/1.103, allocations: 0 / 1.023 GB, free: 1.031 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/1.104, allocations: 36.88 kB / 1.023 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/1.104, allocations: 0 / 1.023 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/1.104, allocations: 2.734 kB / 1.023 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/1.104, allocations: 12.48 kB / 1.023 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.636e-05/1.104, allocations: 11.25 kB / 1.023 GB, free: 0.9727 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005651/1.104, allocations: 272.9 kB / 1.023 GB, free: 0.668 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.413e-05/1.104, allocations: 26.33 kB / 1.023 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.769e-05/1.104, allocations: 19.58 kB / 1.023 GB, free: 0.6172 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001405/1.105, allocations: 81.11 kB / 1.023 GB, free: 0.5195 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.76e-05/1.105, allocations: 35.81 kB / 1.023 GB, free: 492 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.403e-06/1.105, allocations: 0 / 1.023 GB, free: 492 kB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002162/1.105, allocations: 48.25 kB / 1.023 GB, free: 440 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.565e-05/1.105, allocations: 51.41 kB / 1.023 GB, free: 376 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/1.105, allocations: 92.62 kB / 1.023 GB, free: 280 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/1.105, allocations: 29.73 kB / 1.023 GB, free: 244 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.876e-05/1.105, allocations: 84.14 kB / 1.023 GB, free: 156 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.87e-05/1.105, allocations: 11.83 kB / 1.023 GB, free: 148 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-06/1.105, allocations: 0 / 1.023 GB, free: 148 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002308/1.105, allocations: 314.8 kB / 1.024 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.154e-05/1.105, allocations: 7.625 kB / 1.024 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.631e-05/1.105, allocations: 4 kB / 1.024 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.776e-05/1.106, allocations: 7.5 kB / 1.024 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/1.106, allocations: 4.062 kB / 1.024 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.19e-05/1.106, allocations: 39.89 kB / 1.024 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.465e-05/1.106, allocations: 14.02 kB / 1.024 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/1.106, allocations: 0 / 1.024 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/1.106, allocations: 3.938 kB / 1.024 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/1.106, allocations: 8 kB / 1.024 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/1.106, allocations: 0 / 1.024 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.807e-05/1.106, allocations: 15.92 kB / 1.024 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.012e-06/1.106, allocations: 4.031 kB / 1.024 GB, free: 15.73 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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.0001018/1.106, allocations: 108.4 kB / 1.024 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.615e-05/1.106, allocations: 7.906 kB / 1.024 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001337/1.106, allocations: 47.95 kB / 1.024 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/1.106, allocations: 3.938 kB / 1.024 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/1.106, allocations: 256 / 1.024 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/1.106, allocations: 0 / 1.024 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002048/1.106, allocations: 173 kB / 1.024 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/1.106, allocations: 4.031 kB / 1.024 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.823e-05/1.106, allocations: 11.98 kB / 1.024 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/1.107, allocations: 0 / 1.024 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/1.107, allocations: 0 / 1.024 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/1.107, allocations: 0 / 1.024 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/1.107, allocations: 0 / 1.024 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001751/1.107, allocations: 141 kB / 1.024 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.925e-05/1.107, allocations: 81.14 kB / 1.024 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.963e-05/1.107, allocations: 4 kB / 1.024 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.356e-05/1.107, allocations: 4 kB / 1.024 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.153e-05/1.107, allocations: 7.984 kB / 1.024 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/1.107, allocations: 3.938 kB / 1.024 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 7.2e-05/1.107, allocations: 83.16 kB / 1.024 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/1.107, allocations: 3.938 kB / 1.024 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002082/1.107, allocations: 4 kB / 1.024 GB, free: 14.98 MB / 0.6511 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 (2): * Single equations (assignments): 2 * 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.0007881/1.108, allocations: 0.6878 MB / 1.025 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001111/1.108, allocations: 15 kB / 1.025 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/1.108, allocations: 0 / 1.025 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.703e-05/1.108, allocations: 11.5 kB / 1.025 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002253/1.109, allocations: 12.14 kB / 1.025 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004185/1.109, allocations: 94.95 kB / 1.025 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004434/1.109, allocations: 0.677 MB / 1.026 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.175e-05/1.109, allocations: 0 / 1.026 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.183e-05/1.109, allocations: 14.5 kB / 1.026 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of SimCode: time 5.01e-07/1.109, allocations: 0 / 1.026 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01493/1.124, allocations: 1.14 MB / 1.027 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002167/1.125, allocations: 171 kB / 1.027 GB, free: 12.13 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.56/2.685, allocations: 4 kB / 1.027 GB, free: 12.12 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_SmoothHeaviside_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_SmoothHeaviside.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)