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/ModelicaServices 4.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009888/0.0009888, allocations: 193.1 kB / 16.13 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.296/1.296, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00212/0.00212, allocations: 279.1 kB / 290.2 MB, free: 2.203 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9179/0.9179, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001753/0.001753, allocations: 93.94 kB / 0.5946 GB, free: 28.24 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1854/0.1872, allocations: 86.98 MB / 0.6795 GB, free: 1.094 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothBlocks): time 0.00283/0.1901, allocations: 1.809 MB / 0.6813 GB, free: 15.29 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001021/0.1911, allocations: 0.6686 MB / 0.682 GB, free: 14.61 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.301e-05/0.1912, allocations: 1.406 kB / 0.682 GB, free: 14.61 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.185e-05/0.1912, allocations: 7.875 kB / 0.682 GB, free: 14.6 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.365e-05/0.1913, allocations: 15.86 kB / 0.682 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004632/0.1918, allocations: 151.8 kB / 0.6821 GB, free: 14.44 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001282/0.1919, allocations: 115.6 kB / 0.6822 GB, free: 14.33 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.1921, allocations: 53.3 kB / 0.6823 GB, free: 14.28 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001041/0.1922, allocations: 47.84 kB / 0.6823 GB, free: 14.23 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.734e-05/0.1923, allocations: 51.75 kB / 0.6824 GB, free: 14.18 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.497e-05/0.1923, allocations: 8 kB / 0.6824 GB, free: 14.17 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001108/0.1924, allocations: 43.97 kB / 0.6824 GB, free: 14.13 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.592e-05/0.1924, allocations: 35.89 kB / 0.6825 GB, free: 14.09 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.318e-05/0.1925, allocations: 51.66 kB / 0.6825 GB, free: 14.04 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001787/0.1927, allocations: 127.6 kB / 0.6826 GB, free: 13.92 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1927, allocations: 4 kB / 0.6827 GB, free: 13.91 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.22e-07/0.1927, allocations: 0 / 0.6827 GB, free: 13.91 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.1927, allocations: 0 / 0.6827 GB, free: 13.91 MB / 494.1 MB 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.0006382/0.1934, allocations: 444.9 kB / 0.6831 GB, free: 13.43 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.579e-05/0.1934, allocations: 12.03 kB / 0.6831 GB, free: 13.42 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.561e-05/0.1935, allocations: 38.73 kB / 0.6831 GB, free: 13.38 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009015/0.1944, allocations: 112.7 kB / 0.6832 GB, free: 13.27 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001791/0.1946, allocations: 188.1 kB / 0.6834 GB, free: 13.04 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001078/0.1947, allocations: 67.95 kB / 0.6835 GB, free: 12.96 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.66e-05/0.1947, allocations: 8.375 kB / 0.6835 GB, free: 12.96 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005363/0.1953, allocations: 169.5 kB / 0.6836 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.1953, allocations: 0 / 0.6836 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.795e-05/0.1953, allocations: 11.98 kB / 0.6837 GB, free: 12.77 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.1953, allocations: 0 / 0.6837 GB, free: 12.77 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006028/0.196, allocations: 163.8 kB / 0.6838 GB, free: 12.61 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001185/0.1972, allocations: 481.7 kB / 0.6843 GB, free: 12.09 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009864/0.1981, allocations: 222.3 kB / 0.6845 GB, free: 11.87 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002914/0.1985, allocations: 76.91 kB / 0.6846 GB, free: 11.79 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.779e-05/0.1985, allocations: 7.984 kB / 0.6846 GB, free: 11.78 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/0.1985, allocations: 38.55 kB / 0.6846 GB, free: 11.73 MB / 494.1 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.1985, allocations: 0 / 0.6846 GB, free: 11.73 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.0009697/0.1995, allocations: 261.4 kB / 0.6849 GB, free: 11.47 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.64e-05/0.1996, allocations: 55.41 kB / 0.6849 GB, free: 11.41 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.1997, allocations: 143.5 kB / 0.685 GB, free: 11.26 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/0.1997, allocations: 25.7 kB / 0.6851 GB, free: 11.23 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.411e-05/0.1998, allocations: 112.1 kB / 0.6852 GB, free: 11.11 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.36e-05/0.1998, allocations: 15.81 kB / 0.6852 GB, free: 11.09 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.762e-05/0.1999, allocations: 25.7 kB / 0.6852 GB, free: 11.06 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.779e-05/0.2, allocations: 318.8 kB / 0.6855 GB, free: 10.74 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002947/0.2003, allocations: 75.92 kB / 0.6856 GB, free: 10.67 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002914/0.2006, allocations: 98.42 kB / 0.6857 GB, free: 10.56 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005407/0.2011, allocations: 166.4 kB / 0.6858 GB, free: 10.39 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.155e-06/0.2011, allocations: 0 / 0.6858 GB, free: 10.39 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006235/0.2018, allocations: 205.4 kB / 0.686 GB, free: 10.18 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.2018, allocations: 9.406 kB / 0.686 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.2018, allocations: 3.938 kB / 0.686 GB, free: 10.17 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.929e-06/0.2018, allocations: 0 / 0.686 GB, free: 10.17 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002518/0.2021, allocations: 35.95 kB / 0.6861 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.2021, allocations: 4.141 kB / 0.6861 GB, free: 10.13 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001839/0.2023, allocations: 31.84 kB / 0.6861 GB, free: 10.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.81e-05/0.2023, allocations: 7.984 kB / 0.6861 GB, free: 10.09 MB / 494.1 MB 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.835e-05/0.2024, allocations: 122.4 kB / 0.6862 GB, free: 9.965 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.31e-05/0.2024, allocations: 8.219 kB / 0.6863 GB, free: 9.957 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006614/0.2031, allocations: 210.2 kB / 0.6865 GB, free: 9.746 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.2031, allocations: 4 kB / 0.6865 GB, free: 9.742 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.758e-06/0.2031, allocations: 0 / 0.6865 GB, free: 9.742 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.2031, allocations: 0 / 0.6865 GB, free: 9.742 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002325/0.2034, allocations: 234.4 kB / 0.6867 GB, free: 9.461 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.2034, allocations: 0 / 0.6867 GB, free: 9.461 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002281/0.2036, allocations: 39.89 kB / 0.6867 GB, free: 9.422 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.2036, allocations: 3.938 kB / 0.6867 GB, free: 9.418 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.74e-05/0.2037, allocations: 7.938 kB / 0.6867 GB, free: 9.41 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.2037, allocations: 3.984 kB / 0.6867 GB, free: 9.406 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.2037, allocations: 0 / 0.6867 GB, free: 9.406 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006316/0.2043, allocations: 279.3 kB / 0.687 GB, free: 9.117 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.54e-05/0.2044, allocations: 89 kB / 0.6871 GB, free: 9.012 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.338e-05/0.2044, allocations: 3.938 kB / 0.6871 GB, free: 9.008 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002834/0.2047, allocations: 27.95 kB / 0.6871 GB, free: 8.98 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.517e-05/0.2047, allocations: 8 kB / 0.6871 GB, free: 8.973 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.141e-05/0.2048, allocations: 7.984 kB / 0.6871 GB, free: 8.965 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.192e-05/0.2048, allocations: 113 kB / 0.6872 GB, free: 8.855 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2048, allocations: 0 / 0.6872 GB, free: 8.855 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002562/0.2051, allocations: 27.84 kB / 0.6873 GB, free: 8.828 MB / 494.1 MB 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009052/0.206, allocations: 0.8176 MB / 0.6881 GB, free: 7.984 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006047/0.2066, allocations: 163.8 kB / 0.6882 GB, free: 7.824 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.2066, allocations: 4.062 kB / 0.6882 GB, free: 7.82 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002765/0.2069, allocations: 79.92 kB / 0.6883 GB, free: 7.742 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003385/0.2073, allocations: 11.92 kB / 0.6883 GB, free: 7.73 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002699/0.21, allocations: 1.863 MB / 0.6901 GB, free: 5.781 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002322/0.2102, allocations: 0.6965 MB / 0.6908 GB, free: 5.059 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001002/0.2103, allocations: 19.98 kB / 0.6908 GB, free: 5.039 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.469e-05/0.2104, allocations: 35.41 kB / 0.6909 GB, free: 5.004 MB / 494.1 MB Notification: Performance of SimCode: time 6.51e-07/0.2104, allocations: 0 / 0.6909 GB, free: 5.004 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01137/0.2218, allocations: 2.527 MB / 0.6933 GB, free: 2.59 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002148/0.222, allocations: 208.6 kB / 0.6935 GB, free: 2.332 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.686/1.908, allocations: 0 / 0.6935 GB, free: 2.332 MB / 494.1 MB (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/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)