Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9057/0.9057, allocations: 141.8 MB / 149.3 MB, free: 9.223 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003872/0.003872, allocations: 180.9 kB / 182.2 MB, free: 9.445 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.151/2.151, allocations: 221.5 MB / 436.4 MB, free: 13.29 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 99.97 kB / 0.5074 GB, free: 10.11 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.009327/0.009327, allocations: 274 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.942e-05/2.944e-05, allocations: 4 kB / 0.6766 GB, free: 12.71 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5727/0.5727, allocations: 82.77 MB / 0.7575 GB, free: 31.91 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.989/2.561, allocations: 109.7 MB / 0.8646 GB, free: 2.043 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005158/2.562, allocations: 75.95 kB / 0.8647 GB, free: 1.969 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.02609/2.588, allocations: 5.091 MB / 0.8697 GB, free: 12.87 MB / 0.5417 GB Notification: Performance of FrontEnd: time 5.611e-06/2.588, allocations: 0 / 0.8697 GB, free: 12.87 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 2.491e-05/2.588, allocations: 4 kB / 0.8697 GB, free: 12.86 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.006373/2.595, allocations: 402.2 kB / 0.87 GB, free: 12.43 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001003/2.595, allocations: 12.03 kB / 0.87 GB, free: 12.41 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001108/2.596, allocations: 119.7 kB / 0.8702 GB, free: 12.3 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006594/2.597, allocations: 186.8 kB / 0.8703 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001877/2.597, allocations: 71.27 kB / 0.8704 GB, free: 11.99 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.855e-05/2.597, allocations: 8 kB / 0.8704 GB, free: 11.98 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003188/2.597, allocations: 72 kB / 0.8705 GB, free: 11.91 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003424/2.598, allocations: 101.6 kB / 0.8706 GB, free: 11.81 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/2.598, allocations: 0 / 0.8706 GB, free: 11.81 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.565e-05/2.598, allocations: 4 kB / 0.8706 GB, free: 11.8 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/2.598, allocations: 4 kB / 0.8706 GB, free: 11.8 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001792/2.6, allocations: 478.3 kB / 0.871 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000892/2.601, allocations: 166.4 kB / 0.8712 GB, free: 11.12 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001223/2.601, allocations: 40.98 kB / 0.8712 GB, free: 11.08 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 5.027e-05/2.601, allocations: 3.984 kB / 0.8712 GB, free: 11.08 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.922e-05/2.601, allocations: 46.48 kB / 0.8713 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=6): time 2.385e-06/2.601, allocations: 0 / 0.8713 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of matching and sorting (n=6): time 0.0009479/2.602, allocations: 93.75 kB / 0.8714 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.61e-05/2.602, allocations: 55.41 kB / 0.8714 GB, free: 10.86 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001956/2.602, allocations: 114.5 kB / 0.8715 GB, free: 10.74 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.37e-05/2.602, allocations: 33.7 kB / 0.8716 GB, free: 10.7 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001431/2.602, allocations: 116.1 kB / 0.8717 GB, free: 10.58 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.079e-05/2.602, allocations: 19.75 kB / 0.8717 GB, free: 10.56 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.243e-05/2.602, allocations: 0 / 0.8717 GB, free: 10.56 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002183/2.603, allocations: 318.8 kB / 0.872 GB, free: 10.24 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.991e-05/2.603, allocations: 32 kB / 0.872 GB, free: 10.21 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001275/2.603, allocations: 50.56 kB / 0.8721 GB, free: 10.15 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.837e-05/2.603, allocations: 31.94 kB / 0.8721 GB, free: 10.12 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/2.603, allocations: 0 / 0.8721 GB, free: 10.12 MB / 0.5417 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000339/2.603, allocations: 121.5 kB / 0.8722 GB, free: 9.996 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.279e-05/2.603, allocations: 5.406 kB / 0.8722 GB, free: 9.992 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/2.603, allocations: 128 / 0.8722 GB, free: 9.992 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.116e-05/2.603, allocations: 8 kB / 0.8722 GB, free: 9.984 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004195/2.604, allocations: 47.95 kB / 0.8723 GB, free: 9.938 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/2.604, allocations: 0 / 0.8723 GB, free: 9.938 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003125/2.604, allocations: 31.88 kB / 0.8723 GB, free: 9.906 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.905e-05/2.604, allocations: 11.98 kB / 0.8723 GB, free: 9.895 MB / 0.5417 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 (8): * Single equations (assignments): 8 * 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.0001746/2.604, allocations: 109 kB / 0.8724 GB, free: 9.781 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003281/2.605, allocations: 109.5 kB / 0.8725 GB, free: 9.668 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.613e-05/2.605, allocations: 7.906 kB / 0.8726 GB, free: 9.66 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004343/2.605, allocations: 110.3 kB / 0.8727 GB, free: 9.543 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/2.605, allocations: 4 kB / 0.8727 GB, free: 9.539 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.788e-05/2.605, allocations: 0 / 0.8727 GB, free: 9.539 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/2.605, allocations: 3.938 kB / 0.8727 GB, free: 9.535 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004794/2.606, allocations: 206.9 kB / 0.8729 GB, free: 9.293 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/2.606, allocations: 4 kB / 0.8729 GB, free: 9.289 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003122/2.606, allocations: 43.89 kB / 0.8729 GB, free: 9.246 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/2.606, allocations: 0 / 0.8729 GB, free: 9.246 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.169e-05/2.606, allocations: 3.984 kB / 0.8729 GB, free: 9.242 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-05/2.607, allocations: 0 / 0.8729 GB, free: 9.242 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/2.607, allocations: 4 kB / 0.8729 GB, free: 9.238 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003377/2.607, allocations: 207.3 kB / 0.8731 GB, free: 9.02 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 7.982e-05/2.607, allocations: 85.02 kB / 0.8732 GB, free: 8.918 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.782e-05/2.607, allocations: 0 / 0.8732 GB, free: 8.918 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003445/2.608, allocations: 44.14 kB / 0.8732 GB, free: 8.875 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.537e-05/2.608, allocations: 3.984 kB / 0.8732 GB, free: 8.871 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.948e-05/2.608, allocations: 11.98 kB / 0.8733 GB, free: 8.859 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001019/2.608, allocations: 105.2 kB / 0.8734 GB, free: 8.758 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/2.608, allocations: 0 / 0.8734 GB, free: 8.758 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0004299/2.608, allocations: 23.91 kB / 0.8734 GB, free: 8.734 MB / 0.5417 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 (6): * Single equations (assignments): 6 * 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.001152/2.61, allocations: 0.7318 MB / 0.8741 GB, free: 7.977 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003337/2.61, allocations: 79.98 kB / 0.8742 GB, free: 7.898 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/2.61, allocations: 0 / 0.8742 GB, free: 7.898 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001321/2.61, allocations: 43.92 kB / 0.8742 GB, free: 7.855 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004394/2.61, allocations: 15.42 kB / 0.8742 GB, free: 7.844 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/2.612, allocations: 166.1 kB / 0.8744 GB, free: 7.645 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007863/2.612, allocations: 0.7081 MB / 0.8751 GB, free: 6.91 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001894/2.613, allocations: 16.19 kB / 0.8751 GB, free: 6.891 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001672/2.613, allocations: 35.36 kB / 0.8751 GB, free: 6.859 MB / 0.5417 GB Notification: Performance of SimCode: time 1.052e-06/2.613, allocations: 3.938 kB / 0.8751 GB, free: 6.855 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1135/2.726, allocations: 2.067 MB / 0.8771 GB, free: 4.809 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002946/2.727, allocations: 147.6 kB / 0.8773 GB, free: 4.617 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.82/29.54, allocations: 0 / 0.8773 GB, free: 4.617 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothBlocks_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothBlocks.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)