Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.422/1.422, allocations: 251.5 MB / 266.7 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00103/0.00103, allocations: 176.4 kB / 325.8 MB, free: 2.703 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.594/1.594, allocations: 205 MB / 0.576 GB, free: 20.96 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008401/0.0008405, allocations: 89.86 kB / 0.6797 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002885/0.0002887, allocations: 11.72 kB / 0.7933 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.1657, allocations: 105.4 MB / 0.8962 GB, free: 68.09 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.001294/0.167, allocations: 1.18 MB / 0.8974 GB, free: 66.9 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003284/0.1674, allocations: 197.1 kB / 0.8975 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.066e-05/0.1674, allocations: 0 / 0.8975 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.57e-05/0.1675, allocations: 7.938 kB / 0.8975 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.1e-05/0.1675, allocations: 0 / 0.8975 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001775/0.1677, allocations: 31.91 kB / 0.8976 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.521e-05/0.1677, allocations: 20 kB / 0.8976 GB, free: 66.64 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.434e-05/0.1678, allocations: 11.92 kB / 0.8976 GB, free: 66.63 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.357e-05/0.1678, allocations: 11.92 kB / 0.8976 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.622e-05/0.1679, allocations: 7.984 kB / 0.8976 GB, free: 66.61 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.133e-05/0.1679, allocations: 4 kB / 0.8976 GB, free: 66.61 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.593e-05/0.168, allocations: 27.97 kB / 0.8977 GB, free: 66.58 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.258e-05/0.168, allocations: 15.88 kB / 0.8977 GB, free: 66.57 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.08e-05/0.168, allocations: 7.938 kB / 0.8977 GB, free: 66.56 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.487e-05/0.1681, allocations: 39.92 kB / 0.8977 GB, free: 66.52 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1681, allocations: 0 / 0.8977 GB, free: 66.52 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1681, allocations: 0 / 0.8977 GB, free: 66.52 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.947e-06/0.1681, allocations: 0 / 0.8977 GB, free: 66.52 MB / 0.6042 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.0003/0.1684, allocations: 335.6 kB / 0.898 GB, free: 66.14 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.1685, allocations: 12.03 kB / 0.898 GB, free: 66.13 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.176e-05/0.1685, allocations: 38.69 kB / 0.8981 GB, free: 66.08 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.15e-05/0.1685, allocations: 8.844 kB / 0.8981 GB, free: 66.07 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.873e-05/0.1686, allocations: 164.4 kB / 0.8983 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.434e-06/0.1686, allocations: 4.359 kB / 0.8983 GB, free: 65.87 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.396e-06/0.1686, allocations: 384 / 0.8983 GB, free: 65.87 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001453/0.1688, allocations: 50.25 kB / 0.8983 GB, free: 65.82 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.732e-06/0.1688, allocations: 3.938 kB / 0.8983 GB, free: 65.81 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.602e-06/0.1688, allocations: 8 kB / 0.8983 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.1688, allocations: 3.984 kB / 0.8983 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001483/0.169, allocations: 43.91 kB / 0.8984 GB, free: 65.76 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002189/0.1692, allocations: 252.9 kB / 0.8986 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001076/0.1693, allocations: 42.56 kB / 0.8986 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.655e-05/0.1694, allocations: 32.83 kB / 0.8987 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.955e-05/0.1695, allocations: 85.09 kB / 0.8988 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.374e-05/0.1695, allocations: 34.56 kB / 0.8988 GB, free: 65.23 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.623e-06/0.1695, allocations: 0 / 0.8988 GB, free: 65.23 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0002999/0.1698, allocations: 105.7 kB / 0.8989 GB, free: 65.12 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.191e-05/0.1698, allocations: 51.41 kB / 0.8989 GB, free: 65.06 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.49e-05/0.1699, allocations: 97.86 kB / 0.899 GB, free: 64.95 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.254e-06/0.1699, allocations: 25.7 kB / 0.8991 GB, free: 64.92 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.132e-05/0.1699, allocations: 88.05 kB / 0.8991 GB, free: 64.83 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.396e-05/0.17, allocations: 7.984 kB / 0.8991 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.846e-05/0.17, allocations: 9.719 kB / 0.8992 GB, free: 64.81 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.131e-05/0.17, allocations: 310.8 kB / 0.8995 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.496e-05/0.1701, allocations: 28.02 kB / 0.8995 GB, free: 64.47 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.682e-05/0.1702, allocations: 19.98 kB / 0.8995 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001361/0.1703, allocations: 56.81 kB / 0.8996 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.1703, allocations: 3.938 kB / 0.8996 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001647/0.1705, allocations: 85.56 kB / 0.8996 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.1705, allocations: 7.938 kB / 0.8996 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.1705, allocations: 4 kB / 0.8996 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.789e-06/0.1705, allocations: 0 / 0.8996 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.696e-05/0.1706, allocations: 8 kB / 0.8997 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.1706, allocations: 3.984 kB / 0.8997 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.282e-05/0.1707, allocations: 4 kB / 0.8997 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.1707, allocations: 7.969 kB / 0.8997 GB, free: 64.26 MB / 0.6042 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 3.809e-05/0.1707, allocations: 113.8 kB / 0.8998 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.154e-05/0.1708, allocations: 0 / 0.8998 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001916/0.171, allocations: 88.7 kB / 0.8999 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.171, allocations: 8.031 kB / 0.8999 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.171, allocations: 0 / 0.8999 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-06/0.171, allocations: 0 / 0.8999 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.731e-05/0.1711, allocations: 157.9 kB / 0.9 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1711, allocations: 4 kB / 0.9 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.113e-05/0.1711, allocations: 11.98 kB / 0.9 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.1712, allocations: 0 / 0.9 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.1712, allocations: 4 kB / 0.9 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1712, allocations: 0 / 0.9 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1712, allocations: 4 kB / 0.9 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001784/0.1714, allocations: 175.4 kB / 0.9002 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.404e-05/0.1714, allocations: 81.02 kB / 0.9003 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.133e-05/0.1714, allocations: 8.031 kB / 0.9003 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.912e-05/0.1715, allocations: 7.984 kB / 0.9003 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.109e-05/0.1715, allocations: 0 / 0.9003 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.1715, allocations: 4 kB / 0.9003 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.945e-05/0.1715, allocations: 87.27 kB / 0.9004 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9e-08/0.1716, allocations: 0 / 0.9004 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001978/0.1718, allocations: 8 kB / 0.9004 GB, free: 63.42 MB / 0.6042 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.0003486/0.1721, allocations: 0.7124 MB / 0.9011 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001778/0.1723, allocations: 55.92 kB / 0.9011 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1723, allocations: 0 / 0.9011 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.812e-05/0.1724, allocations: 24.05 kB / 0.9012 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002257/0.1726, allocations: 9.094 kB / 0.9012 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003187/0.1729, allocations: 148.9 kB / 0.9013 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.649e-05/0.173, allocations: 0.6731 MB / 0.902 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.057e-05/0.1731, allocations: 7.891 kB / 0.902 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.183e-05/0.1731, allocations: 7.438 kB / 0.902 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of SimCode: time 3.1e-07/0.1731, allocations: 3.938 kB / 0.902 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009576/0.1827, allocations: 1.203 MB / 0.9032 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001216/0.1828, allocations: 208.8 kB / 0.9034 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.481/1.664, allocations: 3.938 kB / 0.9034 GB, free: 60.37 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_SmoothExponential_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_SmoothExponential.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)