Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.665/1.665, allocations: 285.6 MB / 293.1 MB, free: 10.23 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.001165/0.001165, allocations: 176.9 kB / 361.4 MB, free: 6.859 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.815/1.815, allocations: 205.2 MB / 0.62 GB, free: 11.66 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.0009611/0.0009611, allocations: 85.7 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.452e-05/3.456e-05, allocations: 4 kB / 0.8518 GB, free: 2.617 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7354/0.7355, allocations: 115.3 MB / 0.9645 GB, free: 79.03 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1981/0.9336, allocations: 137.2 MB / 1.098 GB, free: 2.629 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002702/0.934, allocations: 79.95 kB / 1.098 GB, free: 2.551 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002284/0.9363, allocations: 0.8343 MB / 1.099 GB, free: 1.727 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.515e-06/0.9363, allocations: 3.938 kB / 1.099 GB, free: 1.723 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.9363, allocations: 7.609 kB / 1.099 GB, free: 1.719 MB / 0.698 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.0002505/0.9366, allocations: 318.1 kB / 1.1 GB, free: 1.371 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.9366, allocations: 8.75 kB / 1.1 GB, free: 1.363 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.896e-05/0.9367, allocations: 1.031 kB / 1.1 GB, free: 1.363 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001008/0.9368, allocations: 167.9 kB / 1.1 GB, free: 1.16 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.9368, allocations: 4 kB / 1.1 GB, free: 1.156 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.208e-05/0.9368, allocations: 0.5 kB / 1.1 GB, free: 1.156 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.391e-05/0.9369, allocations: 4 kB / 1.1 GB, free: 1.152 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.153e-05/0.937, allocations: 34.31 kB / 1.1 GB, free: 1.113 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.937, allocations: 0.6875 kB / 1.1 GB, free: 1.113 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.406e-06/0.937, allocations: 0 / 1.1 GB, free: 1.113 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.937, allocations: 0.75 kB / 1.1 GB, free: 1.113 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001436/0.9372, allocations: 135.2 kB / 1.1 GB, free: 0.9453 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001754/0.9373, allocations: 35.28 kB / 1.1 GB, free: 0.9023 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.564e-05/0.9374, allocations: 11.55 kB / 1.1 GB, free: 0.8906 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001558/0.9375, allocations: 81.11 kB / 1.1 GB, free: 0.793 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/0.9376, allocations: 31.66 kB / 1.1 GB, free: 0.7539 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.442e-06/0.9376, allocations: 1.375 kB / 1.1 GB, free: 0.7539 MB / 0.698 GB Notification: Performance of matching and sorting (n=5): time 0.002665/0.9403, allocations: 365.3 kB / 1.1 GB, free: 420 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/0.9403, allocations: 59.39 kB / 1.101 GB, free: 348 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.352e-05/0.9404, allocations: 85 kB / 1.101 GB, free: 256 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.591e-05/0.9404, allocations: 27.39 kB / 1.101 GB, free: 224 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.79e-05/0.9405, allocations: 84.14 kB / 1.101 GB, free: 136 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.557e-05/0.9405, allocations: 7.812 kB / 1.101 GB, free: 128 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.417e-05/0.9405, allocations: 0 / 1.101 GB, free: 128 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001626/0.9407, allocations: 318.8 kB / 1.101 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.316e-05/0.9408, allocations: 7.828 kB / 1.101 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.033e-05/0.9408, allocations: 30.56 kB / 1.101 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001089/0.9409, allocations: 22.61 kB / 1.101 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.9409, allocations: 0 / 1.101 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001966/0.9412, allocations: 65.62 kB / 1.101 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.008e-05/0.9412, allocations: 8.625 kB / 1.101 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.9412, allocations: 0 / 1.101 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.9412, allocations: 0 / 1.101 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000395/0.9416, allocations: 56 kB / 1.101 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.9416, allocations: 1.797 kB / 1.101 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003426/0.942, allocations: 43.97 kB / 1.101 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.446e-05/0.942, allocations: 0 / 1.101 GB, free: 15.57 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 8.779e-05/0.9421, allocations: 105 kB / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001971/0.9423, allocations: 70.38 kB / 1.101 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.592e-05/0.9423, allocations: 7.906 kB / 1.101 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003821/0.9427, allocations: 93.73 kB / 1.102 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.9428, allocations: 0 / 1.102 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.9428, allocations: 0 / 1.102 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.9428, allocations: 0 / 1.102 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004898/0.9433, allocations: 283.1 kB / 1.102 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.9433, allocations: 7.938 kB / 1.102 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003859/0.9437, allocations: 43.97 kB / 1.102 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.9437, allocations: 0 / 1.102 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.78e-05/0.9437, allocations: 11 kB / 1.102 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.9437, allocations: 0 / 1.102 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.9437, allocations: 0 / 1.102 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002442/0.944, allocations: 155.5 kB / 1.102 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.271e-05/0.944, allocations: 85.09 kB / 1.102 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.394e-05/0.9441, allocations: 0 / 1.102 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003683/0.9444, allocations: 35.98 kB / 1.102 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.206e-05/0.9445, allocations: 4 kB / 1.102 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.9445, allocations: 3.984 kB / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.597e-05/0.9445, allocations: 83.28 kB / 1.102 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9445, allocations: 0 / 1.102 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002481/0.9448, allocations: 15.94 kB / 1.102 GB, free: 14.5 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.000547/0.9453, allocations: 0.7042 MB / 1.103 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001227/0.9455, allocations: 31.92 kB / 1.103 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.9455, allocations: 4.188 kB / 1.103 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.005e-05/0.9455, allocations: 12 kB / 1.103 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001389/0.9457, allocations: 3.375 kB / 1.103 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006884/0.9464, allocations: 128.1 kB / 1.103 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002588/0.9467, allocations: 0.6781 MB / 1.104 GB, free: 12.85 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0002273/0.9469, allocations: 32 kB / 1.104 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.277e-05/0.947, allocations: 11.42 kB / 1.104 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of SimCode: time 4.1e-07/0.947, allocations: 0 / 1.104 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01889/0.9659, allocations: 1.132 MB / 1.105 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000195/0.9661, allocations: 173.5 kB / 1.105 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.442/2.408, allocations: 4 kB / 1.105 GB, free: 11.52 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)