Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.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.SmoothMin,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.SmoothMin,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothMin",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.001066/0.00107, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001214/0.001214, allocations: 192.4 kB / 16.25 MB, free: 6.629 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.268/1.268, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001868/0.001868, allocations: 278.7 kB / 290.3 MB, free: 2.152 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8606/0.8606, allocations: 169.2 MB / 0.4978 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 97.08 kB / 0.5948 GB, free: 28.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1221, allocations: 86.97 MB / 0.6797 GB, free: 0.9805 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothMin): time 0.002064/0.1242, allocations: 1.521 MB / 0.6812 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002878/0.1245, allocations: 140.4 kB / 0.6814 GB, free: 15.32 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.38e-05/0.1246, allocations: 0 / 0.6814 GB, free: 15.32 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.726e-05/0.1246, allocations: 3.938 kB / 0.6814 GB, free: 15.31 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.631e-05/0.1247, allocations: 0 / 0.6814 GB, free: 15.31 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001685/0.1248, allocations: 35.91 kB / 0.6814 GB, free: 15.28 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.361e-05/0.1249, allocations: 47.84 kB / 0.6814 GB, free: 15.23 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.015e-05/0.125, allocations: 20.22 kB / 0.6815 GB, free: 15.21 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.245e-05/0.1251, allocations: 19.92 kB / 0.6815 GB, free: 15.19 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.418e-05/0.1251, allocations: 23.91 kB / 0.6815 GB, free: 15.17 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.045e-05/0.1251, allocations: 4 kB / 0.6815 GB, free: 15.16 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.912e-05/0.1252, allocations: 35.97 kB / 0.6815 GB, free: 15.13 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.291e-05/0.1252, allocations: 4 kB / 0.6815 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.54e-05/0.1252, allocations: 19.86 kB / 0.6816 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.889e-05/0.1253, allocations: 63.86 kB / 0.6816 GB, free: 15.04 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.534e-06/0.1253, allocations: 0 / 0.6816 GB, free: 15.04 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.1254, allocations: 4 kB / 0.6816 GB, free: 15.04 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.1254, allocations: 3.938 kB / 0.6816 GB, free: 15.04 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003528/0.1257, allocations: 359.4 kB / 0.682 GB, free: 14.63 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.925e-05/0.1258, allocations: 8.031 kB / 0.682 GB, free: 14.62 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.093e-05/0.1258, allocations: 34.75 kB / 0.682 GB, free: 14.58 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009339/0.1267, allocations: 212.5 kB / 0.6822 GB, free: 14.38 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.306e-05/0.1268, allocations: 168.4 kB / 0.6824 GB, free: 14.17 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.005e-06/0.1268, allocations: 8.375 kB / 0.6824 GB, free: 14.16 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.307e-05/0.1269, allocations: 384 / 0.6824 GB, free: 14.16 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004684/0.1273, allocations: 198 kB / 0.6826 GB, free: 13.96 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.633e-06/0.1273, allocations: 3.938 kB / 0.6826 GB, free: 13.96 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.1274, allocations: 0 / 0.6826 GB, free: 13.96 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.576e-06/0.1274, allocations: 0 / 0.6826 GB, free: 13.96 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007149/0.1281, allocations: 283.6 kB / 0.6828 GB, free: 13.68 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007416/0.1288, allocations: 445.2 kB / 0.6833 GB, free: 13.2 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000955/0.1298, allocations: 294.1 kB / 0.6835 GB, free: 12.9 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002992/0.1301, allocations: 96.8 kB / 0.6836 GB, free: 12.8 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/0.1301, allocations: 0 / 0.6836 GB, free: 12.8 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.84e-05/0.1302, allocations: 30.56 kB / 0.6837 GB, free: 12.77 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 8.51e-07/0.1302, allocations: 0 / 0.6837 GB, free: 12.77 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0009784/0.1312, allocations: 317.2 kB / 0.684 GB, free: 12.45 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.751e-05/0.1312, allocations: 55.41 kB / 0.684 GB, free: 12.38 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.444e-05/0.1313, allocations: 125.8 kB / 0.6841 GB, free: 12.25 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.1313, allocations: 25.7 kB / 0.6842 GB, free: 12.22 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.422e-05/0.1313, allocations: 88.14 kB / 0.6843 GB, free: 12.13 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.904e-05/0.1314, allocations: 11.81 kB / 0.6843 GB, free: 12.12 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.758e-05/0.1314, allocations: 17.7 kB / 0.6843 GB, free: 12.09 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8e-05/0.1315, allocations: 318.8 kB / 0.6846 GB, free: 11.77 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003124/0.1318, allocations: 99.86 kB / 0.6847 GB, free: 11.68 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002986/0.1321, allocations: 95.88 kB / 0.6848 GB, free: 11.58 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005615/0.1327, allocations: 176.6 kB / 0.6849 GB, free: 11.41 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1327, allocations: 0 / 0.6849 GB, free: 11.41 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006242/0.1333, allocations: 209.7 kB / 0.6851 GB, free: 11.2 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.1333, allocations: 8 kB / 0.6851 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-06/0.1334, allocations: 4 kB / 0.6852 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.356e-06/0.1334, allocations: 0 / 0.6852 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002214/0.1336, allocations: 35.94 kB / 0.6852 GB, free: 11.15 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.1336, allocations: 0 / 0.6852 GB, free: 11.15 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001753/0.1338, allocations: 27.95 kB / 0.6852 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.1338, allocations: 7.984 kB / 0.6852 GB, free: 11.11 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 (3): * Single equations (assignments): 3 * 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.88e-05/0.1339, allocations: 122.4 kB / 0.6853 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.807e-05/0.1339, allocations: 3.906 kB / 0.6853 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.53e-05/0.1339, allocations: 11.91 kB / 0.6854 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.134, allocations: 0 / 0.6854 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.134, allocations: 0 / 0.6854 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.903e-06/0.134, allocations: 0 / 0.6854 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001802/0.1342, allocations: 209.5 kB / 0.6856 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1342, allocations: 0 / 0.6856 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002116/0.1344, allocations: 39.94 kB / 0.6856 GB, free: 10.67 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1344, allocations: 0 / 0.6856 GB, free: 10.67 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.1344, allocations: 0 / 0.6856 GB, free: 10.67 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.1344, allocations: 4 kB / 0.6856 GB, free: 10.67 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1344, allocations: 0 / 0.6856 GB, free: 10.67 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006544/0.1351, allocations: 319.1 kB / 0.6859 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.97e-05/0.1351, allocations: 85.09 kB / 0.686 GB, free: 10.24 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.843e-05/0.1351, allocations: 4.375 kB / 0.686 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002038/0.1353, allocations: 27.95 kB / 0.686 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.237e-05/0.1354, allocations: 0 / 0.686 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.1354, allocations: 0 / 0.686 GB, free: 10.21 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.193e-05/0.1354, allocations: 103.2 kB / 0.6861 GB, free: 10.11 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1354, allocations: 0 / 0.6861 GB, free: 10.11 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002154/0.1357, allocations: 23.88 kB / 0.6861 GB, free: 10.08 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 (3): * Single equations (assignments): 3 * 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.0008521/0.1365, allocations: 0.841 MB / 0.687 GB, free: 9.215 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006215/0.1371, allocations: 195.7 kB / 0.6871 GB, free: 9.023 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1372, allocations: 7.938 kB / 0.6871 GB, free: 9.016 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002989/0.1375, allocations: 103.8 kB / 0.6872 GB, free: 8.914 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002085/0.1377, allocations: 0 / 0.6872 GB, free: 8.914 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002792/0.1405, allocations: 1.846 MB / 0.689 GB, free: 6.988 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001902/0.1407, allocations: 0.6846 MB / 0.6897 GB, free: 6.277 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.588e-05/0.1408, allocations: 19.98 kB / 0.6897 GB, free: 6.258 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.723e-05/0.1408, allocations: 19.42 kB / 0.6898 GB, free: 6.238 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1408, allocations: 0 / 0.6898 GB, free: 6.238 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.447/1.588, allocations: 1.804 MB / 0.6915 GB, free: 4.555 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000218/1.588, allocations: 206.5 kB / 0.6917 GB, free: 4.297 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.628/3.217, allocations: 7.938 kB / 0.6917 GB, free: 4.289 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothMin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothMin.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe 2>&1)