Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.694/1.694, allocations: 292.6 MB / 307.5 MB, free: 5.211 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.001406/0.001406, allocations: 179.4 kB / 377.1 MB, free: 1.543 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.651/1.651, allocations: 205.4 MB / 0.6366 GB, free: 8.547 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.0009215/0.0009214, allocations: 92.61 kB / 0.7509 GB, free: 63.2 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003942/0.000394, allocations: 11.98 kB / 0.8749 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3169/0.3173, allocations: 116.3 MB / 0.9884 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.842/1.159, allocations: 139.4 MB / 1.125 GB, free: 35.27 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002911/1.16, allocations: 83.09 kB / 1.125 GB, free: 35.2 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.003228/1.163, allocations: 1.082 MB / 1.126 GB, free: 34.34 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.554e-06/1.163, allocations: 0.9688 kB / 1.126 GB, free: 34.34 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.378e-06/1.163, allocations: 0 / 1.126 GB, free: 34.34 MB / 0.7292 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.0003978/1.163, allocations: 356.3 kB / 1.126 GB, free: 33.96 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.831e-05/1.163, allocations: 12.02 kB / 1.126 GB, free: 33.95 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.605e-05/1.163, allocations: 30.56 kB / 1.126 GB, free: 33.91 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.978e-05/1.164, allocations: 6.062 kB / 1.126 GB, free: 33.91 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/1.164, allocations: 162.6 kB / 1.126 GB, free: 33.71 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/1.164, allocations: 0 / 1.126 GB, free: 33.71 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.577e-05/1.164, allocations: 16.2 kB / 1.126 GB, free: 33.7 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001916/1.164, allocations: 49.44 kB / 1.126 GB, free: 33.66 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/1.164, allocations: 0 / 1.126 GB, free: 33.66 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/1.164, allocations: 4.656 kB / 1.126 GB, free: 33.65 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/1.164, allocations: 0 / 1.126 GB, free: 33.65 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001668/1.164, allocations: 51.17 kB / 1.126 GB, free: 33.61 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004494/1.165, allocations: 260.1 kB / 1.127 GB, free: 33.32 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000126/1.165, allocations: 54.38 kB / 1.127 GB, free: 33.27 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000117/1.165, allocations: 82.11 kB / 1.127 GB, free: 33.18 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/1.165, allocations: 30.56 kB / 1.127 GB, free: 33.14 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 2.044e-06/1.165, allocations: 0 / 1.127 GB, free: 33.14 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0003676/1.165, allocations: 107.6 kB / 1.127 GB, free: 33.04 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.695e-05/1.165, allocations: 55.41 kB / 1.127 GB, free: 32.98 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.528e-05/1.165, allocations: 93.62 kB / 1.127 GB, free: 32.88 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.111e-05/1.165, allocations: 25.7 kB / 1.127 GB, free: 32.85 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.663e-05/1.165, allocations: 84.27 kB / 1.127 GB, free: 32.76 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.164e-05/1.165, allocations: 19.31 kB / 1.127 GB, free: 32.75 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.945e-06/1.165, allocations: 0 / 1.127 GB, free: 32.75 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.845e-05/1.166, allocations: 315.7 kB / 1.127 GB, free: 32.43 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.777e-05/1.166, allocations: 19.52 kB / 1.127 GB, free: 32.41 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.042e-05/1.166, allocations: 26.89 kB / 1.127 GB, free: 32.39 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.847e-05/1.166, allocations: 23.47 kB / 1.128 GB, free: 32.38 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/1.166, allocations: 1.969 kB / 1.128 GB, free: 32.38 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001798/1.166, allocations: 80.2 kB / 1.128 GB, free: 32.3 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/1.166, allocations: 4.781 kB / 1.128 GB, free: 32.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/1.166, allocations: 0.75 kB / 1.128 GB, free: 32.3 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/1.166, allocations: 1.031 kB / 1.128 GB, free: 32.3 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.074e-05/1.166, allocations: 11.52 kB / 1.128 GB, free: 32.29 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/1.166, allocations: 4.562 kB / 1.128 GB, free: 32.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.759e-05/1.166, allocations: 11.55 kB / 1.128 GB, free: 32.28 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.221e-06/1.166, allocations: 0 / 1.128 GB, free: 32.28 MB / 0.7292 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 () * Number of clocked 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 7.217e-05/1.166, allocations: 117.8 kB / 1.128 GB, free: 32.15 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.28e-05/1.166, allocations: 0.75 kB / 1.128 GB, free: 32.15 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002281/1.167, allocations: 87.22 kB / 1.128 GB, free: 32.08 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/1.167, allocations: 0.9375 kB / 1.128 GB, free: 32.08 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/1.167, allocations: 0 / 1.128 GB, free: 32.08 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/1.167, allocations: 4 kB / 1.128 GB, free: 32.07 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001275/1.167, allocations: 160.6 kB / 1.128 GB, free: 31.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/1.167, allocations: 0.75 kB / 1.128 GB, free: 31.88 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.813e-05/1.167, allocations: 11.56 kB / 1.128 GB, free: 31.87 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/1.167, allocations: 0.5469 kB / 1.128 GB, free: 31.87 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/1.167, allocations: 4.609 kB / 1.128 GB, free: 31.86 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/1.167, allocations: 4.031 kB / 1.128 GB, free: 31.86 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/1.167, allocations: 0.8125 kB / 1.128 GB, free: 31.86 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002174/1.167, allocations: 181.8 kB / 1.128 GB, free: 31.68 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.794e-05/1.167, allocations: 84.56 kB / 1.128 GB, free: 31.58 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.365e-05/1.167, allocations: 3.938 kB / 1.128 GB, free: 31.58 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.454e-05/1.167, allocations: 12 kB / 1.128 GB, free: 31.57 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.227e-05/1.167, allocations: 3.609 kB / 1.128 GB, free: 31.57 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-06/1.167, allocations: 0.9375 kB / 1.128 GB, free: 31.57 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.691e-05/1.167, allocations: 80.28 kB / 1.128 GB, free: 31.49 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.1e-07/1.167, allocations: 0 / 1.128 GB, free: 31.49 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002004/1.168, allocations: 8 kB / 1.128 GB, free: 31.48 MB / 0.7292 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 () * Number of clocked 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.0004625/1.168, allocations: 0.719 MB / 1.129 GB, free: 30.75 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002075/1.168, allocations: 54.11 kB / 1.129 GB, free: 30.71 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/1.168, allocations: 0 / 1.129 GB, free: 30.71 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.243e-05/1.168, allocations: 27 kB / 1.129 GB, free: 30.69 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002367/1.169, allocations: 4.75 kB / 1.129 GB, free: 30.68 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004069/1.169, allocations: 142.5 kB / 1.129 GB, free: 30.52 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001673/1.169, allocations: 0.6836 MB / 1.13 GB, free: 29.81 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.013e-05/1.169, allocations: 4.609 kB / 1.13 GB, free: 29.81 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.181e-05/1.169, allocations: 7.438 kB / 1.13 GB, free: 29.8 MB / 0.7292 GB Notification: Performance of SimCode: time 2.3e-07/1.169, allocations: 0 / 1.13 GB, free: 29.8 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0144/1.184, allocations: 1.138 MB / 1.131 GB, free: 29.21 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001884/1.184, allocations: 174.7 kB / 1.131 GB, free: 28.98 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.706/2.89, allocations: 0 / 1.131 GB, free: 28.98 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Examples_SmoothHeaviside_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Examples_SmoothHeaviside.fmu > Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)