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.001102/0.001102, allocations: 105.4 kB / 15.7 MB, free: 24 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.001094/0.001094, allocations: 189.1 kB / 16.64 MB, free: 6.594 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.365/1.365, allocations: 205.1 MB / 222.5 MB, free: 4.574 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.635/1.635, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001345/0.001345, allocations: 71.09 kB / 0.6718 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.204/0.2053, allocations: 114.5 MB / 0.7836 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002534/0.2079, allocations: 1.44 MB / 0.785 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003989/0.2083, allocations: 184.3 kB / 0.7852 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.165e-05/0.2084, allocations: 0 / 0.7852 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.101e-05/0.2084, allocations: 7.938 kB / 0.7852 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.576e-05/0.2085, allocations: 7.922 kB / 0.7852 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000258/0.2087, allocations: 35.91 kB / 0.7853 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.299e-05/0.2088, allocations: 23.92 kB / 0.7853 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.487e-05/0.2089, allocations: 8 kB / 0.7853 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.184e-05/0.209, allocations: 15.92 kB / 0.7853 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.203e-05/0.209, allocations: 15.97 kB / 0.7853 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.236e-05/0.209, allocations: 0 / 0.7853 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.555e-05/0.2091, allocations: 35.97 kB / 0.7854 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.587e-05/0.2091, allocations: 3.938 kB / 0.7854 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.77e-05/0.2092, allocations: 4 kB / 0.7854 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001041/0.2093, allocations: 43.86 kB / 0.7854 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.2093, allocations: 0 / 0.7854 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.362e-06/0.2093, allocations: 0 / 0.7854 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.2093, allocations: 0 / 0.7854 GB, free: 11.46 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.0004415/0.2097, allocations: 351.7 kB / 0.7857 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.2098, allocations: 12.03 kB / 0.7858 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.187e-05/0.2098, allocations: 30.75 kB / 0.7858 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.362e-05/0.2099, allocations: 8.875 kB / 0.7858 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.21, allocations: 168.3 kB / 0.786 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.926e-06/0.21, allocations: 384 / 0.786 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.009e-05/0.21, allocations: 384 / 0.786 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.2102, allocations: 58.11 kB / 0.786 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.2102, allocations: 7.938 kB / 0.786 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.2102, allocations: 0 / 0.786 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.2102, allocations: 0 / 0.786 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001649/0.2104, allocations: 39.95 kB / 0.7861 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003181/0.2107, allocations: 240.9 kB / 0.7863 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001385/0.2109, allocations: 50.47 kB / 0.7863 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.835e-05/0.211, allocations: 24.91 kB / 0.7864 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.406e-05/0.2111, allocations: 77.11 kB / 0.7864 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.2111, allocations: 38.55 kB / 0.7865 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.2111, allocations: 0 / 0.7865 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003513/0.2115, allocations: 81.66 kB / 0.7865 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.791e-05/0.2115, allocations: 55.39 kB / 0.7866 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.019e-05/0.2116, allocations: 97.86 kB / 0.7867 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.245e-05/0.2116, allocations: 25.7 kB / 0.7867 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.348e-05/0.2117, allocations: 84.14 kB / 0.7868 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.225e-05/0.2117, allocations: 15.83 kB / 0.7868 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.933e-05/0.2117, allocations: 13.72 kB / 0.7868 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.2118, allocations: 318.9 kB / 0.7871 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.013e-05/0.2119, allocations: 15.98 kB / 0.7871 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.191e-05/0.212, allocations: 15.98 kB / 0.7872 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001539/0.2122, allocations: 40.81 kB / 0.7872 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.2122, allocations: 3.938 kB / 0.7872 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001888/0.2124, allocations: 73.62 kB / 0.7873 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.2124, allocations: 4 kB / 0.7873 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.2124, allocations: 4 kB / 0.7873 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.2124, allocations: 0 / 0.7873 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.054e-05/0.2125, allocations: 4 kB / 0.7873 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.2125, allocations: 3.938 kB / 0.7873 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.516e-05/0.2126, allocations: 7.984 kB / 0.7873 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.2126, allocations: 0 / 0.7873 GB, free: 9.277 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 7.399e-05/0.2127, allocations: 125.8 kB / 0.7874 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.183e-05/0.2127, allocations: 0 / 0.7874 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002354/0.2129, allocations: 72.77 kB / 0.7875 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.2129, allocations: 0 / 0.7875 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.2129, allocations: 0 / 0.7875 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.213, allocations: 0 / 0.7875 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001571/0.2131, allocations: 157.6 kB / 0.7876 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.2131, allocations: 12.02 kB / 0.7876 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.416e-05/0.2132, allocations: 7.984 kB / 0.7877 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.2132, allocations: 0 / 0.7877 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.2132, allocations: 4 kB / 0.7877 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.2132, allocations: 3.938 kB / 0.7877 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.541e-06/0.2132, allocations: 12.17 kB / 0.7877 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002297/0.2135, allocations: 163.5 kB / 0.7878 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.743e-05/0.2135, allocations: 81.02 kB / 0.7879 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.28e-05/0.2135, allocations: 4 kB / 0.7879 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.529e-05/0.2136, allocations: 7.984 kB / 0.7879 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.813e-05/0.2136, allocations: 4 kB / 0.7879 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.045e-06/0.2137, allocations: 0 / 0.7879 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.614e-05/0.2137, allocations: 83.27 kB / 0.788 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2137, allocations: 4 kB / 0.788 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002288/0.2139, allocations: 8 kB / 0.788 GB, free: 8.441 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.0005198/0.2145, allocations: 0.7085 MB / 0.7887 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002074/0.2147, allocations: 43.98 kB / 0.7887 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2147, allocations: 0 / 0.7887 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.11e-05/0.2148, allocations: 15.98 kB / 0.7888 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002652/0.2151, allocations: 8.938 kB / 0.7888 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003909/0.2155, allocations: 143 kB / 0.7889 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002202/0.2157, allocations: 0.6729 MB / 0.7896 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.525e-05/0.2157, allocations: 8.125 kB / 0.7896 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.675e-05/0.2157, allocations: 11.42 kB / 0.7896 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2158, allocations: 0 / 0.7896 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01617/0.2319, allocations: 1.429 MB / 0.791 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.545/7.777, allocations: 6.906 kB / 0.791 GB, free: 5.387 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Utilities_Math_Examples_SmoothExponential.fmu > Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)