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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004488/0.004488, allocations: 101.5 kB / 15.73 MB, free: 6.449 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.00122/0.00122, allocations: 196.9 kB / 16.68 MB, free: 6.352 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.404/1.404, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002532/0.002532, allocations: 275.1 kB / 290.8 MB, free: 1.898 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.033/1.033, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002688/0.002689, allocations: 96.34 kB / 0.681 GB, free: 0 / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1801/0.1828, allocations: 86.98 MB / 0.7659 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothExponential): time 0.002674/0.1855, allocations: 1.433 MB / 0.7673 GB, free: 7.504 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0004495/0.186, allocations: 196.3 kB / 0.7675 GB, free: 7.309 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.436e-05/0.186, allocations: 0 / 0.7675 GB, free: 7.309 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.775e-05/0.1861, allocations: 3.984 kB / 0.7675 GB, free: 7.305 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.131e-05/0.1861, allocations: 3.938 kB / 0.7675 GB, free: 7.301 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002755/0.1864, allocations: 31.91 kB / 0.7675 GB, free: 7.27 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.605e-05/0.1865, allocations: 27.92 kB / 0.7676 GB, free: 7.242 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.111e-05/0.1866, allocations: 3.984 kB / 0.7676 GB, free: 7.238 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.559e-05/0.1866, allocations: 15.92 kB / 0.7676 GB, free: 7.223 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.248e-05/0.1867, allocations: 19.92 kB / 0.7676 GB, free: 7.203 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.581e-05/0.1867, allocations: 4 kB / 0.7676 GB, free: 7.199 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.496e-05/0.1868, allocations: 31.97 kB / 0.7676 GB, free: 7.168 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.28e-05/0.1868, allocations: 0 / 0.7676 GB, free: 7.168 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.088e-05/0.1868, allocations: 15.92 kB / 0.7677 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001358/0.187, allocations: 44.09 kB / 0.7677 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.187, allocations: 0 / 0.7677 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.753e-06/0.187, allocations: 0 / 0.7677 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.187, allocations: 4 kB / 0.7677 GB, free: 7.105 MB / 0.5606 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.0004958/0.1875, allocations: 343.4 kB / 0.768 GB, free: 6.719 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.1875, allocations: 12.03 kB / 0.768 GB, free: 6.707 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.036e-05/0.1876, allocations: 34.75 kB / 0.7681 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.213e-05/0.1876, allocations: 0.9375 kB / 0.7681 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001539/0.1878, allocations: 176.3 kB / 0.7682 GB, free: 6.453 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.1878, allocations: 8.312 kB / 0.7682 GB, free: 6.445 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.021e-05/0.1878, allocations: 384 / 0.7682 GB, free: 6.445 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001669/0.188, allocations: 50.23 kB / 0.7683 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.188, allocations: 3.938 kB / 0.7683 GB, free: 6.387 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.406e-06/0.188, allocations: 4 kB / 0.7683 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.188, allocations: 3.938 kB / 0.7683 GB, free: 6.379 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001674/0.1882, allocations: 31.97 kB / 0.7683 GB, free: 6.348 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003684/0.1886, allocations: 245 kB / 0.7686 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/0.1887, allocations: 42.5 kB / 0.7686 GB, free: 6.008 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.607e-05/0.1888, allocations: 32.83 kB / 0.7686 GB, free: 5.973 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001104/0.1889, allocations: 81.11 kB / 0.7687 GB, free: 5.875 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.189, allocations: 30.56 kB / 0.7688 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.189, allocations: 0 / 0.7688 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003557/0.1893, allocations: 81.64 kB / 0.7688 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.1894, allocations: 59.47 kB / 0.7689 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.744e-05/0.1895, allocations: 101.8 kB / 0.769 GB, free: 5.57 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.1895, allocations: 29.7 kB / 0.769 GB, free: 5.535 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.965e-05/0.1896, allocations: 84.09 kB / 0.7691 GB, free: 5.449 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.587e-05/0.1896, allocations: 4 kB / 0.7691 GB, free: 5.445 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.38e-05/0.1896, allocations: 17.72 kB / 0.7691 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.1898, allocations: 310.8 kB / 0.7694 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.31e-05/0.1898, allocations: 23.97 kB / 0.7694 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.774e-05/0.1899, allocations: 15.98 kB / 0.7694 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001428/0.1901, allocations: 32.83 kB / 0.7695 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.1901, allocations: 11.88 kB / 0.7695 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001906/0.1903, allocations: 73.67 kB / 0.7696 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.234e-05/0.1903, allocations: 11.94 kB / 0.7696 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.1903, allocations: 0 / 0.7696 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.1904, allocations: 0 / 0.7696 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.234e-05/0.1904, allocations: 7.984 kB / 0.7696 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.1905, allocations: 4 kB / 0.7696 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.217e-05/0.1905, allocations: 3.984 kB / 0.7696 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.11e-06/0.1905, allocations: 4 kB / 0.7696 GB, free: 4.914 MB / 0.5606 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 8.298e-05/0.1906, allocations: 114.5 kB / 0.7697 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.097e-05/0.1906, allocations: 0 / 0.7697 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002202/0.1909, allocations: 72.78 kB / 0.7698 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.1909, allocations: 0 / 0.7698 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.1909, allocations: 0 / 0.7698 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.1909, allocations: 256 / 0.7698 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001757/0.1911, allocations: 165.6 kB / 0.7699 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.1911, allocations: 4 kB / 0.7699 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.94e-05/0.1911, allocations: 15.95 kB / 0.7699 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.1911, allocations: 0 / 0.7699 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.1912, allocations: 4 kB / 0.7699 GB, free: 4.484 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1912, allocations: 0 / 0.7699 GB, free: 4.484 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1912, allocations: 0 / 0.7699 GB, free: 4.484 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002434/0.1914, allocations: 167.4 kB / 0.7701 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.61e-05/0.1915, allocations: 81.08 kB / 0.7702 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.132e-05/0.1915, allocations: 4 kB / 0.7702 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.141e-05/0.1916, allocations: 7.984 kB / 0.7702 GB, free: 4.195 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.954e-05/0.1916, allocations: 7.984 kB / 0.7702 GB, free: 4.188 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.1916, allocations: 4 kB / 0.7702 GB, free: 4.184 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.499e-05/0.1917, allocations: 79.28 kB / 0.7703 GB, free: 4.105 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1917, allocations: 0 / 0.7703 GB, free: 4.105 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002261/0.1919, allocations: 11.94 kB / 0.7703 GB, free: 4.094 MB / 0.5606 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.0006519/0.1926, allocations: 0.7123 MB / 0.771 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000215/0.1928, allocations: 35.97 kB / 0.771 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1928, allocations: 96 / 0.771 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.287e-05/0.1929, allocations: 27.91 kB / 0.7711 GB, free: 3.289 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000295/0.1932, allocations: 7.938 kB / 0.7711 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004257/0.1936, allocations: 135.1 kB / 0.7712 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003354/0.194, allocations: 0.6768 MB / 0.7718 GB, free: 2.402 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.336e-05/0.194, allocations: 0 / 0.7718 GB, free: 2.402 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.209e-05/0.194, allocations: 11.44 kB / 0.7719 GB, free: 2.391 MB / 0.5606 GB Notification: Performance of SimCode: time 3.51e-07/0.194, allocations: 4.062 kB / 0.7719 GB, free: 2.387 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0225/0.2166, allocations: 1.454 MB / 0.7733 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.623/7.839, allocations: 12.75 kB / 0.7733 GB, free: 1.031 MB / 0.5606 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothExponential.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)