Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.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.SmoothExponential,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothExponential",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.8499/0.8499, allocations: 143.3 MB / 158.3 MB, free: 5.809 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.001226/0.001226, allocations: 183.7 kB / 191.5 MB, free: 5.766 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.522/1.522, allocations: 223.2 MB / 447.7 MB, free: 4.816 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.001104/0.001104, allocations: 86.22 kB / 0.5187 GB, free: 1.184 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001714/0.001714, allocations: 264.4 kB / 0.6005 GB, free: 48.77 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004579/0.0004582, allocations: 11.94 kB / 0.6929 GB, free: 59.5 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1919/0.1924, allocations: 82.8 MB / 0.7738 GB, free: 13.76 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1647/0.3572, allocations: 108.7 MB / 0.88 GB, free: 0.9102 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002181/0.3574, allocations: 71.95 kB / 0.88 GB, free: 0.8398 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.3726/0.7301, allocations: 1.36 MB / 0.8813 GB, free: 109.3 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.234e-06/0.7301, allocations: 0.8438 kB / 0.8813 GB, free: 109.3 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.7301, allocations: 0.7188 kB / 0.8813 GB, free: 109.3 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003274/0.7304, allocations: 351.1 kB / 0.8817 GB, free: 109 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.7305, allocations: 9.719 kB / 0.8817 GB, free: 109 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.561e-05/0.7305, allocations: 37.47 kB / 0.8817 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.388e-05/0.7306, allocations: 7.156 kB / 0.8817 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.103e-05/0.7307, allocations: 161.3 kB / 0.8819 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.7307, allocations: 4.609 kB / 0.8819 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.686e-06/0.7307, allocations: 0.8438 kB / 0.8819 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001898/0.7309, allocations: 62.67 kB / 0.882 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.7309, allocations: 0 / 0.882 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.7309, allocations: 0.875 kB / 0.882 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.7309, allocations: 0 / 0.882 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001954/0.7311, allocations: 50.41 kB / 0.882 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003726/0.7315, allocations: 262.8 kB / 0.8823 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001296/0.7317, allocations: 46.72 kB / 0.8823 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 7.401e-05/0.7317, allocations: 83.3 kB / 0.8824 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.969e-05/0.7318, allocations: 33.41 kB / 0.8824 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.322e-06/0.7318, allocations: 0 / 0.8824 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0003541/0.7321, allocations: 103.8 kB / 0.8825 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.067e-05/0.7322, allocations: 51.41 kB / 0.8826 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.748e-05/0.7322, allocations: 93.83 kB / 0.8826 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.7322, allocations: 31.72 kB / 0.8827 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.577e-05/0.7323, allocations: 90.86 kB / 0.8828 GB, free: 108 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.287e-05/0.7323, allocations: 2.531 kB / 0.8828 GB, free: 108 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.406e-06/0.7323, allocations: 0 / 0.8828 GB, free: 108 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 5.627e-05/0.7324, allocations: 324.3 kB / 0.8831 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.702e-05/0.7325, allocations: 16.64 kB / 0.8831 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.717e-05/0.7325, allocations: 25.06 kB / 0.8831 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.723e-05/0.7326, allocations: 29.64 kB / 0.8831 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.7326, allocations: 0 / 0.8831 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001775/0.7328, allocations: 82.12 kB / 0.8832 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.7328, allocations: 5.594 kB / 0.8832 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.7328, allocations: 4.719 kB / 0.8832 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.7329, allocations: 0 / 0.8832 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.947e-05/0.733, allocations: 14.77 kB / 0.8832 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.733, allocations: 0 / 0.8832 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.939e-05/0.733, allocations: 8.031 kB / 0.8833 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.733, allocations: 1.312 kB / 0.8833 GB, free: 107.6 MB / 0.5417 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 5.714e-05/0.7331, allocations: 120.6 kB / 0.8834 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.089e-05/0.7331, allocations: 0 / 0.8834 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002159/0.7334, allocations: 84.31 kB / 0.8835 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.7334, allocations: 2.625 kB / 0.8835 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.7334, allocations: 0 / 0.8835 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.7334, allocations: 4.547 kB / 0.8835 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001202/0.7335, allocations: 159.6 kB / 0.8836 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.7335, allocations: 3.953 kB / 0.8836 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.75e-05/0.7336, allocations: 14.55 kB / 0.8836 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.7336, allocations: 0 / 0.8836 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.7336, allocations: 2.5 kB / 0.8836 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.7336, allocations: 1.188 kB / 0.8836 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.7336, allocations: 0 / 0.8836 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000199/0.7338, allocations: 177.4 kB / 0.8838 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 2.215e-05/0.7339, allocations: 84.44 kB / 0.8839 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.256e-05/0.7339, allocations: 0 / 0.8839 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.186e-05/0.7339, allocations: 9.938 kB / 0.8839 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.564e-05/0.734, allocations: 12.45 kB / 0.8839 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.734, allocations: 0 / 0.8839 GB, free: 107 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 2.195e-05/0.734, allocations: 85.25 kB / 0.884 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/0.734, allocations: 0 / 0.884 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002099/0.7342, allocations: 19.55 kB / 0.884 GB, free: 106.9 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 () * 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.0004606/0.7347, allocations: 0.716 MB / 0.8847 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001923/0.7349, allocations: 52.22 kB / 0.8848 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.7349, allocations: 7.875 kB / 0.8848 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 7.884e-05/0.735, allocations: 23.38 kB / 0.8848 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001866/0.7352, allocations: 11.34 kB / 0.8848 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003672/0.7356, allocations: 139 kB / 0.8849 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001136/0.7357, allocations: 0.6772 MB / 0.8856 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.319e-05/0.7357, allocations: 7.109 kB / 0.8856 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.927e-05/0.7358, allocations: 10.94 kB / 0.8856 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of SimCode: time 2.21e-07/0.7358, allocations: 0 / 0.8856 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0129/0.7487, allocations: 1.163 MB / 0.8867 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002336/0.749, allocations: 184.4 kB / 0.8869 GB, free: 105 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.593/2.343, allocations: 3.875 kB / 0.8869 GB, free: 105 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothExponential_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothExponential.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)