Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.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.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",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.0008108/0.0008108, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.004575/0.004575, allocations: 170.6 kB / 16.26 MB, free: 6.613 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.157/1.157, allocations: 223.3 MB / 240.3 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001574/0.001574, allocations: 278.5 kB / 291.7 MB, free: 1.91 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8277/0.8277, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000361/0.000361, allocations: 17.06 kB / 0.5988 GB, free: 27.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1297, allocations: 88.54 MB / 0.6852 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.0006251/0.1304, allocations: 319.4 kB / 0.6855 GB, free: 14.65 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003739/0.1308, allocations: 177.4 kB / 0.6857 GB, free: 14.48 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.178e-05/0.1308, allocations: 0 / 0.6857 GB, free: 14.48 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.106e-05/0.1308, allocations: 0 / 0.6857 GB, free: 14.48 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 1.98e-05/0.1308, allocations: 0 / 0.6857 GB, free: 14.48 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000219/0.1311, allocations: 31.91 kB / 0.6857 GB, free: 14.45 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.047e-05/0.1311, allocations: 15.98 kB / 0.6858 GB, free: 14.43 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.105e-05/0.1312, allocations: 0.5 kB / 0.6858 GB, free: 14.43 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.9e-05/0.1312, allocations: 8.781 kB / 0.6858 GB, free: 14.42 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.918e-05/0.1312, allocations: 7.969 kB / 0.6858 GB, free: 14.41 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.139e-05/0.1312, allocations: 4.75 kB / 0.6858 GB, free: 14.41 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.477e-05/0.1313, allocations: 31.97 kB / 0.6858 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.168e-05/0.1313, allocations: 5.188 kB / 0.6858 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.879e-05/0.1314, allocations: 33.62 kB / 0.6859 GB, free: 14.34 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.16e-05/0.1315, allocations: 35.89 kB / 0.6859 GB, free: 14.3 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.1315, allocations: 0.5625 kB / 0.6859 GB, free: 14.3 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1315, allocations: 0 / 0.6859 GB, free: 14.3 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.016e-06/0.1315, allocations: 1.344 kB / 0.6859 GB, free: 14.3 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002893/0.1318, allocations: 331.8 kB / 0.6862 GB, free: 13.93 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.1318, allocations: 9.406 kB / 0.6862 GB, free: 13.92 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.934e-05/0.1318, allocations: 34.73 kB / 0.6862 GB, free: 13.88 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.967e-05/0.1319, allocations: 4.938 kB / 0.6863 GB, free: 13.87 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.182e-05/0.132, allocations: 169.8 kB / 0.6864 GB, free: 13.67 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.586e-06/0.132, allocations: 4.375 kB / 0.6864 GB, free: 13.66 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.623e-05/0.132, allocations: 4.375 kB / 0.6864 GB, free: 13.66 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.27e-05/0.1321, allocations: 45.22 kB / 0.6865 GB, free: 13.61 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.082e-06/0.1321, allocations: 3.938 kB / 0.6865 GB, free: 13.61 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.732e-06/0.1321, allocations: 0 / 0.6865 GB, free: 13.61 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.407e-06/0.1321, allocations: 0 / 0.6865 GB, free: 13.61 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.728e-05/0.1322, allocations: 15.98 kB / 0.6865 GB, free: 13.59 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001361/0.1323, allocations: 161.6 kB / 0.6866 GB, free: 13.39 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.393e-05/0.1324, allocations: 47.06 kB / 0.6867 GB, free: 13.33 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.854e-05/0.1324, allocations: 17.48 kB / 0.6867 GB, free: 13.31 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.157e-05/0.1325, allocations: 81.61 kB / 0.6868 GB, free: 13.21 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.1325, allocations: 39.33 kB / 0.6868 GB, free: 13.17 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 9.81e-07/0.1325, allocations: 1.875 kB / 0.6868 GB, free: 13.17 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.00105/0.1336, allocations: 493.6 kB / 0.6873 GB, free: 12.62 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.889e-05/0.1336, allocations: 55.34 kB / 0.6873 GB, free: 12.55 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.36e-05/0.1337, allocations: 93.86 kB / 0.6874 GB, free: 12.45 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.242e-05/0.1337, allocations: 25.7 kB / 0.6875 GB, free: 12.42 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.46e-05/0.1337, allocations: 82.2 kB / 0.6875 GB, free: 12.34 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.539e-05/0.1338, allocations: 27.64 kB / 0.6876 GB, free: 12.31 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.348e-05/0.1338, allocations: 17.72 kB / 0.6876 GB, free: 12.29 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.957e-05/0.1339, allocations: 310.8 kB / 0.6879 GB, free: 11.97 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.516e-05/0.1339, allocations: 20.55 kB / 0.6879 GB, free: 11.95 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.071e-05/0.134, allocations: 12 kB / 0.6879 GB, free: 11.94 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.517e-05/0.134, allocations: 33.56 kB / 0.6879 GB, free: 11.91 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.134, allocations: 0.875 kB / 0.6879 GB, free: 11.91 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001/0.1341, allocations: 77.61 kB / 0.688 GB, free: 11.82 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.348e-06/0.1342, allocations: 7.938 kB / 0.688 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.926e-06/0.1342, allocations: 0.625 kB / 0.688 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.173e-06/0.1342, allocations: 1.312 kB / 0.688 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.523e-05/0.1342, allocations: 12 kB / 0.688 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.1343, allocations: 4.297 kB / 0.688 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.046e-05/0.1343, allocations: 0.75 kB / 0.688 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.1343, allocations: 4 kB / 0.688 GB, free: 11.8 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 (8): * Single equations (assignments): 8 * 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.587e-05/0.1344, allocations: 115.3 kB / 0.6881 GB, free: 11.68 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.213e-05/0.1344, allocations: 11.84 kB / 0.6882 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001407/0.1345, allocations: 85.56 kB / 0.6882 GB, free: 11.57 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.1345, allocations: 4 kB / 0.6882 GB, free: 11.57 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.1346, allocations: 448 / 0.6882 GB, free: 11.57 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.1346, allocations: 0 / 0.6882 GB, free: 11.57 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000104/0.1347, allocations: 165.6 kB / 0.6884 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1347, allocations: 7.938 kB / 0.6884 GB, free: 11.35 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.406e-05/0.1348, allocations: 23.94 kB / 0.6884 GB, free: 11.33 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1348, allocations: 0 / 0.6884 GB, free: 11.33 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-06/0.1348, allocations: 0 / 0.6884 GB, free: 11.33 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1348, allocations: 0 / 0.6884 GB, free: 11.33 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1348, allocations: 0 / 0.6884 GB, free: 11.33 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001466/0.1349, allocations: 117 kB / 0.6885 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.808e-05/0.135, allocations: 88.94 kB / 0.6886 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.196e-05/0.135, allocations: 4 kB / 0.6886 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.048e-05/0.1351, allocations: 8.094 kB / 0.6886 GB, free: 11.08 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.166e-05/0.1351, allocations: 0 / 0.6886 GB, free: 11.08 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.082e-06/0.1351, allocations: 4 kB / 0.6886 GB, free: 11.07 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.597e-05/0.1351, allocations: 79.27 kB / 0.6887 GB, free: 11 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1351, allocations: 0 / 0.6887 GB, free: 11 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001955/0.1353, allocations: 32 kB / 0.6888 GB, free: 10.96 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (8): * Single equations (assignments): 8 * 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.0004344/0.1358, allocations: 0.6827 MB / 0.6894 GB, free: 10.25 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.066e-05/0.1358, allocations: 35.98 kB / 0.6895 GB, free: 10.22 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.614e-06/0.1359, allocations: 0 / 0.6895 GB, free: 10.22 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.144e-05/0.1359, allocations: 27.92 kB / 0.6895 GB, free: 10.19 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001255/0.136, allocations: 8 kB / 0.6895 GB, free: 10.18 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008491/0.1369, allocations: 1.2 MB / 0.6907 GB, free: 8.906 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002021/0.1371, allocations: 0.681 MB / 0.6913 GB, free: 8.199 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.318e-05/0.1371, allocations: 19.97 kB / 0.6913 GB, free: 8.18 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.678e-05/0.1372, allocations: 11.44 kB / 0.6914 GB, free: 8.168 MB / 494.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1372, allocations: 0 / 0.6914 GB, free: 8.168 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6208/0.758, allocations: 1.621 MB / 0.6929 GB, free: 6.766 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002077/0.7582, allocations: 249.3 kB / 0.6932 GB, free: 6.508 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.89/2.648, allocations: 3.938 kB / 0.6932 GB, free: 6.504 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)