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.001009/0.001008, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.006227/0.006227, allocations: 170.6 kB / 16.27 MB, free: 6.648 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.276/1.276, allocations: 223.2 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001762/0.001762, allocations: 270.5 kB / 291.7 MB, free: 1.855 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8437/0.8437, allocations: 169.5 MB / 0.5004 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003592/0.0003592, allocations: 15.27 kB / 0.5988 GB, free: 28.08 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1204, allocations: 88.55 MB / 0.6852 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothExponential): time 0.001211/0.1217, allocations: 1.153 MB / 0.6864 GB, free: 13.8 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003572/0.122, allocations: 198.8 kB / 0.6866 GB, free: 13.6 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.748e-05/0.1221, allocations: 0 / 0.6866 GB, free: 13.6 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.723e-05/0.1221, allocations: 7.922 kB / 0.6866 GB, free: 13.59 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.831e-05/0.1221, allocations: 3.984 kB / 0.6866 GB, free: 13.59 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001687/0.1223, allocations: 19.98 kB / 0.6866 GB, free: 13.57 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.762e-05/0.1224, allocations: 24.42 kB / 0.6866 GB, free: 13.55 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.327e-05/0.1224, allocations: 5.188 kB / 0.6866 GB, free: 13.54 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.247e-05/0.1225, allocations: 11.92 kB / 0.6866 GB, free: 13.53 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.74e-05/0.1225, allocations: 11.94 kB / 0.6866 GB, free: 13.52 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.096e-05/0.1225, allocations: 4.547 kB / 0.6866 GB, free: 13.52 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.955e-05/0.1226, allocations: 31.97 kB / 0.6867 GB, free: 13.48 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.135e-05/0.1226, allocations: 8.953 kB / 0.6867 GB, free: 13.48 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.029e-05/0.1227, allocations: 33.64 kB / 0.6867 GB, free: 13.44 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.571e-05/0.1228, allocations: 41.75 kB / 0.6867 GB, free: 13.4 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.1228, allocations: 11.92 kB / 0.6868 GB, free: 13.39 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1228, allocations: 0 / 0.6868 GB, free: 13.39 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.026e-06/0.1228, allocations: 0 / 0.6868 GB, free: 13.39 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003275/0.1231, allocations: 344 kB / 0.6871 GB, free: 13 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.1232, allocations: 12.03 kB / 0.6871 GB, free: 12.99 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.712e-05/0.1232, allocations: 30.75 kB / 0.6871 GB, free: 12.95 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.807e-05/0.1232, allocations: 4.844 kB / 0.6871 GB, free: 12.95 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.752e-05/0.1233, allocations: 164.4 kB / 0.6873 GB, free: 12.75 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.434e-06/0.1233, allocations: 384 / 0.6873 GB, free: 12.75 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.893e-06/0.1233, allocations: 384 / 0.6873 GB, free: 12.75 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001489/0.1235, allocations: 59.31 kB / 0.6873 GB, free: 12.69 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.1235, allocations: 3.938 kB / 0.6873 GB, free: 12.68 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.483e-06/0.1235, allocations: 2.25 kB / 0.6874 GB, free: 12.68 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.1235, allocations: 0 / 0.6874 GB, free: 12.68 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001648/0.1237, allocations: 53.14 kB / 0.6874 GB, free: 12.63 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002552/0.1239, allocations: 247 kB / 0.6876 GB, free: 12.34 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001188/0.1241, allocations: 48.98 kB / 0.6877 GB, free: 12.29 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.391e-05/0.1242, allocations: 24.91 kB / 0.6877 GB, free: 12.26 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.547e-05/0.1242, allocations: 77.11 kB / 0.6878 GB, free: 12.17 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.713e-05/0.1243, allocations: 39.34 kB / 0.6878 GB, free: 12.12 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.1243, allocations: 1.719 kB / 0.6878 GB, free: 12.12 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003276/0.1246, allocations: 100.7 kB / 0.6879 GB, free: 12.02 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.567e-05/0.1246, allocations: 51.41 kB / 0.688 GB, free: 11.96 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.975e-05/0.1247, allocations: 106.8 kB / 0.6881 GB, free: 11.84 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.1247, allocations: 25.7 kB / 0.6881 GB, free: 11.81 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.155e-05/0.1248, allocations: 84.27 kB / 0.6882 GB, free: 11.73 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.599e-05/0.1248, allocations: 15.84 kB / 0.6882 GB, free: 11.71 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.892e-05/0.1248, allocations: 9.719 kB / 0.6882 GB, free: 11.7 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.997e-05/0.1249, allocations: 318.8 kB / 0.6885 GB, free: 11.38 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.108e-05/0.125, allocations: 19.98 kB / 0.6885 GB, free: 11.36 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.501e-05/0.1251, allocations: 23.98 kB / 0.6885 GB, free: 11.33 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001496/0.1252, allocations: 56.75 kB / 0.6886 GB, free: 11.27 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.1252, allocations: 3.938 kB / 0.6886 GB, free: 11.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000185/0.1254, allocations: 77.67 kB / 0.6887 GB, free: 11.19 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.1254, allocations: 4 kB / 0.6887 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.1254, allocations: 0 / 0.6887 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.825e-06/0.1255, allocations: 0 / 0.6887 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.952e-05/0.1255, allocations: 11.98 kB / 0.6887 GB, free: 11.17 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/0.1256, allocations: 8.031 kB / 0.6887 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.542e-05/0.1256, allocations: 11.92 kB / 0.6887 GB, free: 11.15 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-06/0.1256, allocations: 0 / 0.6887 GB, free: 11.15 MB / 494.1 MB 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.148e-05/0.1257, allocations: 118.4 kB / 0.6888 GB, free: 11.03 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.056e-05/0.1257, allocations: 0 / 0.6888 GB, free: 11.03 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002218/0.1259, allocations: 88.72 kB / 0.6889 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1259, allocations: 0 / 0.6889 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.126, allocations: 0 / 0.6889 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.126, allocations: 256 / 0.6889 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000129/0.1261, allocations: 165.6 kB / 0.6891 GB, free: 10.72 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1261, allocations: 4 kB / 0.6891 GB, free: 10.72 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.506e-05/0.1262, allocations: 11.98 kB / 0.6891 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1262, allocations: 4.031 kB / 0.6891 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.939e-06/0.1262, allocations: 0 / 0.6891 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.1262, allocations: 0 / 0.6891 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1262, allocations: 0 / 0.6891 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002307/0.1264, allocations: 187.3 kB / 0.6893 GB, free: 10.5 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.731e-05/0.1265, allocations: 77.11 kB / 0.6893 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.808e-06/0.1265, allocations: 0 / 0.6893 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.589e-05/0.1266, allocations: 11.98 kB / 0.6893 GB, free: 10.4 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.647e-05/0.1266, allocations: 0 / 0.6893 GB, free: 10.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-06/0.1266, allocations: 0 / 0.6893 GB, free: 10.4 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.869e-05/0.1266, allocations: 83.27 kB / 0.6894 GB, free: 10.32 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1266, allocations: 4.031 kB / 0.6894 GB, free: 10.31 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002083/0.1269, allocations: 20 kB / 0.6895 GB, free: 10.29 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 (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.0004507/0.1273, allocations: 0.7085 MB / 0.6901 GB, free: 9.555 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001864/0.1275, allocations: 51.89 kB / 0.6902 GB, free: 9.504 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.1275, allocations: 0 / 0.6902 GB, free: 9.504 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.238e-05/0.1276, allocations: 24.08 kB / 0.6902 GB, free: 9.48 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000226/0.1278, allocations: 8 kB / 0.6902 GB, free: 9.473 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003228/0.1282, allocations: 142.2 kB / 0.6904 GB, free: 9.297 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001801/0.1284, allocations: 0.6809 MB / 0.691 GB, free: 8.59 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.875e-05/0.1284, allocations: 4.062 kB / 0.691 GB, free: 8.586 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.43e-05/0.1284, allocations: 11.44 kB / 0.691 GB, free: 8.574 MB / 494.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1284, allocations: 0 / 0.691 GB, free: 8.574 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4747/0.6031, allocations: 1.199 MB / 0.6922 GB, free: 7.52 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004892/0.6036, allocations: 208.7 kB / 0.6924 GB, free: 7.266 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.644/2.248, allocations: 0 / 0.6924 GB, free: 7.266 MB / 494.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothExponential_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothExponential.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)