Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.635/1.635, allocations: 249.3 MB / 261.8 MB, free: 5.934 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.001054/0.001054, allocations: 172.9 kB / 321.3 MB, free: 14.64 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.661/1.661, allocations: 205.2 MB / 0.572 GB, free: 10.61 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.0009754/0.0009757, allocations: 94.39 kB / 0.6764 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.213e-05/3.222e-05, allocations: 8 kB / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.2255, allocations: 106.3 MB / 0.8919 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7733/0.9988, allocations: 131.5 MB / 1.02 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002469/0.9991, allocations: 81.02 kB / 1.02 GB, free: 3.164 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002377/1.002, allocations: 0.8419 MB / 1.021 GB, free: 2.426 MB / 0.6355 GB Notification: Performance of FrontEnd: time 5.129e-06/1.002, allocations: 4 kB / 1.021 GB, free: 2.422 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.022e-06/1.002, allocations: 0 / 1.021 GB, free: 2.422 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.000327/1.002, allocations: 314.6 kB / 1.022 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.357e-05/1.002, allocations: 8.031 kB / 1.022 GB, free: 2.062 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.058e-05/1.002, allocations: 34 kB / 1.022 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.959e-05/1.002, allocations: 4 kB / 1.022 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/1.002, allocations: 163 kB / 1.022 GB, free: 1.82 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/1.002, allocations: 3.938 kB / 1.022 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.775e-05/1.002, allocations: 3.984 kB / 1.022 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001275/1.002, allocations: 37 kB / 1.022 GB, free: 1.773 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/1.003, allocations: 0 / 1.022 GB, free: 1.773 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/1.003, allocations: 7.938 kB / 1.022 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/1.003, allocations: 6.734 kB / 1.022 GB, free: 1.762 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.072e-05/1.003, allocations: 4 kB / 1.022 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001805/1.003, allocations: 153.7 kB / 1.022 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001965/1.003, allocations: 33.7 kB / 1.022 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.132e-05/1.003, allocations: 4.859 kB / 1.022 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001643/1.003, allocations: 89.22 kB / 1.022 GB, free: 1.41 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/1.003, allocations: 41.75 kB / 1.022 GB, free: 1.363 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.322e-06/1.003, allocations: 4 kB / 1.022 GB, free: 1.359 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5): time 0.002482/1.006, allocations: 350.4 kB / 1.022 GB, free: 1.02 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/1.006, allocations: 55.34 kB / 1.023 GB, free: 0.9531 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.394e-05/1.006, allocations: 85 kB / 1.023 GB, free: 0.8633 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/1.006, allocations: 25.7 kB / 1.023 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.024e-05/1.006, allocations: 84.14 kB / 1.023 GB, free: 0.7461 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.723e-05/1.006, allocations: 14.94 kB / 1.023 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.907e-06/1.006, allocations: 0 / 1.023 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001305/1.006, allocations: 317.5 kB / 1.023 GB, free: 428 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.431e-05/1.006, allocations: 11.19 kB / 1.023 GB, free: 420 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.773e-05/1.006, allocations: 30.88 kB / 1.023 GB, free: 384 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.362e-05/1.006, allocations: 8 kB / 1.023 GB, free: 376 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/1.006, allocations: 0 / 1.023 GB, free: 376 kB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001588/1.006, allocations: 63.88 kB / 1.023 GB, free: 312 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/1.007, allocations: 6.188 kB / 1.023 GB, free: 308 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/1.007, allocations: 7.984 kB / 1.023 GB, free: 300 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/1.007, allocations: 0 / 1.023 GB, free: 300 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003907/1.007, allocations: 48.06 kB / 1.023 GB, free: 252 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/1.007, allocations: 14.12 kB / 1.023 GB, free: 240 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003285/1.007, allocations: 35.98 kB / 1.023 GB, free: 204 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.543e-05/1.007, allocations: 4 kB / 1.023 GB, free: 200 kB / 0.6355 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.759e-05/1.007, allocations: 108.6 kB / 1.023 GB, free: 88 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.533e-05/1.007, allocations: 8 kB / 1.023 GB, free: 80 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002868/1.008, allocations: 79.67 kB / 1.023 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/1.008, allocations: 4 kB / 1.023 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/1.008, allocations: 0 / 1.023 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/1.008, allocations: 0 / 1.023 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004141/1.008, allocations: 308.5 kB / 1.024 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/1.008, allocations: 0 / 1.024 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003691/1.009, allocations: 55.47 kB / 1.024 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/1.009, allocations: 3.938 kB / 1.024 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/1.009, allocations: 4.312 kB / 1.024 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-06/1.009, allocations: 0 / 1.024 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/1.009, allocations: 4 kB / 1.024 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001878/1.009, allocations: 159.4 kB / 1.024 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 3.625e-05/1.009, allocations: 81.09 kB / 1.024 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.067e-05/1.009, allocations: 3.984 kB / 1.024 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003535/1.009, allocations: 39.98 kB / 1.024 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.902e-05/1.009, allocations: 7.922 kB / 1.024 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/1.009, allocations: 0 / 1.024 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 3.683e-05/1.009, allocations: 79.28 kB / 1.024 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/1.009, allocations: 4 kB / 1.024 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002192/1.01, allocations: 15.94 kB / 1.024 GB, free: 15.18 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 (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.0005464/1.01, allocations: 0.6947 MB / 1.025 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001323/1.01, allocations: 23.38 kB / 1.025 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/1.01, allocations: 192 / 1.025 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.261e-05/1.01, allocations: 23.42 kB / 1.025 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001254/1.01, allocations: 4 kB / 1.025 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006739/1.011, allocations: 134.3 kB / 1.025 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002744/1.011, allocations: 0.677 MB / 1.026 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002162/1.012, allocations: 32 kB / 1.026 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.079e-05/1.012, allocations: 11.42 kB / 1.026 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of SimCode: time 5.21e-07/1.012, allocations: 0 / 1.026 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01166/1.023, allocations: 1.451 MB / 1.027 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002122/1.024, allocations: 178.3 kB / 1.027 GB, free: 11.99 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.542/2.565, allocations: 6.031 kB / 1.027 GB, free: 11.98 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)