Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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(Buildings.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_SmoothExponential",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.001441/0.001441, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001802/0.001802, allocations: 196.4 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.413/1.413, allocations: 205.1 MB / 222.4 MB, free: 4.594 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.643/1.643, allocations: 292.3 MB / 0.5489 GB, free: 12.86 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 70.73 kB / 0.6716 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1972/0.1985, allocations: 114.5 MB / 0.7835 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002619/0.2012, allocations: 1.434 MB / 0.7849 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000433/0.2016, allocations: 188.3 kB / 0.785 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.826e-05/0.2017, allocations: 0 / 0.785 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.888e-05/0.2018, allocations: 3.938 kB / 0.7851 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.552e-05/0.2018, allocations: 3.938 kB / 0.7851 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002996/0.2021, allocations: 51.83 kB / 0.7851 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.057e-05/0.2022, allocations: 16 kB / 0.7851 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.2023, allocations: 11.97 kB / 0.7851 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.467e-05/0.2023, allocations: 8 kB / 0.7851 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.501e-05/0.2024, allocations: 7.922 kB / 0.7851 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.2024, allocations: 4 kB / 0.7852 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.529e-05/0.2025, allocations: 31.97 kB / 0.7852 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.448e-05/0.2025, allocations: 7.938 kB / 0.7852 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.086e-05/0.2026, allocations: 15.88 kB / 0.7852 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001357/0.2027, allocations: 47.86 kB / 0.7853 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2027, allocations: 0 / 0.7853 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.463e-06/0.2027, allocations: 0 / 0.7853 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.049e-05/0.2027, allocations: 0 / 0.7853 GB, free: 11.56 MB / 0.6075 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.0004818/0.2032, allocations: 347.7 kB / 0.7856 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.2033, allocations: 8.031 kB / 0.7856 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.838e-05/0.2033, allocations: 30.75 kB / 0.7856 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.83e-05/0.2034, allocations: 4.938 kB / 0.7856 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001504/0.2035, allocations: 168.3 kB / 0.7858 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.2035, allocations: 4.375 kB / 0.7858 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.371e-05/0.2036, allocations: 8.375 kB / 0.7858 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001698/0.2037, allocations: 38.25 kB / 0.7858 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.2037, allocations: 3.938 kB / 0.7858 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.2038, allocations: 11.98 kB / 0.7858 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.2038, allocations: 0 / 0.7858 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000163/0.2039, allocations: 31.91 kB / 0.7859 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002802/0.2042, allocations: 253 kB / 0.7861 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001152/0.2044, allocations: 38.5 kB / 0.7862 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.094e-05/0.2044, allocations: 20.91 kB / 0.7862 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.078e-05/0.2045, allocations: 85.09 kB / 0.7863 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.919e-05/0.2046, allocations: 38.5 kB / 0.7863 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 2.484e-06/0.2046, allocations: 0 / 0.7863 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003279/0.2049, allocations: 85.58 kB / 0.7864 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.824e-05/0.2049, allocations: 51.41 kB / 0.7864 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.45e-05/0.205, allocations: 101.9 kB / 0.7865 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/0.205, allocations: 25.7 kB / 0.7865 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.383e-05/0.2051, allocations: 88.25 kB / 0.7866 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.601e-05/0.2051, allocations: 7.844 kB / 0.7866 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.749e-05/0.2051, allocations: 17.72 kB / 0.7867 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.967e-05/0.2052, allocations: 310.8 kB / 0.787 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.05e-05/0.2053, allocations: 20.23 kB / 0.787 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.009e-05/0.2054, allocations: 15.97 kB / 0.787 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001469/0.2055, allocations: 48.83 kB / 0.787 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.2055, allocations: 3.938 kB / 0.787 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001799/0.2057, allocations: 73.56 kB / 0.7871 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.2057, allocations: 4 kB / 0.7871 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.2057, allocations: 0 / 0.7871 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.2058, allocations: 0 / 0.7871 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.595e-05/0.2059, allocations: 16.02 kB / 0.7871 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.2059, allocations: 0 / 0.7871 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.404e-05/0.2059, allocations: 4 kB / 0.7871 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-06/0.2059, allocations: 3.938 kB / 0.7871 GB, free: 9.379 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.238e-05/0.206, allocations: 109.8 kB / 0.7872 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.496e-05/0.206, allocations: 7.984 kB / 0.7872 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002202/0.2062, allocations: 80.7 kB / 0.7873 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.2063, allocations: 0 / 0.7873 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.2063, allocations: 4 kB / 0.7873 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.2063, allocations: 0 / 0.7873 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001372/0.2064, allocations: 157.6 kB / 0.7875 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.2064, allocations: 0 / 0.7875 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.492e-05/0.2065, allocations: 11.98 kB / 0.7875 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.2065, allocations: 0 / 0.7875 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-06/0.2065, allocations: 0 / 0.7875 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.2065, allocations: 0 / 0.7875 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.2065, allocations: 0 / 0.7875 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002197/0.2067, allocations: 175.4 kB / 0.7877 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.344e-05/0.2068, allocations: 85 kB / 0.7877 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.11e-05/0.2068, allocations: 0 / 0.7877 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.825e-05/0.2069, allocations: 4 kB / 0.7877 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.722e-05/0.2069, allocations: 7.984 kB / 0.7877 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.2069, allocations: 4.031 kB / 0.7878 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.855e-05/0.207, allocations: 83.28 kB / 0.7878 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.207, allocations: 0 / 0.7878 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002213/0.2072, allocations: 8 kB / 0.7878 GB, free: 8.555 MB / 0.6075 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 (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.0005336/0.2077, allocations: 0.7046 MB / 0.7885 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002063/0.208, allocations: 43.89 kB / 0.7886 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.208, allocations: 0 / 0.7886 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.258e-05/0.2081, allocations: 19.98 kB / 0.7886 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003096/0.2084, allocations: 9.047 kB / 0.7886 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004253/0.2088, allocations: 151.2 kB / 0.7887 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002124/0.209, allocations: 0.6768 MB / 0.7894 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.149e-05/0.2091, allocations: 0 / 0.7894 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.798e-05/0.2091, allocations: 7.438 kB / 0.7894 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of SimCode: time 3e-07/0.2091, allocations: 0 / 0.7894 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01388/0.223, allocations: 1.42 MB / 0.7908 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.417/7.64, allocations: 7.281 kB / 0.7908 GB, free: 5.496 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Examples_SmoothExponential_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Examples_SmoothExponential.fmu > Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)