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.414/1.414, allocations: 249.5 MB / 257 MB, free: 6.879 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.0009436/0.0009436, allocations: 183.5 kB / 316.3 MB, free: 3.312 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.819/1.819, allocations: 205.3 MB / 0.5671 GB, free: 15.92 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.001026/0.001026, allocations: 94.52 kB / 0.6714 GB, free: 5.043 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.37e-05/2.373e-05, allocations: 4 kB / 0.7815 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2356/0.2356, allocations: 106.3 MB / 0.8853 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7441/0.9798, allocations: 132.4 MB / 1.015 GB, free: 5.094 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002489/0.9801, allocations: 75.11 kB / 1.015 GB, free: 5.055 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003103/0.9832, allocations: 1.068 MB / 1.016 GB, free: 4.121 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.673e-06/0.9832, allocations: 4 kB / 1.016 GB, free: 4.117 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.9833, allocations: 4 kB / 1.016 GB, free: 4.113 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.0003902/0.9837, allocations: 339.4 kB / 1.016 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.9837, allocations: 16.02 kB / 1.016 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.312e-05/0.9837, allocations: 0 / 1.016 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.9839, allocations: 167 kB / 1.016 GB, free: 3.523 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.9839, allocations: 6.562 kB / 1.016 GB, free: 3.52 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.108e-05/0.9839, allocations: 0 / 1.016 GB, free: 3.52 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.782e-05/0.984, allocations: 11.44 kB / 1.016 GB, free: 3.512 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.401e-05/0.9841, allocations: 41.12 kB / 1.016 GB, free: 3.469 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.9841, allocations: 0 / 1.016 GB, free: 3.469 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-06/0.9841, allocations: 2.734 kB / 1.016 GB, free: 3.469 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.9841, allocations: 0 / 1.016 GB, free: 3.469 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004112/0.9845, allocations: 245.1 kB / 1.016 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.292e-05/0.9846, allocations: 30.02 kB / 1.017 GB, free: 3.164 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.632e-05/0.9846, allocations: 8.922 kB / 1.017 GB, free: 3.152 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001269/0.9848, allocations: 89.02 kB / 1.017 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.821e-05/0.9848, allocations: 31.31 kB / 1.017 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.9848, allocations: 0 / 1.017 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002559/0.9851, allocations: 49.56 kB / 1.017 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.277e-05/0.9851, allocations: 55.44 kB / 1.017 GB, free: 2.895 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.715e-05/0.9852, allocations: 96.48 kB / 1.017 GB, free: 2.797 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.9852, allocations: 25.7 kB / 1.017 GB, free: 2.766 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.816e-05/0.9853, allocations: 80.14 kB / 1.017 GB, free: 2.684 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.585e-05/0.9853, allocations: 7.906 kB / 1.017 GB, free: 2.676 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.965e-06/0.9853, allocations: 3.938 kB / 1.017 GB, free: 2.672 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.9855, allocations: 318.7 kB / 1.017 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.73e-05/0.9855, allocations: 4 kB / 1.017 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.561e-05/0.9855, allocations: 15.69 kB / 1.017 GB, free: 2.34 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.837e-05/0.9856, allocations: 11.97 kB / 1.017 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.9856, allocations: 0 / 1.017 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001489/0.9858, allocations: 49.62 kB / 1.017 GB, free: 2.277 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.9858, allocations: 4 kB / 1.017 GB, free: 2.273 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.9858, allocations: 0 / 1.017 GB, free: 2.273 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.9858, allocations: 4 kB / 1.017 GB, free: 2.27 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.428e-05/0.9859, allocations: 19.73 kB / 1.017 GB, free: 2.254 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.9859, allocations: 4.078 kB / 1.017 GB, free: 2.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.99e-05/0.986, allocations: 11.94 kB / 1.017 GB, free: 2.238 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.243e-06/0.986, allocations: 4 kB / 1.017 GB, free: 2.234 MB / 0.6355 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 6.816e-05/0.9861, allocations: 111.6 kB / 1.017 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001462/0.9862, allocations: 54.22 kB / 1.018 GB, free: 2.066 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.974e-05/0.9863, allocations: 4 kB / 1.018 GB, free: 2.062 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001636/0.9864, allocations: 57.31 kB / 1.018 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.9864, allocations: 4.062 kB / 1.018 GB, free: 2 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.9865, allocations: 0 / 1.018 GB, free: 2 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.9865, allocations: 4 kB / 1.018 GB, free: 1.996 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001273/0.9866, allocations: 137.8 kB / 1.018 GB, free: 1.828 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.614e-06/0.9866, allocations: 256 / 1.018 GB, free: 1.828 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.125e-05/0.9867, allocations: 11.98 kB / 1.018 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.9867, allocations: 4 kB / 1.018 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.9867, allocations: 0 / 1.018 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.9867, allocations: 0 / 1.018 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.594e-06/0.9867, allocations: 0 / 1.018 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001511/0.9869, allocations: 159.1 kB / 1.018 GB, free: 1.648 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.452e-05/0.9869, allocations: 85 kB / 1.018 GB, free: 1.547 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.9869, allocations: 4 kB / 1.018 GB, free: 1.543 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.056e-05/0.987, allocations: 7.984 kB / 1.018 GB, free: 1.535 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.82e-05/0.9871, allocations: 0 / 1.018 GB, free: 1.535 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.9871, allocations: 8.031 kB / 1.018 GB, free: 1.527 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.599e-05/0.9871, allocations: 83.03 kB / 1.018 GB, free: 1.449 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9871, allocations: 0 / 1.018 GB, free: 1.449 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002106/0.9873, allocations: 4 kB / 1.018 GB, free: 1.445 MB / 0.6355 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.0004667/0.9878, allocations: 0.6886 MB / 1.019 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.422e-05/0.9879, allocations: 19.78 kB / 1.019 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.9879, allocations: 0 / 1.019 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.076e-05/0.9879, allocations: 7.984 kB / 1.019 GB, free: 0.7109 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001825/0.9881, allocations: 11.81 kB / 1.019 GB, free: 0.7031 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003148/0.9884, allocations: 89.53 kB / 1.019 GB, free: 0.5781 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002639/0.9887, allocations: 0.6768 MB / 1.02 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.029e-05/0.9888, allocations: 8.125 kB / 1.02 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.075e-05/0.9888, allocations: 10.94 kB / 1.02 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of SimCode: time 4.71e-07/0.9888, allocations: 0 / 1.02 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01706/1.006, allocations: 0.8304 MB / 1.02 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001809/1.006, allocations: 157.5 kB / 1.021 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.353/2.359, allocations: 0 / 1.021 GB, free: 14.84 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)